An open API service indexing awesome lists of open source software.

https://github.com/joelhooks/parsley-utilities-chain

Simple Parsley Command Chaining
https://github.com/joelhooks/parsley-utilities-chain

Last synced: 9 months ago
JSON representation

Simple Parsley Command Chaining

Awesome Lists containing this project

README

          

This utility is a way to create a Finite State Machine (FSM) for a Parsley Context. The FSM documents and manages a series of N-Branching commands in a chain. The Chain is created either declaratively through MXML configuration or via actionscript. It will respond dynamically to messages within a Context and trigger Parsley style Commands. The logic from moving from state to state is left up to the developer. The Chain will move to a different link based on events and mapped connections to other links within the Chain.

This is currently a *proof of concept* project and should not be used for production.

h3. Example Usage

This is an example of how the chain can be declared in a Parsley MXML configuration:

 

















h3. Building

You will need to link to the manifest.xml to take advantage of the declarative style shown above.
Requires Parsley 2.3