[Mono-list] What's the easiest way to...

rus rus at forgecom.co.uk
Fri Dec 2 09:39:59 EST 2005


You seem to be mixing up application settings and user preference
settings.

Application settings can be stored in a standard .config file, though
this is read-only as far as the app is concerned.

User preference settings are more of a problem - I guess XML files
somewhere in the user's home directory structure is the obvious
solutions.

It's a shame GConf isn't available under windows as it's a nice
mechanism to use with mono under linux :)


Rus.

On Fri, 2005-12-02 at 15:13 +0100, Salvatore Scarciglia wrote:
> ...store application settings ? 
> The problems to solve are:
> 
> 1. Cross platform-application means:
> 	- no Gconf (Gnome)
> 	- no .configfiles in the home directory (*nix)
> 	- no registry (Win*)
> 
> 2. INI.style files (name=value) or XML file ?
> 
> 3. Where to save this file ? App Install folder or sys config folder (/etc/ or
> C:/WINNT/SYSTEM)
> 
> 4. Related to previous problem, what about permissions ??!!
> 
> Any suggestion ?
> 
> In my opinion the best way is to save an XML file in the user home folder as an
> hidden file (for Unix users) and in the app. installation folder for Windows
> Users. What do you think about this solution ?
> 
> Tnx
> 
> Sas
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list



More information about the Mono-list mailing list