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 Sat Sep 13 04:25:03 -0700 2008 Readme update Document the "lib" directory. [kakra]
directory examples/ Tue Aug 19 15:09:39 -0700 2008 Added some example stuff Make a more complete ... [kakra]
file init.php Wed Jan 28 09:17:47 -0800 2009 Create inflectors needed for associations This... [kakra]
directory lib/ Thu Feb 12 13:39:55 -0800 2009 Yeah don't forget the version :-( [kakra]
directory tests/ Wed Feb 04 02:39:39 -0800 2009 Fix STI with PHP4 "type" column must not be se... [kakra]
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/

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.


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