Jeff PHP framework  0.99
Modular, extensible, OOP, MVC, lightweight php framework designed to ease the programmers in the development of web applications.
db.factory.php File Reference

Contains the database factory implementation. More...

Go to the source code of this file.

Data Structures

class  db
 Database factory, returns a database object instance depending on the DBMS configuration setting. More...

Detailed Description

Contains the database factory implementation.

The database instance is unique due to the use of the singleton pattern.
The database instance returned depends on the DBMS configuration setting, so that it's easy to add support for other DBMS different from MySQL.
Look the database interface definition to see which methods a specific DBMS class should implement.


Definition in file db.factory.php.