Documentation
The basics
The intention of PersistClass is to provide all-round support for handling databases in PHP applications.
It defines the following layers:
- Database Connection: managing a connection (open, close), executing SQL queries, fetch SQL results through a standard interface (for any database backend)
- Connection Pool: stores, provides any number of Database Connections
- Persistence: mapping a PHP class to database tables, reading / manipulating the database through the mapped classes (active record design pattern)