Structuring Programs

These steps outline the main structural components of most application programs that access an ActiveSpaces data grid. The steps assume that a table has already been configured for the data grid. When updating and querying data in ActiveSpaces, you can use Table objects or Statement objects or both in your application. Table objects provide a key/value interface to the data grid and Statement objects provide a SQL interface to the data grid.

An Overview of the Tasks

The following procedure summarizes the tasks ActiveSpaces application programs perform.

Procedure

  1. Initialize the ActiveSpaces objects as listed in Task A Initializing ActiveSpaces Objects.
  2. On a specific table in the data grid, perform the appropriate operations as listed in Task B Performing Date Grid Operations .
  3. After you are done, clean up the objects as listed in Task C Cleaning up and Closing the Connection.