[development] Do not let postgresql hold back great patches

Khalid Baheyeldin kb at 2bits.com
Mon Dec 3 04:17:36 UTC 2007


On Nov 30, 2007 9:47 AM, Bill Moran <wmoran at potentialtech.com> wrote:

> I expect that the right way to make Drupal _truly_ database neutral is
> to have database-dependent and database-independent code.  You'd only
> see this kind of thing at the lower levels, and higher logic code
> shouldn't even care about it.
>

The alternatives are:

1. Calling modules would do 'case' statements for each type of database. No
one wants that, unless it is a highly optimized site with lots of
customization ( i.e. not the normal Drupal core).

2. Use the lowest common denominator for SQL and live with performance and
scalability issues.

3. Do database specific stuff (including optimization) in the abstraction
layer (this is what Bill Moran advocates above).

I am for #3 as the way forward.
-- 
Khalid M. Baheyeldin
2bits.com
http://2bits.com
Drupal optimization, development, customization and consulting.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/development/attachments/20071202/f879b7e7/attachment.htm 


More information about the development mailing list