At 07:25 AM 05/05/2000, Oliver Schleede wrote:
>btw you mentioned that some db-stuff will change in a year - i guess php is 
>well maintained and workarounds will be available, for php3 is found in too 
>many db web projects.

No, what I meant was next year *you* might change *your* database from
mysql to PostgreSQL, when you realize that you need more power.  Or you
might change to a commercial database system.

Using DBI, this switch will be fairly painless.  You just change a little
bit at the top of your program and everything else should just work
(assuming you write standard SQL to begin with).

Using the mysql_* functions in PHP will require you to completely rewrite
your scripts for the new system.

This is because DBI is a database abstraction layer, and PHP's built-in
database support isn't.

If you want a database abstraction layer for PHP, try out phplib at
http://phplib.netuse.de.

(But then you have to install, configure, learn and maintain a separate
software package, just like you would with DBI).


Michael


-- 
Michael Graham
[EMAIL PROTECTED]

---
You are currently subscribed to perl-win32-users as: [archive@jab.org]
To unsubscribe, forward this message to
         [EMAIL PROTECTED]
For non-automated Mailing List support, send email to  
         [EMAIL PROTECTED]

Reply via email to