Status of Config
| From: | Bertrand Mansion | Date: | Fri, 21 Mar 2003 18:30:26 +0000 |
| Subject: | Status of Config | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-14542@lists.php.net to get a copy of this message | ||
Hi all,
I've been working on Config today, here are some input of the current Config
status.
Config parses various file formats (PHP array, .ini with or without
comments, apache conf, generic conf) and creates a tree out of them.
The tree can be manipulated in many ways so this makes Config very flexible.
It can also be outputted in different formats. So you can easily convert an
ini file to a PHP array. It can be outputted as a string or as an array.
I am even going to use it to make my website menus...
The package is still not complete though, here are the things I have to do
before making a first stable release:
- an xml container
- modify the apache and the genericConf containers to my new API
Here are the features I would like to have some day:
- a db container
- the possibility to add comments and blanks to a directive directly
If you want to test it, just use the phparray, inifile, inicommented
containers from CVS. I'll fix apache and genericconf tomorrow.
Bertrand Mansion
Mamasam