Changes between Version 1 and Version 2 of mvc


Ignore:
Timestamp:
06/13/22 09:52:34 (3 years ago)
Author:
wouter
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • mvc

    v1 v2  
    33Model View Controller, or MVC in short, is a software design pattern used to develop [https://en.wikipedia.org/wiki/Graphical_user_interface GUI]s.
    44
    5 The details of the approach are explained well on the [https://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93controller MVC wiki page].
     5The details of the approach are explained well on the [https://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93controller MVC wiki page]. In short,
     6* A model contains the data that the user is adjusting.
     7* A view shows the data in a GUI to the user (eg, graph, text field, slider position)
     8* A controller allows the user to change the data (eg dragging sliders, entering text or numbers, clicking check boxes)
     9
     10A view and controller can, and often are, merged into a single component. For example a slider shows the current value, but the user can also drag the slider; or a checkbox shows the current setting (on or off) while the user can simply click on it to toggle the value.
     11