Skip to content

Latest commit

 

History

History

Morse

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
Contents Overview Examples Editor Forum

This example demonstrates different techniques of using SCXML data models in applications

morse_widget

Table of contents

1. Pure NULL datamodel

morse_null

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

2. Null datamodel with parser written on application side

morse_null_c

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++

3. EcmaScript datamodel

morse_ecma

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