Chapter 3: Basics of LaunchDarkly and Feature Management
In this chapter, we will build on the knowledge you now have of feature management and provide practical examples of how it can help us build and deliver software in new, more efficient, and safer ways. I will cover feature flag management within LaunchDarkly itself: how to implement a flag within an application, how we can target users with features, how to understand the LaunchDarkly User system, and how to perform the necessary targeting.
Before we set up a feature flag, I will walk you through setting up the LaunchDarkly client within an application. This will require us to look at both projects and environments within LaunchDarkly. These will help segregate the feature flags by teams/concerns and by the environments (production, test, and so on) that are used.
To ensure that you have set up LaunchDarkly properly from the beginning, I will also detail the role management functionality, which provides permissions and...