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 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 ...

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