From: Joby W. <joby@u.washington.edu> - 2003-01-28 19:54:45
|
I have done some of the basic work for updating the Configuration System. For clarity I have split things into a few extra files: config/Tools.php [mostly done] Has the helper classes to describe and validate configuration values. This will be the backend for the configurators. config/Values.php [1of7 parts done] Holds the configuration values in an array for easy processing. Each value consists of an array describing the value, the default, and how to validate a new value. This file is the single source of valid data. config/config-dist.php [will be generated] Holds the default values of each config value. The configurators will be able to generate this file. This should probably be moved to config/Default.php or config/Distribution.php. config/config-user.php [will be generated] Holds the customized values of each config value. The configurators will be able to generate this file. This should probably be moved to config/Custom.php or config/Local.php. configurator.php [needs to be re-written] The web configurator to be run when starting a virgin wiki, and later as the Administrator. This should probably be moved to config/WebConfig.php or config/WikiConfig.php. config/CliConfig [needs to be written] The command line configurator. Can be run by anyone with write access to the config/ directory. I'd like others to take a look and make some suggestions/corrections before I go too far down my current path. jbw |