SourceForge.net Logo
Home

WELCOME TO THE SQL-PERSIST HOMEPAGE

SQL-Persist is a platform providing persistence of PHP objects. This provides a means to save the state of an object across (and during) invocations of your PHP scripts. It transparently stores object (member variable) data in a relational database.

Applications may include, at the simplest level, to save configuration data for your application (by creating an object with accessors for each configuration item), at a higher level, to save your application’s data and at the highest level to create completely stateful applications.

An application developed using sqlpersist according to given design principles will have certain advantages such as the ability to port the state of an application to another instance of the application, right across platforms, e.g. from Linux/MySQL to Windows/MS-SQL.

A future project (under a new name, probably php-persist)  will provide transparent persistence using binary files (obliviating the need for a DB) and will be implemented as a PHP extension. At this stage I hope to have implemented something similar to object serialization and the ability to invoke objects across servers...

[Home] [How it Works] [Project Aims] [Examples] [Project History] [Documentation] [News] [Forums] [Contact Me] [DOWNLOAD]