Download - MVC in ASP.Net
MVC in C#
CPD TECHNOLOGIESTM
An ISO 9001: 2008 Certified
Email: [email protected] Add:- Block C 9/8, Sector -7, Rohini, Delhi 110085,India
www.cpd-india.com
What is MVC?• MVC stands for Model View Controller • MVC is a one of three programming models. • It is a framework for building web application • Provide full control over HTML, CSS and JavaScript• An Architectural pattern that separates an
application into three logical component.
Components of MVC• Model• View• Controller
View
ControllerModel
Model• Represent data structure• Help to store, update and retrieve data.
View• Information being presented to user• It can be a web page
Controller• Works as a intermediary between model and view. • It process the HTTP request.
Model
• Implement the logic for application data.• Model objects store and retrieve data from
database.• Model can Represent either data that is
being transferred between view and controller.
View
• This component is use for graphically represents the data User Interface (UI).
• It works on HTML, CSS, JQuery etc.• It display the data when event fire by the
user and transform the model as needed. • Views provide an interface to interact with system.
Controller
• It act as a interface between Model and View component.
• Process all the business logic and incoming request.
• Manipulate data using Model component.
Features of MVC
• Divide the application task into three part.• Makes it easier to manage complexity of
an application. • Support for using markup in existing page,
user control and master page.• Support for Test Driven Development
(TDD).• It doesn’t use view state or server based
forms.
Uses of MVC
• Cocoa and GNUstep, based on these technologies.
• The NEXTSTEP and OPENSTEP development environment use MVC.
• Java Swing• Microsoft Foundation Class (MFC)
THANK YOU CPD TECHNOLOGIESTM
BLOCK C 9/8, SECTOR -7, ROHINI, DELHI-110085, INDIA
LANDMARK: NEAR ROHINI EAST METRO STATION,
OPPOSITE METRO PILLAR NO-397
TELEPHONE: 011-65164822
MOBILE: +91- 8860352748
EMAIL: [email protected]
An ISO 9001: 2008 Certified