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
- Host: GitHub
- URL: https://github.com/joelhooks/parsley-utilities-chain
- Owner: joelhooks
- Created: 2010-11-08T18:34:34.000Z (about 15 years ago)
- Default Branch: master
- Last Pushed: 2010-11-08T19:17:54.000Z (about 15 years ago)
- Last Synced: 2025-04-04T11:07:46.226Z (9 months ago)
- Language: ActionScript
- Homepage:
- Size: 379 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.textile
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