quote: See the State Pattern in Design Patterns for an implementation of the Context pattern.The "model" is just a collaborating object used in many of Mr. Simpson''s patterns, but it really isn''t a pattern unto itself. Consider the "Command" pattern in Design Patterns. The 5 objects, the Client, the Invoker, the Command, the Receiver, and the Concrete Command are all actors in the pattern, but each of these objects isn''t worthy of a pattern. Their participation together is the command pattern.
Excess Patterns?
First, let me express my appreciation for the thoughts and effort that were put into the patterns in the GD pattern list. That stuff takes time to think about and then submit.
It is my suggestion to remove the Context/Virtual-Self and Model Pattern from the GD patterns list.
I think the Context pattern is essentially the "State" pattern from the Design Patterns book:
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement