-
+
MODEL-VIEW-CONTROLLER PROGRAMMING
- MODEL
- a software abstraction that represents the
"internal state" or "functionality" of the program.
- VIEW
- presents some part of the model's state to the
user (typically on-screen, but could be done with sound, speech etc.)
- CONTROLLER
- provides a way to modify the state of the model.
- often used with View and Controller combined
- e.g. on-screen "widget" both changes the state and displays the
state of the model
- most toolkits do not support this very well.
- assumption: any action on View will lead to a change in Model.
- e.g. click on "mode" button will change the Model's mode.