The Server is responsible for the management of the data-store instances and processing the Client requests.
The database instances are work areas that contain system information (user table, groups table, permission table, system objects, etc...) and user created data.
To open a work session the client must specify the instance it wants to connect to on a specified server, a login and a password.
Once the server has verified the correctness of the user details it opens a session in which the following public objects are created:

  • globalObject
  • localObject
  • session
  • dbSession


The object globalObject is a key value collection that the client can use to store instance long objects. All objects stored in globalObject are visible from all clients sharing the instance.
The object localObject is a key value collection that the client can use to store session long objects.
The session object contains information regarding the session.
The dbSession object takes care of database access thru two main classes:

  • Table
  • View


The table class is a cursor on a db table on which can be used to read, edit, update or erase data. There are two methods for browsing the data and other for manipulation.
This class also manages the transactions, user permissions, writes the operations log
and takes charge of the concurrency on records.
The view class also allows you to interact with the db, creating relations between the tables, filtering and ordering them according to user choices.  The data is stored in a matrix so you can access any data recalling it by column and row.

Last updatedThursday, 18 November 2010 16:35