Hello Albel,
Thanks for your input! I see things this way:
The programming language dBL of current dBASE (called dB2K) is a very modern object oriented language. It was originally created at Borland in early 1990's. After that, some of those people created JavaScript at Netscape and the dBASE team created Intrabuilder at Borland/Inprise. That's why those three programming languages or tools are very similar. However, dBL is more comprehensive than JavaScript.
dBL also understands the commands of xBASE Data Manipulation Language (xDML) that was used in earlier versions of dBASE. It is no more the native language of current dBASE but the most important commands and functions are mapped there for backward compatibility.
The dBL language is written in Microsoft C++. So the code will finally be similar as if you had written it directly in C++. But dBASE (or dB2K) is a higher level of programming tool which mean in practice that also one-man shops can produce large reliable applications. That's because millions of dollars have been invested to create reusable high level functions, particularly for database applications. Actually each command or function of dBASE is a C++ program.
For more information, please visit www.dbase.com. I hope you get interested, too.
I think if this project will be made using such environments as dbase.It will be soon or later dead because of spaghetti code which occures when using such languages.Or you must use design patterns such as MVC(model view controller) and normal languages such Java or C++
See also: dUFLP/dHUNG Coding Standards and Conventions, version 1.2 of 5-Aug-1994. (9 pages, RTF file, 49 kB).
Source: A message of S. Betcher on "dbase.binaries" of "news.dbase2000.com", 6-Jul-99.
The Hungarian Notation
as posted by Tod Kreuter to NG "dbase.open-source.accounting" of "news.dbase2000.com" on 2-Jul-99:
Quote:
I don't know if there is an official list. Here are some I use, not sure how standard these are....
VARIABLES
l logical, Boolean c character n numeric a array d date
CONTROLS
m form ct container nb notebook rt rectangle ef entryfield et editor t text rb RadioButton ob ComboBox cb CheckBox sb SpinBox lb ListBox tv TreeView ti TreeItem pb PushButton g Grid o Generic Object
DATAOBJECTS
dm datamodule db database q query r rowset f fields
Dan Howard posted to NG "dbase.open-source.accounting" of "news.dbase2000.com" on 1-Jul-99:
Quote:
The following standards should be agreed upon as far as coding.
1) Notation Style
2) Comment formats/rules
3) Rules for variable declarations
1) We should use a form of Hungarian notation i.e.. to precedes each variable with a letter signifying it's type.
2) Everything should be commented.
3) Locals should be used and a formal method of declaration should also be used. i.e..
function Whatever
local a,b,c
store 0 to a,b,c
return
This is unless we need typing and/or macros. Then we should use private.
Publics should generally be a no-no.
Also we should use no-tabs in the code (spaces instead) since it can cause formatting chaos.