[Opensim-dev] Globally avaibability of config options (?)
Stefan Andersson
stefan at tribalmedia.se
Fri Oct 19 18:38:00 UTC 2007
> I think we're talking about a few classes of configurations:> * Basic Application - doing via .ini and/or command line (nini gives us> this today)> * Regions & Standard asset library - xml today. Possibly also let this> be a database instead.
Both these are possible (and reasonably clean) thru nini xmlConfigSource and custom dg implementation of ConfigSource.
The major winnage with using this approach would be that you could have a database with region settings that defaulted to an estate-wide xml config that could be overridden by command line - just by chaining three different config sources.
Also, it lets you mix config options from different config sources; so, it wouldn't matter what you persisted your option to; in deed, it could be different for each option.
/Stefan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://opensimulator.org/pipermail/opensim-dev/attachments/20071019/e82d86e9/attachment-0001.html>
More information about the Opensim-dev
mailing list