OwlManAtt / activephp
- Source
- Commits
- Network (0)
- Issues (0)
- Downloads (15)
- Wiki (1)
- Graphs
-
Tree:
105d892
commit 105d8924993a682346cd54bd2a6aa253d523a047
tree fccab8537a230b2b711efea01e6ccae8b0a0a329
parent d61fd014ff6807d76dfee6c8aab8d071fe055f7f
tree fccab8537a230b2b711efea01e6ccae8b0a0a329
parent d61fd014ff6807d76dfee6c8aab8d071fe055f7f
activephp / active_table
| name | age | message | |
|---|---|---|---|
| .. | |||
| |
Cachers/ | ||
| |
DB_Drivers/ | ||
| |
README | ||
| |
SqlGenerators/ | ||
| |
active_table.class.php | ||
| |
examples/ |
active_table/README
===========================================
===========================================
==== README for ActiveTable ====
===========================================
===========================================
=== Author: OwlManAtt ===
=== Updated: 2007-08-16 ===
===========================================
== Overview ==
ActivePHP (otherwise known as ActiveTable) is a very simple implementation of the Active Record pattern in PHP5.
Using ActiveTable, you can define a class that will automatically define setters/getters for columns and
provide you with the basic CRUD methods needed in any application.
ActivePHP supports MySQL and Oracle (8i and 9i have been tested). It uses the PEAR::DB abstraction layer for doing most
of its work, so any limitations on what
database this library can interact with can be resolved easily; another SQL generation driver for your RDBMS of choice
is all that is needed.
== Requirements ==
ActiveTable requires the following:
* PHP 5 (5.1 preferred)
* PEAR and the PEAR::DB and PEAR::Log packages.
* MySQL (4 or 5), Oracle (8i, 9i, or 10g)
* MySQL: Table(s) with an auto-incrememting primary key.
* Oracle uses the 'rowid' present in every table.
== Use ==
Please see the example file in docs/ for example uses.
== Notes on Oracle ==
ActiveTable uses the Oracle rowid internally. Unless you have an auto-
incrementing integer in your Oracle table, it is strongly advised that you
set the $primary_key to 'rowid' for any Oracle tables.


