What is the best definition of MVC?

后端 未结 7 1087
闹比i
闹比i 2020-12-14 04:27

I have been using the Zend Framework with an MVC configuration, read about Ruby on Rails and I plan to explore other MVC frameworks in Python (Django?). I really like the wa

7条回答
  •  Happy的楠姐
    2020-12-14 04:31

    The model-view-controller pattern proposes three main components or objects to be used in software development:

    • 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.
    • 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)
    • A Controller , which represents the classes connecting the model and the view, and is used to communicate between classes in the model and view.

提交回复
热议问题