model-view-update
An architecture for responsive programs pioneered by Elm.
In this architecture, there are three kinds of values.
- State
- The internal state of the program.
- Message
- An indication that the program state should change in some way.
- View
- A representation of program state, including a mapping from end-user actions to messages.
Mathematically, an MVU program for a given view set consists of the following data.
- A state set .
- A message set .
- A view function .
- An update function .
- The initial state .