PHP Classes
elePHPant
Icontem

AR DB Interface: Manage table records as objects using ActiveRecord

Recommend this page to a friend!
  Info   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2010-03-11 (6 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 571 All time: 5,126 This week: 871Up
Version License PHP version Categories
ar-db-interface 1.0GNU General Publi...5.0PHP 5, Databases, Design Patterns
Description Author

This package can be used to manage database table records as objects using the Active Record design pattern.

The main class takes as parameters a database access object (DAO), the name of a table and the key field.

The class can create, retrieve, update and delete database record mapping class variables to table field values.

The database access is done by the DAO class. Currently there DAO classes to access MySQL databases and to use ADODB classes.

Picture of dave gebler
Name: dave gebler <contact>
Classes: 1 package by
Country: United Kingdom United Kingdom

  Files folder image Files  
File Role Description
Plain text file adodb.php Class Simple ADOdb wrapper if using non-MySQL
Plain text file db.php Class Generic database interface (used by dbi.php)
Plain text file dbi.php Class Main interface class
Accessible without login Plain text file example.php Example Example usage
Plain text file mysql.php Class MySQL Implementation of DB Interface

 Version Control Unique User Downloads Download Rankings  
 0%
Total:571
This week:0
All time:5,126
This week:871Up