Go AVDN
Lesson: Introduction
Introduction

TheObjectBase is an object oriented database management system featuring the Object-Relation-Kin Model , which is a relational data model that expressed in general purpose object oriented languages and regards behaviors as well as data.

In TOB, persistent objects are managed with their inter-connections represented by relation objects . Relation objects are a special kind of persistent objects those tie other objects together with their Tie fields. And the objects tied together by a relation object can reach eachothers via Kin or KinSet fields defined for them. Thus inter-connected objects form object graphs, where from one object, its directly or indirectly related objects can be traversed through these fields as direct object references.

TOB automatically performs translations between in-memory object graphs and object states data permanently stored in tables, through its configured Swap Engine . So persistence applications just create and manipulate object graphs regardless of permanent storage. Even after system restarts, the object graphs appear to applications as if they are still there ready for direct manipulations.

TOB naturally supports Hosting Based Interfacing for remote database access. That is, distributed clients send executable Task Agent objects to the database server to be executed inside the server environment which contains persistent object graphs for direct access. And a Task Agent object send its results back, after execution, to its originating client. This is similar to conventional relational databases those accept SQL commands from distributed clients to be executed at the server side and send results back, where Task Agents are just data and code combined in form of objects than SQL commands as pure textual scripts.

A HelloWorld Program

This is a simplest persistence program based on TOB, just count the times 'Hello' is said, as a persistent attribute.