[Proposal] DB_OO
| From: | Sérgio Carvalho | Date: | Mon, 22 Dec 2003 16:34:28 +0000 |
| Subject: | [Proposal] DB_OO | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-24599@lists.php.net to get a copy of this message | ||
DB_OO is a package for simple object oriented database abstraction. It
has been in production use for about two years now. I believe it would
be interesting to have it part of PEAR.
Tutorial and documentation can be found here:
http://pear.sergiocarvalho.com/docs/DB_OO-1.0/
Source files can be found here:
http://pear.sergiocarvalho.com/docs/DB_OO-1.0/source/
And the package can be installed using:
pear install http://pear.sergiocarvalho.com/DB_OO
Description
-----------
The package generates proxy classes for a Database Abstraction Layer,
that represent database tables. Class generation is fully automatic,
deduced from metadata present in the RDBMS system catalog. It aims at
imposing little to no overhead on the developer, while fulfilling the
simplest 80% of operations without any SQL present in the application code.
The domain of usage overlaps that of DB_Dataobjects but is not exactly
the same. While DB_Dataobjects is building up to be the equivalent of
Castor (http://www.castor.org/) for PHP, DB_OO has no pretention of
providing features like table joins, field validation or form
generation. Instead, the option is made for simplicity of use, which
obviously limits the range of features that can be implemented.
With the release of this code in GPL, and exposure to the PEAR
community, I am hoping to gather developer support for databases other
than PostgreSQL and Mysql. I also expect to have the most recently
supported database code (mysql) more thoroughly tested. I'm using this
package on several of my own commercial projects, so maintaining support
is a non-issue.
Cheers,
Sérgio Carvalho
---------------
Portugalmail Multimédia, Lda
http://www.portugalmail.pt/