In Sproutcore there is a statechart framework I can use for giving the application states which holds actions for what you can do in different states.
I wonder if there is a similar standalone statechart framework I can use outside Sproutcore eg. in conjunction with YUI3.
In Sproutcore there is a statechart framework I can use for giving the application states which holds actions for what you can do in different states.
I wonder if there is a similar standalone statechart framework I can use outside Sproutcore eg. in conjunction with YUI3.
Share Improve this question asked May 21, 2011 at 4:54 ajsieajsie 79.9k110 gold badges284 silver badges387 bronze badges 1- 2 Ki (the SC statechart framework) is pretty awesome....it would be nice if one could use it outside of SC... – hvgotcodes Commented May 21, 2011 at 15:26
5 Answers
Reset to default 4You were about ten days early asking the question. Michael Cohen found this: https://github./jakesgordon/javascript-state-machine/ which appears to have surfaced June 1.
There is a framework called Stativus:
https://github./etgryphon/stativus
It is essentially the factored out version of Sproutcore state chart framework. I'm using it on the project and quite happy with it.
Documentation is unfortunately too simplistic, however library is quite small and easy to use. I'm working on the blog post about it right now, it will be posted in my blog http://zubairov.posterous. soon.
I wrote this, which should also do the job: https://github./jbeard4/SCION
FSM !== Statecharts. I wrote an answer about parison of FSM and Statecharts here
As I posted in another question, there is also statechart by David Durman. And, a new one: xstate, https://github./davidkpiano/xstate