Re: [PHP-PEAR] DB Binary
[email protected] ((Stig Sæther Bakken)) 15 Mar 2001 23:25:36 +0100
| Newsgroups | php.pear |
|---|---|
| Message-ID | <[email protected]> |
["clayton collie" <[email protected]>] > 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 <[email protected]> Fast Search & Transfer ASA, Trondheim, Norway