-
Notifications
You must be signed in to change notification settings - Fork 10
Description
This is a discussion. Add arguments, ideas and examples to this discussion so that together we can make an informed and sound decision on whether or not, and how to implement such a concept.
Currently module configuration scopes (global, local) are defined by the module author because they know best what values can and can not be local or global.
Blu thinks this is not good and should be controlled by the user. I doubt this is a good idea.
Conceptionally a sound alternative to the current configuration handling has to be created that covers all existing cases and also allows for the additional case of letting users choose. It also can't be more complicated to use than the current system because some people already struggle finding the config files - making this more complex will only worsen this.
Requirements
Definite global variables
Variables that are declared global by the author and can not be made local by a user.
Cases for this include:
- Global timestamps for limiting
- Global caches
Definite local variables
Variables that are declared locally (per server) by the author and can not be made global by a user.
Cases for this include:
- Local timestamps for limiting
- Local caches
Dynamically scoped variables
Variables that do not have an explicitly defined scope by the author and can be made local or global.
Such variables should also be able to be declared globally and overwritten locally for specific servers.
Cases for this include:
- General settings that allow for local overwriting