Skip to content

Latest commit

 

History

History
37 lines (30 loc) · 1.3 KB

README.md

File metadata and controls

37 lines (30 loc) · 1.3 KB

MVC

Model View Controller (MVC) architecture pattern with the same model of an application interface, in a model, a view and a controller.

In the MVC pattern, we would then map each of these three parts to the MVC pattern as illustrated in the image below:

Image

External world modeling and visual user feedback are separated and managed by the Model, View, and Controller objects:

Image

The map of the structure folder is below:

application/
├── controllers/
│   ├── Controller.class.php
│   ├── ErrorController.class.php (Error 404 = Page not found)
│   ├── HomeController.class.php (OK = Home page)
├── models/
├── views/
│   ├── default/
│       ├── header.php
│       ├── footer.php
│   ├── pages/
│       ├── error.php (Page 404)
│       ├── home.php (Home page)
settings/
├── config.php
├── routers/
│   ├── Router.class.php
│   ├── RouterManager.class.php
assets/

Join us! Developer Nation

Image