DEVELOP > c-Plus-Plus > Design Pattern Relationship Diagram - Design Patterns - Gang of Four
| Topic: |
DEVELOP > c-Plus-Plus |
| User: |
"Tim Smith" |
| Date: |
14 Dec 2004 10:23:34 PM |
| Object: |
Design Pattern Relationship Diagram - Design Patterns - Gang of Four |
Dear All,
Silly question, but I am having trouble understanding the diagram on the
inside back cover entitled "Design Pattern Relationships." It shows the
relationships between all of the design patterns. Unfortunately, the book
doesn't exactly explain what it all means. Although it looks very pretty -
would anyone give me some background on its usefulness? For example is it
just illustrating how different patterns come together to solve problems.
An obvious one is the Factory Method (often used by the Template Method),
but the Template method runs off to the Strategy, Strategy to the Decorator
and the Flyweight.
Thank you in advance,
Tim
.
|
|
| User: "Kurt Krueckeberg" |
|
| Title: Re: Design Pattern Relationship Diagram - Design Patterns - Gang of Four |
14 Dec 2004 10:33:51 PM |
|
|
Dear All,
Silly question, but I am having trouble understanding the diagram on the
inside back cover entitled "Design Pattern Relationships." It shows the
relationships between all of the design patterns. Unfortunately, the book
doesn't exactly explain what it all means. Although it looks very
pretty -
would anyone give me some background on its usefulness? For example is it
just illustrating how different patterns come together to solve problems.
Yes.
The term 'pattern language' is sometimes used to describe a set of patterns
that work together to provide an architecture.
An obvious one is the Factory Method (often used by the Template Method),
but the Template method runs off to the Strategy, Strategy to the
Decorator
and the Flyweight.
Thank you in advance,
Tim
.
|
|
|
| User: "Tim Smith" |
|
| Title: Re: Design Pattern Relationship Diagram - Design Patterns - Gang of Four |
15 Dec 2004 11:22:12 AM |
|
|
Ok, understood. But how do I read this diagram. That is, are you saying
that
whenever I use a Factory pattern, there is most likely a Template involved?
What is the diagram trying to say? That is all I want to know.
Silly question, but I am having trouble understanding the diagram on the
inside back cover entitled "Design Pattern Relationships." It shows the
relationships between all of the design patterns. Unfortunately, the
book
doesn't exactly explain what it all means. Although it looks very
pretty -
would anyone give me some background on its usefulness? For example is
it
just illustrating how different patterns come together to solve
problems.
Yes.
The term 'pattern language' is sometimes used to describe a set of
patterns
that work together to provide an architecture.
.
|
|
|
|
|

|
Related Articles |
|
|