Re: UML Command pattern and Sate Pattern
- From: "Nick Malik [Microsoft]" <nickmalik@xxxxxxxxxxxxxxxxxx>
- Date: Mon, 27 Nov 2006 05:55:39 -0800
Hi Bob,
You need more than the command pattern. You may want to have a look at
Memento.
I have no intention of producing diagrams for you. I do that as part of my
paid work, and then only for app dev leads who are struggling to understand
a basic concept. It takes real time to discuss the classes you have, the
classes you should have, the refactoring to get there, the interaction
design, the goal of the interaction design, seperation of concerns, and
interaction with architectural patterns (like MVC and/or Layers) as well as
communication patterns (like Hub-and-Spoke). If anyone here did that for
you, I'd be surprised (and a little disappointed). Regardless of whether
you are a formal student or a self-taught, you will not learn if we draw the
conclusions for you.
--
--- Nick Malik [Microsoft]
MCSD, CFPS, Certified Scrummaster
http://blogs.msdn.com/nickmalik
Disclaimer: Opinions expressed in this forum are my own, and not
representative of my employer.
I do not answer questions on behalf of my employer. I'm just a
programmer helping programmers.
--
"Bob" <rk20049@xxxxxxxxx> wrote in message
news:1164486594.896279.155680@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi All,
I'm new to Patterns, I would really appreciate if any one can help me
out to solve the below problems?
- Thanks in advance. -Bob
1) Show how the command pattern could be applied in the Monopoly game
design. Include a class diagram and sequence diagrams for do, undo, and
redo.
2) Show how the state pattern would apply to the Property class in the
Monopoly design. What are the states of a Property? How do they change?
Show the class diagram for the Property class with the application of
the state pattern. Show a sequence diagram for one of the state changes.
.
- References:
- UML Command pattern and Sate Pattern
- From: Bob
- UML Command pattern and Sate Pattern
- Prev by Date: Re: Delta
- Next by Date: Half user config and half client prog implemented
- Previous by thread: Re: UML Command pattern and Sate Pattern
- Next by thread: Delta
- Index(es):
Relevant Pages
|