ActiveRecord 1.0

ActiveRecord

This is an Open Source PHP ORM library based on the ActiveRecord pattern. The libray was inspired by Ruby on Rails' implementation.

Features of ActiveRecord:
- Finder methods
- Dynamic finder methods
- Writer methods
- Relationships
- Validations
- Callbacks
- Serializations (JSON/XML)
- Transactions
- Support for multiple adapters
- Miscellaneous options such as: aliased/protected/accessible attributes

Supported Databases:
- MySQL
- SQLite
- PostgreSQL
- Oracle

Requirements:
- PHP 5.3 or Higher
- PDO driver for your respective database

What's New in this version 1.0:
- Fixed an error with eager loading when no records exist.
- Fixed set methods on DateTime objects to properly flag attributes as dirty.
- Fixed a memory leak when using validations.
- Fixed problem with some model functionality not working correctly after being deserialized.
- Fixed validates_numericality_of to not ignore other options when only_integer is present and matches.
- Fixed ambiguous id error when finding by pk with a join option.
- Fixed conditions to accept DateTime values.
- Changed serialization to serialize datetime fields as strings instead of the actual DateTime objects.
- Model::transaction() now returns true if commit was successful otherwise false.

License type: MIT License
Date added: 3 years, 4 months 13 days ago | Last updated: 3 years, 4 months 12 days ago

More popular Database Management

Listing Files

php-activerecord
lib
adapters
List All Files