View Single Post
  #2  
Old 01-23-2010, 12:47 AM
nam nam is offline
Administrator
 
Join Date: Aug 2009
Posts: 337
Default

In our Wordpress on the Google App Engine demo, we did the same thing that you're trying to do. From experience, it is not feasible to abstract out the Wordpress data layer. For one, Wordpress, like other PHP applications, depend on MySQL so they didn't put much effort into abstracting the data layer from the presentation layer. You will see SQL sprinkled throughout the base code and plugins.

On a positive note, it is easy to replace MySQL with Postgres in Quercus. It's just a simple config setting:

http://www.caucho.com/resin/doc/quercus.xtp#datasource

The only thing you would need to do for Wordpress is to rewrite the MySQL specific queries to their Postgres equivalent (i.e. SHOW TABLES).
Reply With Quote