Tutorial example HelloDependsOn
Files
In tutorial example HelloDependsOn functional dependencies between Nodes are introduced
- Nodes textNode1 and textNode2 are both editable via a TextView.
- Node captionNode will be recomputed whenevere textNode1 or textNode2 changes.
- The new value of captionNode is computed by concatenating the new values of textNode1 and textNode2.
Note that only textNode1 and textNode2 are persisted.
There's no point in persisting captionNode, since its value is computed from textNode1 and textNode2.