Login   Register  
PHP Classes
elePHPant
Icontem

AR DB Interface: Manage table records as objects using ActiveRecord

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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 (4 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 532 All time: 5,122 This week: 1,366Up
Version License PHP version Categories  
ar-db-interface 1.0GNU General Public Lice...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
Age: ???
All time rank: 2881129 in United Kingdom United Kingdom
Week rank: 1770 Up71 in United Kingdom United Kingdom Up

  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:532All time:5,122
 This week:0This week:1,366Up