O'Reilly logo

Design Patterns Explained: A New Perspective on Object-Oriented Design, Second Edition by Alan Shalloway, James R. Trott

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 18. The Observer Pattern

Overview

This chapter continues the international e-commerce case study started in Chapter 9, “The Strategy Pattern,” and continued in Chapter 16, “The Analysis Matrix.”

This chapter

•   Introduces the categorization scheme of patterns.

•   Introduces the Observer pattern by discussing additional requirements for the case study.

•   Applies the Observer pattern to the case study.

•   Describes the Observer pattern.

•   Describes the key features of the Observer pattern.

•   Describes some of my experiences using the Observer pattern in practice.

Categories of Patterns

There are many patterns to keep track of. To help sort this out, the Gang of Four ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required