Chapter 23. The Factory Method Pattern

Overview

This chapter continues the international e-commerce case study that was introduced in Chapter 9, “The Strategy Pattern.”

This chapter

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

•   Presents the intent of the Factory Method pattern.

•   Describes the key features of the Factory Method pattern.

•   Describes how the Factory Method pattern has been incorporated into most current object-oriented languages.

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

More Requirements for the Case Study

In Chapter 19, “The ...

Get Design Patterns Explained: A New Perspective on Object-Oriented Design, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.