Login   Register  
PHP Classes

My Active Record: Map objects to MySQL database table rows

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author Author  
Picture of Jake Grimley
Name: Jake Grimley <contact>
Classes: 1 package by
Country: United Kingdom United Kingdom
Age: 39
All time rank: 39018 in United Kingdom United Kingdom
Week rank: 1852 Down72 in United Kingdom United Kingdom Down

  Detailed description   Download Download .zip .tar.gz   Install with Composer Install with Composer  
This class can be used to map objects to MySQL database rows using Martin Fowler's Active Record design pattern as popularised by Ruby on Rails.

It can store and retrieve objects in MySQL tables with minimal configuration.

Applications can use sub-classes of this base class to create application domain objects that support relationships, data validation, compound properties, clean ups and transactions.

This base class looks up the columns in a MySQL database tables automatically, and translates these to object properties.

  Classes of Jake Grimley  >  My Active Record  >  Download Download .zip .tar.gz  >  Support forum Support forum (5)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: My Active Record
Base name: myactiverecord
Description: Map objects to MySQL database table rows
Version: 1.0.0
PHP version: -
License: BSD License
All time users: 6508 users
All time rank: 289
Week users: 0 users
Week rank: 1531 Equal
  Groups   Rate classes User ratings   Trackback  
  Applications   Related pages   Files Files  

Group folder image Databases Database management, accessing and searching View top rated classes
Group folder image Design Patterns Implementations of well known design patterns View top rated classes

  User ratings  
RatingsUtility Consistency Documentation Examples Tests Videos Overall Rank
All time: Good (92%) Good (88%) Good (94%) Good (86%) - - Sufficient (73%) 104
Month: Not yet rated by the users

  Pages that reference this package  
Big in Poland
A small spike in Polish traffic to our blog, lead me to this article, discussing my MyActiveRecord MySQL/Object Mapping class...
MyActiveRecord - New Release
Iíve finally got it together to release an update to the MyActiveRecord class...
Start. Stage 3 - Realization.
After a short pause, I am continuing this series of articles about writing a start service...

Latest pages that reference packages Latest pages that reference packages

  Applications that use this package  
No pages of applications that use this class were specified.
Add link image If you know an application of this package, send a message to the author to add a link here.

  Related pages  
0.3 Release Notes
Release notes for MyActiveRecord 0.3

  Files folder image Files  
File Role Description
Files folder imagedoc (3 files)
Accessible without login Plain text file example.php Example example script featuring various methods
Plain text file MyActiveRecord.0.4.php Class Source Code

  Files folder image Files  /  doc  
File Role Description
  Accessible without login HTML file api.html Doc. API documentation
  Accessible without login HTML file background.html Doc. Discussion of where MyActiveRecord comes from, and how it differs from other ActiveRecord interpretations in PHP and Ruby on Rails
  Accessible without login HTML file howto.html Doc. Detailed exploration of class features and functionality

Install with Composer Install with Composer - Download Download all files: myactiverecord.tar.gz myactiverecord.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.