On Mar 27, 2004, at 7:57 AM, Will Leshner wrote:
On Mar 26, 2004, at 10:01 PM, Seth Willits wrote:
On Mar 26, 2004, at 9:50 PM, Calvin O. Parker wrote:
Ok. So how is the preferred way to save preferences? As some sort
of
delimited text files? In the user's preferences folder?
Definitely in the user's preferences folder, but the format is
entirely up to you. XML is gaining popularity but the majority of
applications still use their own binary format. I do myself. I came
up with a nifty system that allows forwards and backwards
compatibility of preferences and makes it super easy to read and
write them. If you search the NUG archives for "Charles' Preferences
Code" you should find it.
Something else to consider: Aaron couldn't stress enough at his Linux
session at RW that if you are planning to target the Linux market, it
is very important to save your preferences as text files. A Linux user
won't even waste time on an app that saves binary configuration
information.
I'd like to hear from Linux users: I presume XML would be quite
acceptable nowadays for a prefs file. Agreed?
- - -
Unsubscribe or switch delivery mode:
<http://support.realsoftware.com/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|