最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

yui - Statechart for javascript like Sproutcore's statechart? - Stack Overflow

programmeradmin4浏览0评论

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
Add a ment  | 

5 Answers 5

Reset to default 4

You 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

发布评论

评论列表(0)

  1. 暂无评论