Re: [PHP-PEAR] RFC on merge of PHPLib and Pear
[email protected] (Björn Schotte) Thu, 8 Mar 2001 08:24:00 +0100
| Newsgroups | php.pear |
|---|---|
| Message-ID | <[email protected]> |
* Chuck Hagenbuch wrote: > Your argument isn't exactly convincing. Put it this way: I could always > subclass PEAR's DB_mysql if I wanted to, and supply the parameters in the > class. Could I use a config file without re-writing phplib's DB_sql, or setting > the parameters manually after instantiating the object (ugly)? No. Repeating again: subclassing is the ground concept of PHPLIB. There's no need for config files. (Personally, I don't like config files for elementary things like Session, Auth etc. which are the ground base of my application. I like config [files|db|data container] for the datas my application handles with) -- Björn Schotte [email protected] http://rent-a-phpwizard.de/ [email protected] Software dev advocate: http://www.advogato.org/person/baerli/