Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-3148

Implement support for Feature Flags/Toggles in Sling

    XMLWordPrintableJSON

Details

    Description

      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/

      Attachments

        Issue Links

          Activity

            People

              fmeschbe Felix Meschberger
              hsaginor@gmail.com Henry Saginor
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: