AbilitiesStoryThe Monastery of AgesValueIndexLibrary
[ First Topic | Previous Topic | Next Topic | Last Topic | Index | Library ]

Table Table

The Database Model
A table is a type of object stored in a database. Each table object is divided into rows (also called records) and columns (also called fields). Each row represents a single instance of an object, and each column represents the persistent properties associated with each instance. The intersection of each row and column is used to store a single value of a single persistent property within a single object instance.

Access to database tables from within MUDzilla is accomplished using the TMZTable abstract object. The TMZTable object contains properties and methods for connecting persistent properties to their matching values within the rows and columns of a database table.

Within a MUDzilla database, a special collection of tables is used to define the working object model for the simulation. Called the MUDzilla Class Library (MCL), this set of objects describes the behavior of all objects within the simulation. In database terminology, the MUDzilla Class Library is referred to as a data dictionary. Using SQL query techniques, complex reports can be generated using the data within the MCL.

One such application is the MUDzilla Object Profiler, the tool used to maintain the MCL, and it contains reports for creating customized documentation, SQL scripts, and even Object PASCAL code. The Object Profiler uses the TObject.ClassName property to distinguish each object within the MCL. There is a many-to-one correspondence between an object's ClassName, and its underlying database table. Other tables exist for storing information regarding properties, property values, methods, class groups, and object types.

See Also See Also:


AbilitiesStoryThe Monastery of AgesValueIndexLibrary
[ First Topic | Previous Topic | Next Topic | Last Topic | Index | Library ]


The MUDzilla Simulation System
Please e-mail us your comments and inquiries.
© 1994-2002 Myne Corporation

Myne Corporation