PHP MVC development model

Create a Web application design patterns MVC is a (- - Model View Controller Model View Controller) using MVC.

Model (model) is a portion for processing the application logic of the application data.
  Model object is responsible for access to the database.

View (View) is a partial processing data applications.
  Typically view displays the acquired data model.

Controller (Controller) is a part of the application processing user interaction.
  The controller accepts user input and calls the model and view to the completion of the needs of users, so when a hyperlink and click send HTML form on the Web page, the controller itself does not output anything and do anything. It only receives the request and determines which model data member data call to process the request, and then decide which view to display the returned data.

MVC hierarchical grouping also simplifies development. Different developers can develop simultaneously view, controller logic and business logic. It is mandatory for the application of the input, processing and output separately.

Guess you like

Origin www.cnblogs.com/CWJDD/p/11464920.html