Re: RFC on merge of PHPLib and Pear
| From: | Paul Meagher | Date: | Thu, 08 Mar 2001 16:22:14 +0000 |
| Subject: | Re: RFC on merge of PHPLib and Pear | ||
| References: | 1 2 3 4 | Groups: | php.pear |
| Request: | Send a blank email to php-pear+get-1726@lists.php.net to get a copy of this message | ||
> > Was PEAR::DB developed to allow similiar distribution of, say, the
mysql
> > class? If I want to include PEAR's db abstraction layer for MySQL in my
> > little app, what is the minumum I would need?
>
> Because PEAR::DB is distributed with PHP, you don't need to bundle
> aything with your application. You can already assume that the
> database interface exists.
I agree that in the long term we can assume this, however, in the shorter
term if I were to release an app that used PEAR's db abstraction I would
probably try to bundle the classes with it to ensure that they could use it
out of the box. I am still interested in knowing what a minimal PEAR:DB
abstraction layer for mysql would consist of. I can find out myself but I
though someone here would have a quick answer.
Regards,
Paul Meagher