Does feature flags have a place in SilverStripe?
I've been thinking about feature flags for a while and wonder if they would make sense in SilverStripe land?
In short, having the possibility to turn sections / features of a site on and off.
A couple of use cases:
- Turn off a feature because it turned out to be buggy and it's quicker to turn a feature off than redeploying a older version
- Only enable a feature for a subset of the users to ensure that it works correctly
- During high load turning of features that causes high load.
Another question, how would this be implemented in a SS?
Poll Created Mon 14 Jul 2014 1:13AM
We should implement feature flags into SilverStripe. Closed Fri 18 Jul 2014 5:08AM
The ability to use flags to turn off and on feature sets in SilverStripe.
Results
Results | Option | % of points | Voters | |
---|---|---|---|---|
|
Agree | 33.3% | 1 | |
Abstain | 33.3% | 1 | ||
Disagree | 33.3% | 1 | ||
Block | 0.0% | 0 | ||
Undecided | 0% | 35 |
3 of 38 people have participated (7%)
Fred Condo
Thu 17 Jul 2014 3:16PM
This is what modules are for. I don't see the value in adding a feature feature to core.
Cam Findlay
Fri 18 Jul 2014 2:30AM
This is more or less the sentiment expressed over on the dev list.
Sam Minnée
Fri 18 Jul 2014 3:34AM
It should be based on a general configuration system, but there should be a way of using environment-specific of user-group-specific configuration flags to test new features.
Cam Findlay Mon 14 Jul 2014 6:46AM
I need more information about what this flagging does to make a decision.
Cam Findlay · Mon 14 Jul 2014 3:04AM
@stiglindqvist yes I borrowed this question and proposal from your post over on dev list ;)