-
Notifications
You must be signed in to change notification settings - Fork 0
cobber/multi_config
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Multi Layered Configuration =========================== Yhis perl module is intended to help manage complex configuration situations. Existing modules attempt to solve this problem by dictating the kind of configuration files can be imported, and their locations. This module works a little bit differently, in that it can define any number of configuration "layers", which in practice, overlap each other so that configurations set in "higher" levels obscure default values defined by lower levels. This provides te flixibility to allow simple or complex configuration of anything from cli scripts to web applications. The interface is fully object oriented - and may soon be moosified ;-) Features: --------- Overlapping layers of configuration settings One-Layer per configuration source (file, URL, DB, ...) Observable changes to settings Layers can be individually reset and re-loaded without adverse side effects Debuggable (verbose dump shows source of each setting) Helps solve typical chicken/egg problem: configuration settings are built up in order of precedence, ie: command line first, user-specified config file, followed by user config, host config and default config Goals: ------ Get this CPAN clean Add useful features - remove useless ones TODO: ----- convert all identifiers from camelCase to lower_case with underscores more test cases setup Makefile.PL etc. for CPAN remove included Notifications module - should rely on released Notifications module (ie: Notifications also needs publishing on CPAN!) If you're thinking of forking this project, please let me know. It's based on "my real world" experience, which may of course differ wildly from yours ;-) Stephen Riehm 2011-05-17
About
Layered application configuration
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published