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 13. Solving the CAD/CAM Problem with Patterns

Overview

In this chapter, I apply Alexander’s suggested approach1 with design patterns to solve the CAD/CAM problem presented in Chapter 3, “A Problem That Cries Out for Flexible Code.”

This chapter

•   Walks you through the methods needed to solve the earlier CAD/CAM problem.

•   Takes you through the initial design phase. The details of implementation are left to you.

•   Compares the new solution with the previous solution.

Review of the CAD/CAM Problem

Chapter 3 described the requirements for the CAD/CAM problem, a real-world problem that first got me on the road to using design patterns.

The problem domain is in computer systems to support ...

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