Login   Register  
PHP Classes
elePHPant
Icontem

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 <e-mail contact>
Packages: 1 Browse all classes by Jake Grimley Browse all classes by
Country: United Kingdom United Kingdom - PHP jobs in United Kingdom
Age: 39
All time rank: 38917 in United Kingdom United Kingdom
Week rank: 1353 Down59 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: 6486 users
All time rank: 289
Week users: 1 user
Week rank: 1886 Down
 
  Groups   Freshmeat project   Rate classes User ratings  
  Trackback   Applications   Related links   Files Files  

  Groups  
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


  Freshmeat project  
Project record: myactiverecord
Popularity score: 19.13
Vitality score: 54.21

  User ratings  
RatingsUtility Consistency Documentation Examples Tests Videos Overall Rank
All time: Good (92.9%) Good (88.1%) Good (94.0%) Good (86.9%) - - Sufficient (73.3%) 105
Month: Not yet rated by the users

  Trackback links  
Link Description
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...

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

  Related links  
Link Description
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  /  Files folder image 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.