https://github.com/kuniss/xtendflow-examples
Collects XtendFlow Examples
https://github.com/kuniss/xtendflow-examples
Last synced: 3 months ago
JSON representation
Collects XtendFlow Examples
- Host: GitHub
- URL: https://github.com/kuniss/xtendflow-examples
- Owner: kuniss
- Created: 2015-05-28T18:30:55.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2018-12-28T22:20:40.000Z (over 6 years ago)
- Last Synced: 2025-02-01T15:44:49.330Z (5 months ago)
- Language: Xtend
- Size: 103 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# XtendFlow-Examples
This projects collects arbitrary Examples implemented with the Xtend DSL
[XtendFlow](https://github.com/kuniss/XtendFlow).Currently only one example has been implemented - [ConvertRoman](https://github.com/kuniss/XtendFlow-Examples/tree/master/ConvertRoman).
## [CovertRoman](https://github.com/kuniss/XtendFlow-Examples/tree/master/ConvertRoman)
This example implements a conversion from and to roman numerals. It implements closely the design described in Ralf Westpahl's [article "IODA Architecture by Example"](http://geekswithblogs.net/theArchitectsNapkin/archive/2015/05/02/ioda-architecture-by-example.aspx) making this implementation comparable to the C# based implementation made by him and within better comprehensible.
As an example how close the XtendFlow implementation follows the design diagrams check the following flow chart:

In XtendFlow this is directly mapped to the following flow specification implemented at the constructor of the [function unit class *Body*](https://github.com/kuniss/XtendFlow-Examples/blob/master/ConvertRoman/src/de/grammarcraft/xtend/flow/examples/convertroman/integration/body/Body.xtend):

Who is able to read German, may read [my more detailed blog article](http://blog.grammarcraft.de/2015/11/02/alle-wege-fuehren-nach-rom-ioda-architektur-mit-xtendflow-am-beispiel/) about the implementation.