JavaScript

StateMachines in JavaScript… on the path to programmable workflows

In the need for a Sequential Workflow for JavaScript applications, I was lucky to find a great StateMachine implementation of a Finite StateMachine…

Unfortunately, I wasn’t really looking for a Finite StateMachine, but more of a Sequential Workflow that I can use to drive an application consisting of a distinct set of actions in a predictable order… Anyways…

Jakes Gordon has gone the effort of implementing a swift and cleverly designed finite statemachine and made it available on GitHub… its entirely standalone and has no dependencies on other frameworks or libraries.

If you are familiar with using finite statemachines, it will come easy to use the library, otherwise Jakes has formulated a well articulated and easily-understandable ReadMe…
https://github.com/jakesgordon/javascript-state-machine/#readme

Jakes has documented the library well, and is providing a great example on how to use it in a graphical way…
Image
http://codeincomplete.com/posts/2011/8/19/javascript_state_machine_v2/example/

Anyways, check out the library if you are in need of a finite statemachine for your JavaScript applications…
https://github.com/jakesgordon/javascript-state-machine/

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s