This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Mon Feb 02 17:40:00 -0800 2009 | |
| |
AdoDBRecord.kdevelop | Mon Feb 02 11:56:37 -0800 2009 | |
| |
Doxyfile | Tue Aug 05 08:38:22 -0700 2008 | |
| |
README | ||
| |
examples/ | Tue Aug 19 15:09:39 -0700 2008 | |
| |
init.php | ||
| |
lib/ | ||
| |
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








