July 2001
Beginner to intermediate
368 pages
6h 52m
English
Part Overview
In this part, I work through another case study. In this case study, I will consider the requirements for the problem one at a time, rather than specifying every requirement up front. I will describe a system that is currently working when a new requirement comes in that forces me to find the best way to modify the code. I will use this process to present a few new design patterns—one for each new requirement.
Chapter Discusses These Topics 14 The Strategy pattern: How to handle varying algorithms and business rules. 15 The Decorator pattern: How to dynamically add behavior before or after an object's current behavior. 16 The Singleton pattern and the Double-Checked Locking pattern: ...