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:
External world modeling and visual user feedback are separated and managed by the Model, View, and Controller objects:
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

