Issue 186: Stop sharing the application settings
Project Member Reported by octavian...@gmail.com, Jul 18, 2014
Prior to version 2.x the app settings (either stored in Registry or in settings XML file) were shared by all applications.

Example: although the Media Library does not need to use the 'AllowRemoteCommands' setting, it still can access it.

The settings storage model would be spread across 3 levels:

----
Level 0: store all settings that are shared by all apps built on top of OPMedia Framework e.g. Theme / Language.

Any apps should be able to access (get/set) the Level 0 settings.
Changes made by one app should be instantly visible in the other apps.

----
Level 1:  another upper level to store the settings that are common to all applications but are not shared e.g. window position, network settings, COM port access.

Any apps should be able to interact with the Level 1 settings.
But, the values of Level 1 Settings should remain at application level.
Changes made by one app should not be visible in other apps.

----
Level 2: store the settings that are specific to each application. 

The access to Level 2 settings should be permitted only to that app that requires these settings. The other apps should not be even aware that these settings exist.

Jul 18, 2014
Project Member #1 octavian...@gmail.com
Level 0: stored in Registry (SuiteConfiguration model used in versions 1.x)

Level 1: stored in settings file (AppSettings model used in versions 1.x)

Level 2: stored in settings file (AppSettings model used in versions 1.x)

The isolation between Level 1 and Level 2 is done like this:

- OPMedia.Core defines a base class for accessing the settings file
- this base class stores the Level 1 settings

- OPMedia.Runtime.Protone extends the base class with the settings needed for ProTONE based applications

- Where needed each application extends the base classes and adds its specific settings in the extended class.
- ProTONE based apps must extend the class defined in OPMedia.Runtime.Protone
- Apps not based on ProTONE must extend the class defined in OPMedia.Core
Jul 18, 2014
Project Member #2 octavian...@gmail.com
(No comment was entered for this change.)
Version 2 Settings Storage.xlsx
132 KB   Download
Jul 25, 2014
Project Member #3 octavian...@gmail.com
(No comment was entered for this change.)
Labels: BuildReported-2.0.x
Jul 25, 2014
Project Member #4 octavian...@gmail.com
(No comment was entered for this change.)
Labels: Category-Suite
Jul 25, 2014
Project Member #5 octavian...@gmail.com
(No comment was entered for this change.)
Labels: Resolution-Resolved BuildFix-2.0.8
Sep 8, 2014
Project Member #6 octavian...@gmail.com
(No comment was entered for this change.)
Status: RegressionTest
Sep 23, 2014
Project Member #7 octavian...@gmail.com
(No comment was entered for this change.)
Status: Closed
Labels: BuildVerified-2.0.30