Loomio
Mon 14 Jul 2014 1:12AM

Does feature flags have a place in SilverStripe?

CF Cam Findlay Public Seen by 40

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?

CF

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 SM
Abstain 33.3% 1 CF
Disagree 33.3% 1 FC
Block 0.0% 0  
Undecided 0% 35 AR IS SW UC SL WR Z RR NH DU MG S AB N LC DH JC RM MA EL

3 of 38 people have participated (7%)

FC

Fred Condo
Disagree
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.

CF

Cam Findlay
Disagree
Fri 18 Jul 2014 2:30AM

This is more or less the sentiment expressed over on the dev list.

SM

Sam Minnée
Agree
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.

CF

Cam Findlay Mon 14 Jul 2014 3:04AM

@stiglindqvist yes I borrowed this question and proposal from your post over on dev list ;)

CF

Cam Findlay Mon 14 Jul 2014 6:46AM

I need more information about what this flagging does to make a decision.