wiki:news:1jan2016
Differences
This shows you the differences between two versions of the page.
Next revisionBoth sides next revision | |||
wiki:news:1jan2016 [2016/01/02 14:48] – created pmueller | wiki:news:1jan2016 [2016/01/02 14:51] – pmueller | ||
---|---|---|---|
Line 16: | Line 16: | ||
The key benefits of UML regions are: | The key benefits of UML regions are: | ||
- | - concurrent | + | * Unordered List Itemconcurrent |
- | - everything is shown on one page | + | |
The drawbacks are: | The drawbacks are: | ||
- | - The diagrams can become quite large. Our diagram just shows some states. Reality might be much more complex. | + | |
- | - As a direct consequence one has to scroll back and forth all the time when working on different parts of the model | + | * As a direct consequence one has to scroll back and forth all the time when working on different parts of the model |
- | - Refining behavior in concurrent regions makes the parent state containing the regions bigger and bigger. Depending on the modeling tool features’ this often has the consequence that a lot of work is going into moving states around to make space for new ones instead on focussing on the design work itself. | + | * Refining behavior in concurrent regions makes the parent state containing the regions bigger and bigger. Depending on the modeling tool features’ this often has the consequence that a lot of work is going into moving states around to make space for new ones instead on focussing on the design work itself. |
+ | |||
+ | ===== Alternative solution ===== | ||
- | Alternative solution | ||
To reduce the complexity good practice in engineering is to break down the problem into smaller pieces. In software this good approach means to put the subsystem state machines into their own state diagrams. | To reduce the complexity good practice in engineering is to break down the problem into smaller pieces. In software this good approach means to put the subsystem state machines into their own state diagrams. | ||
Line 44: | Line 45: | ||
{{: | {{: | ||
- | Connecting state machines | + | ===== Connecting state machines |
For communication between state machines different solutions are available. | For communication between state machines different solutions are available. | ||
- | What is actually used depends a lot on the overall system needs and system features e.g. with/ | + | What is actually used depends a lot on the overall system needs and system features e.g. with/ |
+ | |||
+ | |||
+ | ===== Conclusion ===== | ||
+ | |||
+ | Separating a system into different subsystems running their own state machines is a well know design practice and helps to better keep complex developments under control. | ||
+ | Hope you enjoyed this article. Let me know your feedback! | ||
+ | Peter | ||
- | Conclusion | + | {(rater> |
- | Separating a system into different subsystems running their own state machines is a well know design practice and helps to better keep complex developments under control. | + | ~~DISCUSSION|Leave your comments~~ |
wiki/news/1jan2016.txt · Last modified: 2022/04/06 12:01 by pmueller