[wp-hackers] GSoC Proposal: Multiple RDBMS support

Duane Storey duanestorey at gmail.com
Sun Mar 30 21:53:28 GMT 2008


Look into creole and propel if you go this route, even just to see
what they've done.  A lot of work has gone into abstracting databases
in PHP5 already, so I'm sure they made a few mistakes and could give
some suggestions.

http://propel.phpdb.org/

Duane

On 3/30/08, Olexandr Melnyk <omelnyk at gmail.com> wrote:
> Hello,
>
>  a little bit late to discuss this, but I would like to apply for this year's
>  GSoC to work on implementing multiple RDBMS support for WordPress. This
>  could be done by moving all vendor-specific SQL functionality
>  to classes, which inherit from a common interface (WPDB).
>  Therefore, all scripts which interact with the database will do it
>  through an abstracion layer, like follows:
>
>
>  $query = $wpdb->construct_select(array('user_login', 'user_email'),
>  $wpdb->users, 'username = ?');
>  $results = $wpdb->query($query, array($username));
>
>  What are your thoughts?
>
>  --
>  Sincerely yours,
>  Olexandr Melnyk <><
>  http://omelnyk.net/
>
>
>  --
>  Sincerely yours,
>  Olexandr Melnyk
>  http://omelnyk.net/
>  _______________________________________________
>  wp-hackers mailing list
>  wp-hackers at lists.automattic.com
>  http://lists.automattic.com/mailman/listinfo/wp-hackers
>


More information about the wp-hackers mailing list