Jeff PHP framework  0.99
Modular, extensible, OOP, MVC, lightweight php framework designed to ease the programmers in the development of web applications.
Database management
+ Collaboration diagram for Database management:

Data Structures

class  db
 Database factory, returns a database object instance depending on the DBMS configuration setting. More...
interface  DbManager
 Database client interface. More...
class  mysql
 MySQL client class. More...

Detailed Description

Set of classes used to create a db client object. The existence of only one db client instance at runtime is granted by the singleton pattern.

The abstract factory pattern is also used in the creation of the client db instance so that the db management module is easily extensible.

The class used as db client is decided at runtime reading the constant DBMS set in the configuration file.
Jeff comes with the MySQL client class mysql, but it's quite simple to add support for opther DBMS, just implement all the methods defined in the interface DbManager.