Skip to Main Content
Effective Feature Management
book

Effective Feature Management

by John Kodumal
February 2019
Intermediate to advanced content levelIntermediate to advanced
43 pages
59m
English
O'Reilly Media, Inc.
Content preview from Effective Feature Management

Chapter 1. Feature Management

Feature management solutions enable businesses to dynamically control the availability of application features to end users. In this chapter, I introduce feature flags, a fundamental technology in feature management solutions. I then discuss the various feature management use cases, including progressive delivery, infrastructure migrations, experimentation, and testing.

What Is a Feature Flag?

In simple terms, a feature flag is a decision point in your code that can change the behavior of your application. Feature flags—also known as feature toggles—have long been used to trigger “hidden” code or behaviors without having to ship new versions of your software.

A feature flag is like a powerful “if” statement:

if(enableFeature(one.click.checkout, {...}))
then
    /*show the one-click checkout feature */
else
    /* show the old feature/

In the early days of software development, this might have been a command-line argument, an undocumented variable in a configuration file, or a hidden value in a registry. The value of each feature flag was typically set early in the life cycle, at compile-time, deploy-time, or runtime. After the value of the flag was set, the software would run that way until it was recompiled, redeployed, or restarted. Modern feature management is different.

There are two parts to the seemingly simple enableFeature call highlighted in the preceding example that make it special. The second parameter to the function (elided for simplicity ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Business Express: Managing performance and appraisals

Business Express: Managing performance and appraisals

Nic Peeling

Publisher Resources

ISBN: 9781492038177