[wp-trac] [WordPress Trac] #21055: Interface for wpdb compatibility

WordPress Trac wp-trac at lists.automattic.com
Sat Jun 23 22:47:01 UTC 2012


#21055: Interface for wpdb compatibility
-----------------------------+------------------------------
 Reporter:  santec           |       Owner:
     Type:  feature request  |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Database         |     Version:
 Severity:  normal           |  Resolution:
 Keywords:                   |
-----------------------------+------------------------------

Comment (by santec):

 Kurt,
 it's not very clear to me what you would put in wp_dao and what you would
 put in wpdb, but your idea sounds much better than mine.

 I hope that, in your idea:
 * wp_dao contains the logic (which can/must not be changed);
 * wpdb is merely a bridge to mysql.

 So it would be possible && easy to implement an "alternative wpdb" which
 uses mysqli or PDO_MySQL, or whatever.

 I would be happy to help in doing this - next time I'll use svn and read
 better your documents, I promise.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21055#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list