Re: DBM Compatibility layer
| From: | Stig S. Bakken | Date: | Thu, 18 Apr 2002 19:22:53 +0000 |
| Subject: | Re: DBM Compatibility layer | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-5654@lists.php.net to get a copy of this message | ||
On Thu, 2002-04-18 at 20:08, Martin Jansen wrote:
> On Thu, 18 Apr 2002 13:00:22 -0500 (CDT), Brent Cook wrote:
>
> > While I don't have it completely up to PEAR standards yet, I would like
> >your opinions on a DBM compatibility layer for PEAR. What I'm proposing is
> >something to go between the dbm functions in PEAR and an application to
> >smooth out inconsistencies between DBM implementations, sort of like DB
> >does for SQL databases but more like the anydbm module in Python
> >http://www.python.org/doc/current/lib/module-anydbm.html
>
> Do you think that it could API-wise fit in the structure of
> PEAR::DB? IMO integrating the code into PEAR::DB would be much
> nicer than making it an independent package.
PEAR DB drivers may be independent packages, and this one should be if
implemented as such.
Now that there's DB_ldap and more similar DB backends are starting to
pop up, writing an generic SQL92 parser in lex/yacc/C is starting to
make sense.
- Stig