This chapter introduces a new case study, which comes from the area of e-tailing (electronic retailing over the Internet). It also begins a solution using the Strategy pattern. The solution to this case study will continue to evolve through Chapter 20, “The Analysis Matrix.”
In this chapter,
I describe an approach to handling new requirements.
I introduce the new case study.
I describe the Strategy pattern and show how it handles a new requirement in the case study.
I describe the key features of the Strategy pattern.