### SPM 1.2

SPM Small Persistence Manager, is a tool that allows you to persist objects created by Smalltalk. SPM stores and retrieves most kinds of Smalltalk objects.

A typical problem working with Smalltalk is that all objects are available in memory only. There is no persistence mechanism provided with Smalltalk. So a user usually has no way to store objects somehow organized without using an expensive database system. The SPM classes enable object storage, object retrieval and other object administration services within a Smalltalk application. The objects are administered via a flat file system. SPM was derived from VC Software's ODBMS.

#### Persistency Functions

The main object in SPM is a Persistence Manager which has the following functions:

- Database Management {createDatabase, closeDatabase, condenseDatabase, setDatabase}

- Object Management {create, createWithAlias, loadWithID, remove, store, storeWtihAlias, undeleteWithID retrieveObject}

Using these functions most Smalltalk objects can made persistent via the PersistenceManager. Objects can be associated with object names, so that retrieval by name is possible. An object ID is attached automatically to the persistent object. Even the use of a proxy mechanism is done by SPM. So SPM takes care about the internal object references.

| VC Software Inc. E-mail: 100111.2316@compuserve.com CompuServe: 100111,2316 Web: http://ourworld.compuserve.com/homepages/VCSoftware

[ Catalog Home ]