Views

De ZanPHP

The views are responsible for showing or request data to the user. The controller is responsible for loading the view with data obtained by the models. That's how the MVC design pattern works.

Views should be named as follows: view.myview.php and must be located in the /views of each application.

Another important aspect to mention about the directory /views, is that this can be created within the /css, /js or /images, where can be placed style sheets, scripts and images that will be used only by the application.


Es.png Vistas

Left.png Controllers Models Right.png

Herramientas personales