WebTechniques: A Database-Independent API for PHP

By ServerWatch Staff (Send Email)
Posted Jan 23, 2001


"PHP is a valuable item in any Web developer's toolbox. The server-side technology allows for rapid development of dynamic, database-driven applications. One of PHP's major strengths is its ability to connect with many different databases, including Sybase, PostgreSQL, Oracle, or MySQL."

"Database connectivity, however, is also one of PHP's major weaknesses. Specifically, PHP's lack of a standard database API makes switching databases difficult and costly once an application has been written. For example, if you write a program that uses a MySQL database on the back end, and you want to modify that program so that it uses a Sybase database, you'll most likely spend hours modifying the code." One of PHP's major strengths is its ability to connect with many different databases, including Sybase, PostgreSQL, Oracle, or MySQL. ... Database connectivity, however, is also one of PHP's major weaknesses.

Page 1 of 1


Comment and Contribute

Your name/nickname

Your email

(Maximum characters: 1200). You have characters left.