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
PureMVC Architects Lounge
Announcements and General Discussion
General Discussion
FSM Injector
Pages: [
1
]
« previous
next »
Author
Topic: FSM Injector (Read 4327 times)
MrMastermind
Newbie
Posts: 3
FSM Injector
«
on:
March 05, 2009, 07:06:12 »
In a current application I see the XML for the stateMachine growing explosively, because a lot of transistion actions need to be duplicated to be available in all states.
Does anyone know a solution to have these transition actions only once in the XML but available in all the states?
Logged
puremvc
Global Moderator
Hero Member
Posts: 2871
Re: FSM Injector
«
Reply #1 on:
March 05, 2009, 08:10:41 »
Perhaps I can modify the XML schema for the FSM injector to additionally allow definition of transitions that are crosscutting all or many states. For instance, in an AIR app, I'd like to leave a URLMonitor running and any time the app goes offline, regardless of what state its in, I'd like it to transition to the 'offline' state. So I'd currently need to define that transition for every state.
I'll ruminate on this a bit and get back to you.
-=Cliff>
Logged
MrMastermind
Newbie
Posts: 3
Re: FSM Injector
«
Reply #2 on:
March 05, 2009, 08:30:43 »
Thanks Cliff. I'll watch the forum
For now we'll loop through the XML and add common transition nodes to the state nodes before calling the FSMInjector.
Cheers,
Marco
Logged
Pages: [
1
]
« previous
next »
Stack Overflow
GitHub
Linked In
Google Plus
Twitter
Powered by SMF 2.0.15
|
SMF © 2006-2007, Simple Machines LLC
|
Content © 2006-2018, Futurescale, Inc.
Loading...