Re: UML Command pattern and Sate Pattern



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.



.



Relevant Pages

  • Re: blues rhythm exercise picking pattern
    ... pick style pattern one ... other than the arrows or the use of DU letter notation. ... Strumming Technique Diagram ... That is the conventional way chord ...
    (alt.guitar.beginner)
  • UML Command pattern and Sate Pattern
    ... Show how the state pattern would apply to the Property class in the ... Show the class diagram for the Property class with the application of ...
    (comp.object)
  • Re: Pentatonic scale issue
    ... Hi John, It's my understanding that they are saying that's wrong. ... On page 4 of John's pdf, that's the pattern I have memorized, all 5 ... things on the diagram that might have been confusing you. ...
    (alt.guitar.beginner)
  • Re: SVG Based Causal Diagram Editor
    ... given juggler other than R L R L R L. So it can't diagram Jim's ... multifrequency patterns & being able to output/read a siteswap sequence ... I liked your explanation of the siteswap 0 and the -2 arrow, ... especially that you explicitly mentioned asynchronous RL pattern. ...
    (rec.juggling)
  • Re: A "new" method for improving my site reading?
    ... I think my students would find the diagram more difficult ... reading of the staves by themselves - which is your ultimate goal. ... clever person with learning processing difficulties. ... one symbol or pattern at a time. ...
    (rec.music.makers.piano)