The sesLib home page.
Download the sesLib
version for Delphi 5.
Size is ~ 1 Mb zipped and ~3.5 Mb unzipped.
The page Contents.
|4||What is ses?|
The sesLib technology consists of the two
the first, native Delphi VCL components: TsesEdit, TsesLogger, TsesDataSet;
the second, the used method of the data processing.
The SES basic principles include the following postulates.
Postulate 1. Any component contains a minimum one mistake.
Effect 1. The less number of components you use, the better your programs work.
Effect 2. The program written by you without using any components will contain only your own mistakes.
Effect 3. Don't use a component without its source code, because you will not have the possibility to enter your own mistakes into its work.
Effect 4. The sesLib consists of only one editor component TsesEdit with full source code. See Effect 3.
Postulate 2. The true programmer should never rely on the Database input control,
instead, this one must believe, that all entered by his users errors will be stored to the
SQL server database without any exceptions or warnings or, instead, with its tremendous
Effect 1. The better the Database designer knows the theory of the relational algedraic operations, the more is probability for the user to get a message, for example, "Unknown field of the unknown table is not corresponded the foreign key of something...".
Effect 2. Never desert your user alone with the carefully thought-out SQL server messages, because the not entered user's data may become necessary. May be soon...
Effect 3. You should try to make the maximum amount of data control, as possible, on the user's desktop before any writing to a database.
Effect 4. The TsesEdit introduces the full tool set to produce the all kind of data control.
Postulate 3. The less is the time gap, while your code really modifies the Database, the more is the probability to have the valid Database data.
The effect is described by the following data flow diagram. See also demo BDE_sesEdit_Sample to more details
The first, the data flow has the only one fraught with danger interval during the really update process within a single dataset's record.
The second, the main center of the data editing actions is placed on the TsesLogger TsesEdits group, where we must provide the highest possible efforts to prevent the entering of invalid data to the external database.To learn more the sesLib capabilities and practical examples see the attached samples.
Use TsesEdit as a base control to create "
The key features of the TsesEdit are listed below:
I. by if-Required-nonEmpty-level control;
II. by low-level key pressing control;
III. by data-format-level control;
IV. by data-range-level control;
V. by data-in-PickList-level control;
VI. by data-User handler-level control.
A. The memory-oriented types, such as Standard(one key field), CodeCaption(one key field plus field's description for a user); Grid(one key field with some descripting fields).
B. The database-oriented type DataSet.
TsesLogger has been designed for two main goals:
1. introduce a tool to create group edits, which are linked together to centralize source program code managing the all edit operations.
2. restore in edit practice the good idea to log changes to external file with ability to retrieve these values and to introduce these ones for user.
TsesLogger works tightly with TsesEdit.
In design-time you should link all grouped TsesEdit with a sesLogger, sets the edits corresponding properties, that is all!
You will get the ability to log your data and, then shows they your user.
TsesDataSet introduces external file/memory text strings manager.
It is a native descendant of TDataSet and may be used with all data-aware controls, which are able to link with TDataSource.
TsesDataSet does not require BDE or ADO using.
There are two typical using of a TsesDataSet.
The first, you may replace TStringGrid by the most powerful component DBGrid and it's descendants. Be free to design columns and titles, to fill data into grid in design-time with full possibility of saving your work by standard Delphi designer. Also, you can manipulate rows and columns as records and fields of usual dataset in run-time: append, insert, edit, etc. operations.
The second, you may need to use TsesDataSet as pure memory dataset with ability to execute usual dataset operations with additional Seek and Sort.
|Download status||Freeware, source included.|
source sesLib.rtf included.
|The current product version||1.0.|
|The working environment||Borland Delphi 5.|
|Tested in||MS Windows 95',98',NT,2000.|
|The help&comments& descriptions language||English.|
|The way to localize the user's message of the sesLib components||use sesStrings.pas to translate the all text messages to a local language.|
|The sesLib author:|