Futurescale, Inc. PureMVC Home

The PureMVC Framework Code at the Speed of Thought


Over 10 years of community discussion and knowledge are maintained here as a read-only archive.

New discussions should be taken up in issues on the appropriate projects at https://github.com/PureMVC

Show Posts

* | |

  Show Posts
Pages: [1]
1  Announcements and General Discussion / General Discussion / Re: Getting my head around Commands on: November 27, 2008, 07:59:45
Makes perfect sense. 

Thanks alot
2  Announcements and General Discussion / General Discussion / Re: Getting my head around Commands on: November 27, 2008, 07:36:48
Thanks for responding Jason.  I guess I'm in the same camp.  One more question though.  Since Commands are stateless, would you simply load up the notification with the result of the Command execution, perhaps in the body?

Thanks
3  Announcements and General Discussion / General Discussion / Getting my head around Commands on: November 27, 2008, 07:08:18
Hi all,
Just getting started with PureMVC (and Flex really).  The docs don't seem to call it out directly, that I can tell, but it seems that Commands typically don't play a significant role in the execution of granular use case, for example:

"Commands may retrieve and interact with Proxies, send Notifications, execute other Commands, and are often used to orchestrate complex or system-wide activities such as application startup and shutdown."

I may be taking this too literally of course.  Correct me if I'm wrong but it appears that:

  • Mediators tag the viewComponent, or it's children, with event listeners
  • After user interaction, the Mediator's listener methods are fired
  • The Mediator interacts with the proxies to fulfill the use case.

Please correct me if my understanding is incorrect.

Thanks
Pages: [1]