[mod_python] Which Database?

Jorey Bump list at joreybump.com
Fri Mar 17 12:01:56 EST 2006


Gustavo Córdova Avila wrote:

> Well, it could be, "but".  MySQL differs from the SQL standard in 
> certain small but important ways (please google for more info, let's not 
> turn this into a PostgreSQL vs. MySQL flamefest), but the thing is that, 
> if you tie down your project with MySQL, you're going to have to work on 
> it quite a bit to get it *off* MySQL.

Perhaps, but since MySQLdb uses the Python Database API, the situation 
is markedly improved compared to migrating from PHP's internal mysql 
commands (and even PHP now has PEAR:DB to use instead).

Database independence is still somewhat of a holy grail, but a 
well-designed modular approach and the use of a database abstraction 
layer can go a long way in any language.





More information about the Mod_python mailing list