Statechart for javascript e.g. Sproutcore statechart?

Sproutcore has a statechart structure that I can use to provide the states of an application that contains actions for what you can do in different states.

I wonder if there is a similar standalone statechart structure that I can use outside of Sproutcore, for example. in combination with YUI3.

+4
source share
5 answers

You were about ten days earlier asking a question. Michael Cohen found this: https://github.com/jakesgordon/javascript-state-machine/ , which seems to have appeared on June 1st.

+4
source

There is a structure called Stativus:

https://github.com/etgryphon/stativus

This is essentially a factorized version of the Sproutcore state diagram structure. I use it in the project and am very pleased with it.

The documentation, unfortunately, is too simplified, but the library is quite small and easy to use. I am currently working on a blog post, it will be published on my blog http://zubairov.posterous.com soon.

+4
source

I wrote this that should also do the job: https://github.com/jbeard4/SCION

+1
source

FSM! == Statecharts. I wrote an answer about comparing FSM and Statecharts here

0
source

As I wrote in another question, there is also the state chart of David Datura. And new: xstate, https://github.com/davidkpiano/xstate

0
source

All Articles