mvc
TRANSCRIPT
![Page 1: MVC](https://reader037.vdocument.in/reader037/viewer/2022100115/58ecb5e41a28ab5b548b4769/html5/thumbnails/1.jpg)
SOFTWARE ENGINEERING
ASHIS KUMAR CHANDALECTURER
BRAC UNIVERSITY
MVC
![Page 2: MVC](https://reader037.vdocument.in/reader037/viewer/2022100115/58ecb5e41a28ab5b548b4769/html5/thumbnails/2.jpg)
05/02/2023
2
Introduction
ModelViewController
![Page 3: MVC](https://reader037.vdocument.in/reader037/viewer/2022100115/58ecb5e41a28ab5b548b4769/html5/thumbnails/3.jpg)
05/02/2023
3
View
The view (presentation) is responsible to display the data provided by the model in a specific format.
It has a similar usage with the template modules present in some popular web applications, like wordpress, joomla, …
![Page 4: MVC](https://reader037.vdocument.in/reader037/viewer/2022100115/58ecb5e41a28ab5b548b4769/html5/thumbnails/4.jpg)
05/02/2023
4
Controller
The controller handles the model and view layers to work together.
The controller receives a request from the client, invokes the model to perform the requested operations and sends the data to the View.
The view formats the data to be presented to the user, in a web application as an html output.
![Page 5: MVC](https://reader037.vdocument.in/reader037/viewer/2022100115/58ecb5e41a28ab5b548b4769/html5/thumbnails/5.jpg)
05/02/2023
5
Model
The model is responsible to manage the data;
it stores and retrieves entities used by an application, usually from a database, and contains the logic implemented by the application.
![Page 6: MVC](https://reader037.vdocument.in/reader037/viewer/2022100115/58ecb5e41a28ab5b548b4769/html5/thumbnails/6.jpg)
05/02/2023
6
MVC
![Page 7: MVC](https://reader037.vdocument.in/reader037/viewer/2022100115/58ecb5e41a28ab5b548b4769/html5/thumbnails/7.jpg)
05/02/2023
7
Files
![Page 8: MVC](https://reader037.vdocument.in/reader037/viewer/2022100115/58ecb5e41a28ab5b548b4769/html5/thumbnails/8.jpg)
05/02/2023
8
Let’s look at the MVC project
![Page 9: MVC](https://reader037.vdocument.in/reader037/viewer/2022100115/58ecb5e41a28ab5b548b4769/html5/thumbnails/9.jpg)
05/02/2023
9
Reference
http://php-html.net/tutorials/model-view-controller-in-php/