Application Settings. Settings Node

Main functionalities unit of Application Settings technology is a Setting Unit. This is a named value that has a unique global ID within the application. The name (key) is defined in the code. The value stored in the database, it is available both in UI and in code. This value is in demand in the business logic of application, it will be used by the system when performing a certain business task.


Setting Units is generated on the basis of a special nodes of the Application Model, which can be combined in groups. These nodes and groups are declared in the code at the stage of the Settings Structure Design.


All Setting Units included in the Settings node constitute the complete set of values. Specific requirement of many business systems is the generation of multiple sets of values. For instance, each user has his personal set and there is a global system set. These sets correspond to the Values Slice Objects, this technique is described in details in Values Slices topic.

Setting Units are grouped into directories and the whole Application Settings system visually resembles the settings registry in Windows.

Values can be any scalar or persistent type. Viewing Application Settings available to all users. The ability to view and edit the values defined in the code (see Settings Structure Design). There you can set the default value.

To get a complete picture of the Application Settings mechanism, refer to the Values Slices topic.