Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kuniss/xtendflow-examples
Collects XtendFlow Examples
https://github.com/kuniss/xtendflow-examples
Last synced: about 1 month ago
JSON representation
Collects XtendFlow Examples
- Host: GitHub
- URL: https://github.com/kuniss/xtendflow-examples
- Owner: kuniss
- Created: 2015-05-28T18:30:55.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2018-12-28T22:20:40.000Z (about 6 years ago)
- Last Synced: 2023-03-29T13:32:35.761Z (almost 2 years 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:
![FlowChart](https://gwb.blob.core.windows.net/thearchitectsnapkin/Windows-Live-Writer/df23fce65724_C742/image_15.png)
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):
![de.grammarcraft.xtend.flow.examples.convertroman.integration.body.Body.xtend](http://blog.grammarcraft.de/wp-content/uploads/2015/10/Body-XtendFlow-Flow-Declarations.jpg)
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.