On Wed, Nov 18, 2009 at 12:43 AM, John Gaughan <[email protected]> wrote: > Paul Herring wrote: >> It means application specific data like this should be stored in the >> registry, not in INI files, and you should really be using the >> registry version of those functions for new programs. >> > > I never did like the registry. I would store data in flat files in the > user's profile, in a platform-independent way. XML is good for this, > although verbose. > > My personal philosophy is that if a user cannot use a text editor to > edit a program's configuration,
That's what the user interface is for. Users should not be digging into the registry/INI files to change stuff. Firefox's about:config interface is a sorta half-way house in this regard. > or cannot easily copy a configuration > file to another machine, the configuration is not portable enough. While > registry entries are exportable and importable, it is a pain to do and > most users (even experienced ones) would be lost. Which is why, when it matters, the program should have its own facility to import/export such data. -- PJH http://shabbleland.myminicity.com/ http://www.chavgangs.com/register.php?referer=9375 http://www.kongregate.com/?referrer=Shabble
