Re: File_Ini
| From: | Chuck Hagenbuch | Date: | Wed, 04 Apr 2001 13:00:31 +0000 |
| Subject: | Re: File_Ini | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-166@lists.php.net to get a copy of this message | ||
Quoting Christian Stocker <chregu@nomad.ch>:
> It would be great, if this ini-class not only could store/retrieve data
> from win.ini-based files, but also from xml/database/ldap(...)/etc based
> configuration data. maybe it should be done like the Caching-Classes with
> a base class and some container classes for easy extensibility. Then what
> about an Ini/ directory in pear?
That's not necessarily a bad idea, but what you've got then is a
Configuration:: class, with the File_Ini class being a Configuration_file
subclass. But there's also no reason that you couldn't write this configuration
framework class, and have the file driver just use File_Ini...
-chuck
--
Charles Hagenbuch, <chuck@horde.org>
Number of U.S. nuclear bombs lost in accidents and never recovered: 11