httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <>
Subject Re: Towards a generic database connection API
Date Sun, 28 Nov 2004 19:01:34 GMT
Paul Querna wrote:
> Nick Kew wrote:
>> I have recently developed a first-draft namespace module mod_sql for
>> incorporating SQL into HTML/XML pages with mod_publisher or mod_xmlns.
>> In doing so, I revisited the existing database connection pooling 
>> modules,
>> and reclassified them as drivers for mod_sql.  I also added support for
>> LAMP-style single persistent connections for use in non-threaded MPMs,
>> using #if APR_HAS_THREADS.
>> That basically means each database module is an ap_provider for "dbd",
>> and implements a common API.
> +1 in concept from me.  One thing I think needs to be kept in mind is a 
> separation from Apache-ism so it could be used by Python/PHP/Perl 
> without requiring Apache.

Please take a look at DBDI Project.
which already targets Perl6 DBI, Python DBI, Ruby DBI, PHP DBI etc.

Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker     mod_perl Guide --->

View raw message