model-view-controller (MVC) design pattern for successfully and efficiently relating the user interface to underlying data models.
The MVC pattern is widely used in program development with programming languages such as Java, Smalltalk, C, and C++.
The MVC pattern : for the reuse of object code and a pattern that allows them to significantly reduce the time it takes to develop applications with user interfaces.
three main components or objects to be used in software development:
1)A Model , which represents the underlying, logical structure of data in a software application and the high-level class associated with it. This object model does not contain any information about the user interface.
2)A View , which is a collection of classes representing the elements in the user interface (all of the things the user can see and respond to on the screen, such as buttons, display boxes, and so forth)
3)A Controller , which represents the classes connecting the model and the view, and is used to communicate between classes in the model and view.
4主流框架: Struts, JSF,