public
Description: AdoDBRecord -- an ActiveRecord look-alike in PHP using AdoDB
Homepage: http://hurikhan77.wordpress.com/category/adodbrecord/
Clone URL: git://github.com/kakra/adodbrecord.git
name age message
file .gitignore Mon Feb 02 17:40:00 -0800 2009 Small fixes [kakra]
file AdoDBRecord.kdevelop Mon Feb 02 11:56:37 -0800 2009 Prepare association tests for implementation [kakra]
file Doxyfile Tue Aug 05 08:38:22 -0700 2008 Add inflectors This branch adds inflectors and... [kakra]
file README Loading commit data...
directory examples/ Tue Aug 19 15:09:39 -0700 2008 Added some example stuff Make a more complete ... [kakra]
file init.php
directory lib/
directory tests/
README
AdoDBRecord -- an ActiveRecord look-alike in PHP using AdoDB
============================================================

Author: Kai Krakow <kai@kaishome.de>

Disclaimer: By using this software you agree to the terms of GPLv2:
http://www.gnu.org/licenses/gpl-2.0.html

Homepage:
http://github.com/kakra/adodbrecord/

Bugtracker:
http://hurikhan77.lighthouseapp.com/projects/24860-adodbrecord/overview

You need the following software to run AdoDBRecord:
http://phplens.com/adodb/ (essential)
http://simpletest.org/ (unit testing)


Read first
==========

Since I developed with Rails using the ultra-comfortable ActiveRecord I
felt the need for a similar solution in PHP. Googling around I found some
people saying this is impossible. That’s true: Ruby’s OOP implementation
is in many ways superior to PHP’s.

But anyway I decided: Some of ActiveRecord's comfort must be possible in
PHP. I’ve decided to build on AdoDB for PHP since it already does the
heavy lifting of database abstraction very good.

The interface is currently very limited and should be very self
explanatory. For all interested hackers I’ve set up a git repository
at GitHub and would be very interested on your feedback.

This project grew out of the need to ease up database development in an
already existing legacy application. It’s not meant as an exact
ActiveRecord replacement in PHP – just similar in convenience.

As this is currently lacking good examples please have a look at the
tests directory for a pretty good insight on what can be done and the
caveats. The tests are always up-to-date and work.


Installation
============

Copy to your php includes location. Best choice may be where your
adodb.inc.php resides, however you can configure that with the
$PREFIX_ADODB variable. At least v4.54 of AdoDB is needed which
will be checked. Adjust the database settings in the class file
or create an own file which contains these settings and include the
class file from there instead. I know, this is currently not so well
done.


Directory Layout
================

lib      ... Main class, class tree
examples ... Sample code, usage
tests    ... Unit tests