I have learnt more about the Model-View-Controller (MVC) through the
http://wiki.squeak.org/squeak/1767. I have learnt that MVC is the pattern behind the traditional SmallTalk80 user interface and is one of the earliest and most successful design patterns. MVC was developed in 1979 by Tygve Reenskaug.
In MVC the user input, modelling of the external world and the visual feedback to the user are separated and handled by 3 types of object:
- The view manages the graphical and/or textual output
- The controller interprets the mouse and keyboard inputs from the user
- And, the model manages the behaviour and data of the application domain, responds to requests for information about its state, and responds to instructions to change its current state.
References
- http://wiki.squeak.org/squeak/1767
- http://guides.rubyonrails.org/getting_started.html
No comments:
Post a Comment