6 ms·
SCXML is a universal standard which means it could be consumed by any programming language.
by jlu 6y ago
SCXML is a universal standard which means it could be consumed by any programming language.
- dmitryminkovsky 6y agoBut I’m only implementing my machine in one language, why would this be useful? When do I need the same machine in multiple environments? Or are you referring to things like tooling for visualization etc?
- CitizenKane 6y agoIt could be useful in a number of scenarios. For instance you may want to resolve state between a front-end and a back-end, so the ability to make transitions on both could be very useful.
- jlu 6y agoAs @CitizenKane pointed out, reusing statcharts between backend and frontend is a growingly popular use case. Another benefit is you could use any visual tool (preferably web-based with collaborative capabilities so that all stackholders could work togehter) for state modeling to encapsulate business logics completely in statechart then export SCXML to any language you might be using.