So what’s up with PureMVC Commands anyway?

That is what Jesse Warden (JesterXL) asks the fine folks over at the PureMVC forums. Cliff gives a good rundown on the why/when/how of PureMVC Commands.

PureMVC’s relatively light use of commands, when compared to other widely used MVC frameworks, tends to make one think they are doing something wrong. This isn’t really the case. Commands are still viable actors in our applications, but many times the shortest route is the best route. PureMVC doesn’t force us to use them, but gives us access when we need to.

I generally use PureMVC Commands for actions that can be initiated from several places, as well as for application startup. I’ve also found them very useful for popups and AIR window management.

Related posts:

  1. Piping the Machine: PureMVC Multicore with Pipes and the Finite State Machine (FSM)
  2. Robotlegs AS3: A Dependency Injection Driven MVCS Framework for Flash/Flex – Inspired by PureMVC
  3. Introspective PureMVC Console
  4. Fabrication – Simplified PureMVC multicore modules (and more)
  5. 5 reasons PureMVC kicks ass

blog comments powered by Disqus

every-sword
every-sword