4

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.

ajsie
  • 77,632
  • 106
  • 276
  • 381
  • 2
    Ki (the SC statechart framework) is pretty awesome....it would be nice if one could use it outside of SC... – hvgotcodes May 21 '11 at 15:26

5 Answers5

4

You were about ten days early asking the question. Michael Cohen found this: https://github.com/jakesgordon/javascript-state-machine/ which appears to have surfaced June 1.

Community
  • 1
  • 1
pjmorse
  • 9,204
  • 9
  • 54
  • 124
4

There is a framework called Stativus:

https://github.com/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.com soon.

Renat
  • 263
  • 3
  • 13
1

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

jbeard4
  • 12,664
  • 4
  • 57
  • 67
0

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

Community
  • 1
  • 1
etgryphon
  • 166
  • 1
  • 5
0

As I posted in another question, there is also statechart by David Durman. And, a new one: xstate, https://github.com/davidkpiano/xstate

Josef.B
  • 942
  • 8
  • 16