Re: A standard DB function group would be nice.

From: Date: Sun, 18 Apr 1999 21:57:22 +0000
Subject: Re: A standard DB function group would be nice.
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-5124@lists.php.net to get a copy of this message
Hello John, On 08-Apr-99 20:00:47, you wrote: >I don't mean to sound gripy, but I run 3 DB engines here (mysql, >postgresql, and Oracle 8), and it would be nice if PHP did not have a >separate set of functions to access each one, because I've got to >rewrite tons of code to make a program work on each different database. >If PHP had something like Perl's DBI library, it would eliminate a lot >of the work! I have implemented what you are looking for. As a matter of fact, not only I developed a RDBMS independent database interface that lets you develop highly portable applications, I also developed a XML based format to let you define your database schemas also in RDBMS independant manner. I developed a package that parses the XML based database schemas and creates the database. On a second run it compares a new database schema definition with the previously defined schema. The database schema is changed according to the alterations that were detected. The changes in the schema are applied while keeping any existing data in the database. I have more plans for this and I will make it freely available some time soon. Stay tuned. Regards, Manuel Lemos E-mail: mlemos@acm.org URL: http://www.e-na.net/the_author.html PGP key: finger://mlemos@zeus.ci.ua.pt -- -- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net For help: php-dev-help@lists.php.net

« previous php.dev (#5124) next »