You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Henry Saginor (JIRA)" <ji...@apache.org> on 2013/10/05 19:34:41 UTC

[jira] [Created] (SLING-3148) Implement support for Feature Flags/Toggles in Sling

Henry Saginor created SLING-3148:
------------------------------------

             Summary: Implement support for Feature Flags/Toggles in Sling
                 Key: SLING-3148
                 URL: https://issues.apache.org/jira/browse/SLING-3148
             Project: Sling
          Issue Type: New Feature
          Components: General
            Reporter: Henry Saginor
            Priority: Minor


It would be nice if sling provide support for feature flags (also called toggles) pattern [1].

I am thinking the implementation could provide the following.
1) Integrate an existing framework such as togglz [2] or implement something similar with UI/Configuration to toggle features.
2) Create a jcr property (sling:Feature) which can be added to resource type nodes. Then some conditional logic in <sling:include>, and get and post servlets determines if the resource should be rendered if its resource type contains such property.

[1] http://en.wikipedia.org/wiki/Feature_toggle
[2] http://www.togglz.org/



--
This message was sent by Atlassian JIRA
(v6.1#6144)