Thinking in Patterns

You have learned several patterns and have seen Alexander's philosophy of design: start with the big picture and add details. To accomplish this on a software project, I use the following steps:

1.
Find the patterns I have in my problem domain. This is the set of patterns to be analyzed.
2.
For the set of patterns to be analyzed, do the following:
a. Pick the pattern that provides the most context for the other patterns.
b. Apply this pattern to my highest conceptual design.
c. Identify any additional patterns that might have come up. Add them to the set of patterns to be analyzed.
d. Repeat for the sets of patterns that have not yet been analyzed.
3.
Add detail as needed to the design. Expand the method and class definitions. ...

Get Design Patterns Explained: A New Perspective on Object-Oriented Design 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.