Re: DB Binary
| From: | (Stig Sæther Bakken) | Date: | Thu, 15 Mar 2001 22:25:36 +0000 |
| Subject: | Re: DB Binary | ||
| References: | 1 2 | Groups: | php.pear |
| Request: | Send a blank email to php-pear+get-1861@lists.php.net to get a copy of this message | ||
["clayton collie" <ccollie@cau.edu>]
> Yavor,
> ive been thinking about this also. i think one of the things that would
> help PHP establish itself in relationship to other scripting languages is a
> DBI like modular standard. ive been looking at the specs for Python's DBAPI,
> Perl DBI, Borland's dbExpress, AolServer's NS_DB, Pear::DB, ADODB and
> Metabase for ideas, and as time becomes available, i was planning on
> committing some "sketch" code and specs to paper before inviting more
> comments, and even drafting a preliminary RFC. time has been limiting,
> however, so im stalled for the moment.
>
> if you'd like to discuss some more, post here or email me ...
>
> PS. you may also want to look at www.guidance.nl/php/dbx for a recent
> attempt at a module level abstraction layer for PHP.
Hi Clayton,
With a C rewrite of PEAR DB, the kind of modularity you have
implemented in dbx is exactly what we need. The question is whether
we should re-implement all of PHP's database extensions. I don't
think that's a good idea. A better solution IMHO is to define a C API
used internally by PEAR DB and implement that interface in each
database extension.
- Stig
--
Stig Sæther Bakken <ssb@fast.no>
Fast Search & Transfer ASA, Trondheim, Norway