Contents | Overview | Examples | Editor | Forum |
---|
This example demonstrates different techniques of using SCXML data models in applications
Proc:
- program logic is completely written in SCXML with NULL datamodel without any dependencies
- may be run on all SCXML platforms
Cons:
- encoding logic is too difficult for designing
Consists of 2 parts:
- event processor (written in SCXML with NULL datamodel)
- encoder (written in C++)
Proc:
- state chart is tiny
- encoding logic is easy to design in C++
Cons:
- not portable to other languages except C++
Proc:
- program logic is completely written in SCXML with EcmaScript datamodel
- state chart is tiny
Cons:
- not all SCXML platforms support EcmaScript
TOP | Contents | Overview | Examples | Editor | Forum |
---|