PHP Classes

AR DB Interface: Manage table records as objects using ActiveRecord

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 592 All time: 5,252 This week: 74Up
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
Age: ???
All time rank: 3070140 in United Kingdom
Week rank: 215 Up12 in United Kingdom Up

  Files folder image Files (5)  
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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:592
This week:0
All time:5,252
This week:74Up