(view) views
A view is an interface that the user sees and interacts with. For older Web applications, views are an interface of HTML elements, and in modern Web applications,HTML still plays an important role in the view, but new technologies are emerging, including Macromedia Flash and some identity languages such as XHTML, xml/xsl,WML, and webservices.
The view of this software provides users with a visual interface and operation. To enable users to clearly understand the use of software features. View is presented to the user through controler invocation;
Before designing the view, take a look at which function the view is placed in:
The view is placed in the views file of the project folder. Before generating a view, you need to design the controler first, and here we design the view first. The view is then added by Controler;
The main view is rendered by the home controller.
View Final effect:
Scoreboard interface:
Audience interface:
The three main pages look like this, and then the code controls in the controller and view are specified.
The volleyball competition scoring program of MVC--(four) design and implementation of view