Title: StateMachine with Sub Components State Post by: polykrom on August 13, 2009, 12:43:37 Hi all !
I'm developping a RIA based on PureMvc Framework.. I have a main Application that already use StateMachine to swap from state to state. But in each state, i have components that have also states, so kind of sub states... Is it possible to define these sub states in the injected fsm definition or have i to redefine a fsm for each component ? I try to get examples here and on google it without success. Thanks a lot Title: Re: StateMachine with Sub Components State Post by: polykrom on August 13, 2009, 04:52:11 MMmhh... watching http://forums.puremvc.org/index.php?topic=859.0 and it seems sub states isn't possible without subClassing FMSInjector.
Is there any example of that way ? Have i to create facade for each of my components ? thanks :::Poly::: Title: Re: StateMachine with Sub Components State Post by: polykrom on August 13, 2009, 05:48:45 Ok... sorry for that post,
I've finally found my answer in a previous post ... One stateMachine per Core... http://forums.puremvc.org/index.php?topic=1318.0 and the Pipes philosophy is what i need ;) (the PipeWork demo is a great source of inspiration) Title: Re: StateMachine with Sub Components State Post by: puremvc on August 15, 2009, 06:20:13 Sorry I didn't catch this one quick enough to save you the rummaging around. But it looks like you're on the right track now.
Cheers -=Cliff> Title: Re: StateMachine with Sub Components State Post by: polykrom on August 15, 2009, 06:35:21 Hi Cliff,
Don't worry about that, i can imagine you have a lot of work to give us such fantastics stuffs ! I've successfully implemented StartupManager,AsynchCommand,StateMachine and Pipes in my MultiCore PureMvc application. And it rocks !!! Everything is clear now and will help me to win a lot of time and made my applications more robust and extensible. Keep the good job regards :::Poly::: Title: Re: StateMachine with Sub Components State Post by: puremvc on August 15, 2009, 07:44:26 Right on! Glad to hear it's all coming together for you!
-=Cliff> |