gettingstarted
[Top] [All Lists]

Re: Another beginner's question

To: "Getting Started" <gettingstarted at lists dot realsoftware dot com>
Subject: Re: Another beginner's question
From: Stuart Malin <stuart at ossayu dot com>
Date: Sun, 28 Mar 2004 05:01:10 -0800
References: <20040327055008 dot 16924 at pdaguy dot com:26> <1F54B5CE-7FB4-11D8-B682-000A95A5E76E at freaksw dot com> <62C1617C-8007-11D8-B9A4-000A95983FBE at ljug dot com>
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>

<Prev in Thread] Current Thread [Next in Thread>