KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Note: An Approach to Preferences
PRODUCT: 4D | VERSION: 11.4 | PLATFORM: Mac & Win
Published On: June 18, 2009
Your current browser may not allow you to download the asset. We recommend Mozilla Firefox or Google Chrome.
Log In

This Technical Note describes an approach for handling user preferences saved in XML format with theme support. Included with this Technical Note is a component that can be used to store and retrieve preferences, and the source to the component.

Download Complete Tech Note and Example: Windows | Mac

Commented by Luis on June 19, 2009 at 5:10 PM
The advantages of this approach are numerous; quick to distribute, easy to maintain, easy to manage different preferences for groups, users, languages, etc.

There are however some drawbacks, perhaps the most important would be that some of the advantages make your preferences less secure than keeping them in the application. To overcome this you may chose to keep only non-sensitive preferences stored in XML format.