Re: [PHP-PEAR] RFC on merge of PHPLib and Pear
[email protected] (Vinai Kopp) Thu, 8 Mar 2001 23:10:46 +0100 (MET)
| Newsgroups | php.pear |
|---|---|
| Message-ID | <[email protected]> |
On Thu, 8 Mar 2001, Jon Parise wrote: > On Thu, Mar 08, 2001 at 12:22:14PM -0400, Paul Meagher wrote: > > > > 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. > > You'd need to include DB.php, DB/mysql.php, and the PEAR error stuff. > I think that's everything. > You'll also need DB/common.php. Vinai