The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.
In this document the process of implementing custom feature flags is
presented. In the subsequent sections we will create a feature flag that
is enabled if it’s number
field is odd.
Each feature flag requires 1 function to be implemented:
is_enabled.<FEATURE_FLAG>
- S3 method computing
whether the feature flag is enabledHowever, it is recommended to additionally include:
create_<YOUR_FEATURE_FLAG>_feature_flag
-
function that creates an instance of your feature flag (note: this
function can be called however you want, this is just a
suggestion)
is_<YOUR_FEATURE_FLAG_NAME>
- function that
returns TRUE if the passed object is an instance of the feature flag
class (that we are currently defining)
Let’s start with a construction method that will use create a base
feature flag, add the number
field to it and assign it to
the proper class.
Next, we will create a function checking the class attribute of the object.
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.