[GD-General] Registry/CFP/Files (WAS: A portable preferences library)
Brought to you by:
vexxed72
From: Garett B. <gt...@st...> - 2003-12-03 17:58:24
|
// Everyone seems like they have to write their own // portable preferences/registry wrapper... // It is designed to be minimal, and will wrap around // the Windows registry; CFPreferences on MacOS/OS X; // and the standard file system on Linux. Brian and others, I'm curious why you would want to use the Windows Registry or MacOS CFPrefs when you could just use the file system on all platforms? What is the advantage of using the Operating System's configuration database? Might you at least make a file-system-only implementation option on each platform? Before Win2K/XP, I considered registry-based configuration a huge disadvantage, since it was exceptionally difficult to persist settings if you needed to reinstall the OS. It was always nice to find that many non-MS apps still used .ini-file-esque settings and would just automagically work after a reinstall. Regards, Garett Bass gt...@st... |