Skip to content
/ MVC Public

Model View Controller (MVC) architecture

Notifications You must be signed in to change notification settings

DEVKEWI-zz/MVC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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