9
SOFTWARE ENGINEERING ASHIS KUMAR CHANDA LECTURER BRAC UNIVERSITY MVC

MVC

Embed Size (px)

Citation preview

Page 1: MVC

SOFTWARE ENGINEERING

ASHIS KUMAR CHANDALECTURER

BRAC UNIVERSITY

MVC

Page 2: MVC

05/02/2023

2

Introduction

ModelViewController

Page 3: MVC

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

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

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

05/02/2023

6

MVC

Page 7: MVC

05/02/2023

7

Files

Page 8: MVC

05/02/2023

8

Let’s look at the MVC project