[ANNOUNCEMENT] DB_Table-1.5.0 (stable) Released.
| From: | PEAR Announce | Date: | Wed, 27 Jun 2007 22:27:30 +0000 |
| Subject: | [ANNOUNCEMENT] DB_Table-1.5.0 (stable) Released. | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-27586@lists.php.net to get a copy of this message | ||
The new PEAR package DB_Table-1.5.0 (stable) has been released at http://pear.php.net/.
Release notes
-------------
This is the first stable release that contains some signficant enhancements to DB_Table. The main
changes since release 1.4.0 are:
- A new DB_Table_Database class, which contains a model of relationships between tables. The class
contains methods to simplify the construction of joins, check foreign key validity, and emulate
referentially triggered ON DELETE and ON UPDATE actions.
- A new DB_Table_Generator class, which generates PHP code necessary for an existing database.
Generates a skeleton DB_Table subclass definition for each table in the database.
- A new DB_Table_Base class, as an abstract parent class for DB_Table and DB_Table_Database.
- Added auto-increment column declarations to DB_Table
- Select*() methods can now process query arrays passed as arguments (as well as stored queries).
- XML support, using the MDB2 XML schema. XML Serialization and unserialization of the database
model.
- Full unit tests for DB_Table_Database.
- Full documentation added to the PEAR manual.
The only changes since release 1.5.0RC3 are changes to the organization of the DB_Table_Database
unit tests, and inclusion of a simple form of regression testing. See tests/database/README.
Package Info
------------
The DB_Table package provides an object oriented interface to a database.
Each instance of the core DB_Table class contains the schema for a table, defined using abstract
data types. The class provides a portable api for insert, update, delete, and select SQL commands,
and can validate data types upon insertion and updating. It provides methods to automatically create
or verify a database table. DB_Table also provides methods (using PEAR HTML_QuickForm) to generate
input forms that match the column definitions.
Each instance of the DB_Table_Database class contains a model of relationships between tables in a
database, in which each table is represented by an instance of DB_Table. DB_Table_Database provides
a method for automatic construction of join conditions for inner joins involving any number of
tables, optional php validation of foreign key validity, and optional php emulation of actions
triggered on delete or update of referenced rows, such as cascading deletes.
The DB_Table_Generator class auto-generates the php code necessary to create an interface to an
existing database.
Related Links
-------------
Package home: http://pear.php.net/package/DB_Table
Changelog: http://pear.php.net/package/DB_Table/download/1.5.0
Download: http://download.pear.php.net/package/DB_Table-1.5.0.tgz
Authors
-------
Mark Wiesemann <wiesemann@php.net> (lead)
David Morse <morse@cems.umn.edu> (lead)