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 24. Summary of Factories

Overview

I summarize the lessons you’ve learned in this section. I also put into perspective the three main tasks of creating and using objects:

1.   Identifying your objects based on the responsibilities they have to fulfill. Commonality and variability analysis prove extremely useful here.

2.   Deciding how to use these objects. This is primarily about object relationships, which is what many of the patterns are about.

3.   Deciding how to manage these objects. This is where factories come in.

I summarize the advantages of dividing your software development tasks into separate steps that deal with only one of these issues.

Steps in the Software Process

When ...

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