Skip to Content
Design Patterns Explained: A New Perspective on Object-Oriented Design, Second Edition
book

Design Patterns Explained: A New Perspective on Object-Oriented Design, Second Edition

by Alan Shalloway, James R. Trott
October 2004
Beginner
480 pages
8h 43m
English
Addison-Wesley Professional
Content preview from Design Patterns Explained: A New Perspective on Object-Oriented Design, Second Edition

Chapter 9. The Strategy Pattern

Overview

This chapter introduces a new case study, which comes from the area of e-commerce (electronic commerce over the Internet). It also begins a solution using the Strategy pattern. I return to this case study in Chapter 16, “The Analysis Matrix.”

This chapter

•   Returns to the problem of new requirements and describes approaches to handling new variations of an existing theme.

•   Explains which approach is consistent with the Gang of Four’s philosophy and why.

•   Introduces the new case study.

•   Describes the Strategy pattern and shows how it handles a new requirement in the case study.

•   Describes the key features of the Strategy pattern.

An Approach to Handling New Requirements ...

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

Design Patterns Explained: A New Perspective on Object-Oriented Design

Design Patterns Explained: A New Perspective on Object-Oriented Design

Alan Shalloway, James R. Trott
Design It!

Design It!

Michael Keeling

Publisher Resources

ISBN: 0321247140Purchase book