Projects / MyActiveRecord

MyActiveRecord

MyActiveRecord is a PHP implementation of Martin Fowler's Active Record pattern, as popularised by Ruby on Rails. Objects are retrieved via static methods of the base class, resulting in clean and simple relational/object mapping. It's MySQL only, meaning the whole thing is contained within a single class and none of the overhead of database abstraction is incurred. There is close to zero configuration. Even relationships are inferred, although this does mean sticking to some simple database naming rules.

Tags
Licenses
Implementation

Recent comments

18 Aug 2006 03:43 michelek

feature request
have You thought about adding optional table prefixes to MyActiveRecord?

Screenshot

Project Spotlight

OpenStack4j

A Fluent OpenStack client API for Java.

Screenshot

Project Spotlight

TurnKey TWiki Appliance

A TWiki appliance that is easy to use and lightweight.