learning MVC
source: http://st-www.cs.uiuc.edu/users/smarch/st-docs/mvc.html
Basic Concepts:
Basic Concepts:
In the MVC paradigm the user input, the modeling of the external world, and the visual feedback to the user are explicitly separated and handled by three types of object, each specialized for its task. The view manages the graphical and/or textual output to the portion of the bitmapped display that is allocated to its application. The controller interprets the mouse and keyboard inputs from the user, commanding the model and/or the view to change as appropriate. Finally, the model manages the behavior and data of the application domain, responds to requests for information about its state (usually from the view), and responds to instructions to change state (usually from the controller).
Powered by ScribeFire.
posted on 2007-04-26 10:07 CrazyCoder 阅读(415) 评论(0) 编辑 收藏 举报