database abstraction module

From: Date: Wed, 14 Mar 2001 11:18:04 +0000
Subject: database abstraction module
Groups: php.general 
Request: Send a blank email to php-general+get-43808@lists.php.net to get a copy of this message
Hi! I'ld like to announce the availability of a database abstraction module, called 'dbx'. It gives you the ability to code your database-enabled php-templates once (for a specific database), and port to a different database later by just changing the string "odbc" to "mysql" (e.g.) once. This assumes that you have not built database-specific SQL-statements, of course. It still actually uses the php database modules, so they are still a requirement. What is taken of your hands is the looping through rows and fields (for odbc) or just through rows (mysql) to retrieve your data. It gives you the data in an array immediately, for both odbc and mysql. For more info, read the documentation at http://www.guidance.nl/php/dbx/doc It's freely (well, there is a license :-) available (incl. source and documentation) at http://www.guidance.nl/php/dbx Limitations: - so far it only supports the odbc and mysql module. Additional databases could easily be supported too, so if you're a coder... - only works with php4 - you must compile it yourself (but it compiles on Linux and Windows, I've tried :-) Any questions, remarks, whatever, please mail them directly to me (m.boeren@guidance.nl) as I'm not subscribed to this list. I'ld be happy to help, though! Cheerio, Marc. Guidance Rotterdam BV http://www.guidance.nl

« previous php.general (#43808) next »