MVC Programming PatternsMVC is a pattern of creating WEB applications using MVC (Model View Controller-View-Controller) design:
- Model (models) represent the core of the application (such as a list of database records).
- View displays data (database records).
- The controller (Director) processes the input (writes to the database record).
The MVC pattern also provides complete control over HTML, CSS, and JavaScript。
Model is the part of your application that handles application data logic.
Typically, model objects are responsible for accessing data in the database.
View is the part of the application that handles the display of data.
typically views are created from model data. a
controller is a part of an application that handles user interaction.
usually the controller is responsible for reading data from the view, controlling user input, and sending data to the model. MVC layering helps you manage complex applications because you can focus on one aspect at a time. For example, you can focus on view design without relying on business logic. It also makes testing of applications easier. The MVC hierarchy also simplifies group development. Different developers can develop views, controller logic, and business logic at the same time.
Module Division and interactive Design
< Span style= "line-height:25.2px" >< Span style= "line-height:25.2px" >coach Controller (Trainer Control), with the corresponding view of the additional deletion and check
HomeController homepage, you can choose your identity
Refreethe controller (trainer) can see how each score is scored, and how each score is obtained.
The volleyball scoring of the MVC series blog (II.) structure outline design