In this chapter students will be able to: Creating the application, exploring the application folders, adding styles and a consistent look (layout), adding a controller, adding views for displaying the application. | CSC 330 E-Commerce Teacher Ahmed Mumtaz Mustehsan GM-IT CIIT Islamabad Virtual Campus, CIIT COMSATS Institute of Information Technology T2-Lecture-14 MVC Part - I For Lecture Material/Slides Thanks to: Objectives Introduction MVC Application MVC Folders MVC Layout MVC Controllers MVC Views MVC Database MVC Models T2-Lecture-14 Ahmed Mumtaz Mustehsan 1- Introduction Introduction is a development framework for building web pages and web sites with HTML, CSS, JavaScript and server scripting. supports three different development models: Web Pages MVC (Model View Controller) Web Forms. T2-Lecture-14 Ahmed Mumtaz Mustehsan 1- The MVC Programming Model MVC is one of three programming models. It is a framework for building web applications using a MVC (Model View Controller) design: The Model represents the application core (for instance a list of database records). The View displays the data (the database records). The Controller handles the input (to the database records). The MVC model also provides full control over HTML, CSS, and JavaScript. T2-Lecture-14 Ahmed Mumtaz Mustehsan 1- The MVC Programming Model The MVC model defines web applications with three logic layers: The business layer (Model logic) The display layer (View logic) The input control (Controller logic) T2-Lecture-14 Ahmed Mumtaz Mustehsan 1- The MVC Programming Model The Model: is the part of the application that handles the logic for the application data. The model objects retrieve data (and store data) from a database. The View: is the parts of the application that handles the display of the data. Most often the views are created from the model data. The Controller: is the part of the application that handles user interaction. Typically controllers read data from a view folder, control user input, and send input data to the model. The MVC Model: separation . | CSC 330 E-Commerce Teacher Ahmed Mumtaz Mustehsan GM-IT CIIT Islamabad Virtual Campus, CIIT COMSATS Institute of Information Technology T2-Lecture-14 MVC Part - I For Lecture Material/Slides Thanks to: Objectives Introduction MVC Application MVC Folders MVC Layout MVC Controllers MVC Views MVC Database MVC Models T2-Lecture-14 Ahmed Mumtaz Mustehsan 1- Introduction Introduction is a development framework for building web pages and web sites with HTML, CSS, JavaScript and server scripting. supports three different development models: Web Pages MVC (Model View Controller) Web Forms. T2-Lecture-14 Ahmed Mumtaz Mustehsan 1- The MVC Programming Model MVC is one of three programming models. It is a framework for building web applications using a MVC (Model View Controller) design: The Model represents the application core (for instance a list of database records). The View displays the data .