Re: Config class
| From: | Bertrand Mansion | Date: | Thu, 25 Jul 2002 13:26:30 +0000 |
| Subject: | Re: Config class | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-7981@lists.php.net to get a copy of this message | ||
le 25/07/02 15:05, Christian Stocker à chregu@bitflux.ch a écrit :
> On Thu, 25 Jul 2002, Bertrand Mansion wrote:
>
>> Could you tell me which classes use the Config class in PEAR ?
>>
>> I am presently working on a rewrite because I need some features that are
>> not implemented and that cannot happen if the data array structure stays the
>> same. If possible, I would like both API to compatible.
>
> If possible? I think, BC (you know now, what it means, right? ) is very
> important with Packages markes as "stable". I use the config class in
> some of my projects and would hate, if I have to change them :) But said
> that, just go ahead with these new features, they sound quite useful.
No problem, if I see the API can't be kept, I will keep this class for my
own use as I definitely need a more flexible Config class (a bit like the
webmin configuration parser methods).
Anyway, at the moment, the Config API consists of only these methods:
- parseInput
- writeInput
- getBlocks
- getValues
- getValue
- setValue
Keeping them working as you expect shouldn't be too complex.
Before committing anything, I will make the code available somewhere so that
you can test it with your applications and tell me if it works as expected.
Cheers,
Bertrand Mansion
Mamasam