Top Level :: Database

Package Information: DBA

Show All Changelogs
» Version » Information
1.1.1Download

Release date: 2007-04-16 07:59 UTC
Release state: stable

Changelog:

* Added bugfix #44664 so that way we do not get errors on dba_*open

Dependencies:
  • PHP Version: PHP 4.0.0 or newer
  • PEAR Package: PEAR Installer 1.4.0b1 or newer
1.1Download

Release date: 2004-05-04 04:38 UTC
Release state: stable

Changelog:

* Added static DBA:drop()
* Fixed error handling to work with PHP 5's change in get_class()

1.0Download

Release date: 2002-12-18 07:32 UTC
Release state: stable

Changelog:

This is the first stable release.

* Updated db_exists() to handle more driver types

1.0-rc1Download

Release date: 2002-11-30 10:15 UTC
Release state: stable

Changelog:

This is the first stable release-candidate.

* DBA::getDriverList() returns all supported drivers by the currently running PHP interpreter. DBA works fine with PHP's new DB4 support.
* Documentation updates

0.9.5Download

Release date: 2002-11-13 17:49 UTC
Release state: beta

Changelog:

* Errors now return error codes in addition to messages. Thanks to Olaf Conradi for the working on this.
* Minor updates to code comments

Next release will be 1.0 stable, barring any show stoppers.

0.9.4Download

Release date: 2002-09-30 07:28 UTC
Release state: beta

Changelog:

Several nice changes for this release:
* The DBA::exists() function has been renamed to DBA::db_exists(). This is to not be confused with the driver method exists().

* Added db2 support. Apparently, it just didn't work on my OS due to outdated db2 libraries (Slackware-current). Be sure to compile PHP with db2 2.7.7.

* Added db_drop() and drop() methods to the drivers. db_drop() is static and takes a database name as an argument; drop() deletes the currently open or last open database.

Many of the functions that were included with the earlier developer releases, such as the table manager and SQL parser, have been split into separate packages to be released soon.

0.9.3Download

Release date: 2002-09-26 09:21 UTC
Release state: beta

Changelog:

This release updates the driver constructors so that they call their base class's constructors. This makes PEAR's virtual destructor system function properly.

NOTE: The file driver appears to work incorrectly with the latest PHP CVS. I am currently investigating the issue. For now, either use CVS from a few weeks ago, or PHP up to 4.2.3.

Many of the functions that were included with the earlier developer releases, such as the table manager and SQL parser, have been split into separate packages to be released soon.

0.9.2Download

Release date: 2002-09-25 22:02 UTC
Release state: beta

Changelog:

This release fixes a bug in the firstkey() function of the builtin drivers (gdbm, db3) and adds the missing size() function.

Note that many of the pieces that were included with the earlier developer releases, such as the table manager and SQL parser, have been split into separate packages to be released again soon.

0.9.1Download

Release date: 2002-09-25 05:23 UTC
Release state: beta

Changelog:

There is little new about DBA itself. However, this release does not include a lot of the pieces that were included with the earlier developer releases, such as the table manager and SQL parser. These have been split into separate packages so that the core DBA class can go ahead with a stable release.

This release fixes a bug in the the DBA compatibilty functions located in DBA/Compatibility.php. It the same as 0.9 except for this fix and the addition of a testing script for the compatibility functions.

0.9Download

Release date: 2002-09-25 02:46 UTC
Release state: beta

Changelog:

There is little new about DBA itself. However, this release does not include a
lot of the pieces that were included with the earlier developer releases, such
as the table manager and SQL parser. These have been split into separate
packages so that the core DBA class can go ahead with a stable release.

There are three changes to note:

* The 'simple' driver has been renamed to 'file'. This is a better description,
and shorter too.

* Support for opening a database persistently using the Builtin driver.
See the docs for open() on that driver. Persistence is not supported with the
'file' driver.

* Lastly, the installation directory structure is changed. Rather than
installing into a subdirectory of the DB packages (DB/DBA), DBA now installs
into the PEAR root directory into its own subdirectory (DBA.php, DBA).
Rather than use 'require "DB/DBA/DBA.php";' use 'require "DBA.php";'
Much simpler!

0.18Download

Release date: 2002-09-08 23:23 UTC
Release state: devel

Changelog:

This is a fairly stable release as far as the core DBA package is concerned
(DBA_Relational and its dependencies). The rest of the package, i.e. the SQL
stuff, is going to change quite a bit after this release. Many of the
C-ism's such as token constants will go away and the routines will be similar
in functionality, though different in implementation, to perl's SQL-Statement
http://www.cpan.org/authors/id/J/JZ/JZUCKER/. Thanks to Jacob for pointing
this out.
Changes to this release include:
* select() and join() return null rather than array() on an empty result
* join() returns null if either table to be joined is empty
* DBA_Toolbox has some more useful functions; note the changes in the
quickform utility function names
* code prettied up in numerous places
* create a few less objects now that more functions can operate statically
(such as when creating a new database file)
* changes to the API of remove() and replace(). They act more like
select() now. The old functionality is found in removeKey() and
replaceKey()
* added system tables '_tables' and '_sequences' for storing meta-data
about tables created by DBA_Relational.
* added sanity checks for schemas when creating a new table
* maintenance fixes to the SQL parser; lots of tokens are now defined

0.17Download

Release date: 2002-07-17 12:59 UTC
Release state: devel

Changelog:

This package status has moved from 'beta' to 'devel', where it
really should have been all along. Also, this is the first
release that is packaged correctly, so it should work with the
PEAR installer now.

* Fixed problem inserting into a newly created table in
DBA_Relational
* Added support for functions as default values in DBA_Table
(currently only time() works)
* Added a SQL parser/lexer. It currently understands 'create
table', 'insert into' and much that goes with them.
* Added two system fields on rows; _rowid and _timestamp
* Primary keys can consist of more than one field
* Changed DBA_Sql; it now holds functions for interacting with
a DBA database using SQL. See test_sql_dba.php for examples.
* General fixes/cleanups/messups

0.16Download

Release date: 2002-07-15 08:51 UTC
Release state: beta

Changelog:

More API changes to come, but so far, they're minimal. I'm getting
things cleaned up so that the upcoming SQL frontend will fit nicely.

* Schema format has changed; use DBA_* constants rather than
strings to organize meta data. See example schemas.
* Dropped support for autodecrement; initialize autoincrement by
supplying a default value rather than using the keyword 'init'
* Fixed-length char type support added, varchar preallocates
space in DBA driver if size is supplied
* Fixed some problems with inserting on tables when no primary
key was specified
* Added DBA_Toolbox.php to hold utility functions that are
not necessary for working with DBA, just useful.

0.15Download

Release date: 2002-07-08 20:44 UTC
Release state: beta

Changelog:

Initial release. Like many things, the documentation is not totally
completed and expect some changes/additions to the API as I try
building some sample applications with this, discovering what works
and what doesn't. See the test files for hints on usage; the most
useful bit currently is DBA_Relational, which provides a simple
data management system. It uses DBA_Table which uses DBA. They build
on each other, but can be used individually.
See empSchema and hatSchema for examples of how to create table
schemas. See test_relational.php and test_table.php for examples of
how to formulate queries. See benchmark_drivers.php for a method of
determining the performance of various DBA drivers for your system.