SlideShare a Scribd company logo
MVC
Software Design & Architecture
Lecture 9
What is MVC ?
• It stands for Model View Controller
• It is an Architectural Pattern
• (What is an Architectural Pattern ? )
• Architectural Pattern covers the whole
architecture of our application. It is a kind of
design pattern which has much broader scope
• For example normal design patterns are used
for solving specific technical problems in our
application whereas an achitectural pattern is
used to solve the architectural problems in
our application
• So it basically effect the entire architecture of
our application.
• MVC divides the application into three parts.
• MODEL
• VIEW
• CONTROLLER
• Each of these parts have some specific
responsibilities.
• Lets see how MVC pattern is applied in a web
application
MVC
• In object-oriented programming development,
model-view-controller (MVC) is the name of a
methodology or design pattern for
successfully and efficiently relating the user
interface to underlying data models. The MVC
pattern is widely used in program
development with programming languages
such as Java, Smalltalk, C, and C++.
• The model-view-controller pattern proposes
three main components or objects to be used
in software development:
• A Model , which represents the underlying,
logical structure of data in a software
application and the high-level class associated
with it. This object model does not contain
any information about the user interface.
• A View , which is a collection of classes
representing the elements in the user
interface (all of the things the user can see
and respond to on the screen, such as
buttons, display boxes, and so forth)
• A Controller , which represents the classes
connecting the model and the view, and is
used to communicate between classes in the
model and view.
MVC Working
MVC Working
MVC Working
MVC Working
MVC Working
MVC Working
MVC Working
MVC Working
MVC
MVC Working
MVC Working
MVC Working
MVC Working
Business Logic in MVC
• Business logic is the custom rules or
algorithms that handle the exchange of
information between a database and user
interface. Business logic is essentially the part
of a computer program that contains the
information (in the form of business rules)
that defines or constrains how a business
operates. initially was used as an architectural
pattern for graphical user interfaces(GUI).
Advantage of MVC
• A main advantage of MVC is separation of
concern. Separation of concern means we
divide the application Model, Control and
View. We can easily maintain our application
because of separation of concern. In the same
time we can split many developers work at a
time.
Advantage of MVC
• Model View Controller is a
predictable software design pattern that can
be used across many frameworks with many
programming languages,
commonly Python, Ruby, PHP, JavaScript, and
more. It is popularly used to design web
applications and mobile apps.
Interactive System using MVC
• Interactive system are the system that are
handled with the collaboration of human and
computers.
• Different game like firing games racing games.
• Mobile phones
• World wide web(online system)
• Cash dispatching macine like ATM
Interactive System using MVC
Steps of Interactive System
• Identify user needs
• Evaluate
• design
• Build interactive system

More Related Content

PPTX
Architectural Design & Patterns
Inocentshuja Ahmad
 
PPT
Mvc 130330091359-phpapp01
Jennie Gajjar
 
PDF
MVC Seminar Presantation
Abhishek Yadav
 
PDF
Mvc Architecture in a web based application
OnGraph Technologies Pvt. Ltd.
 
PPTX
Mobile App Architectures & Coding guidelines
Qamar Abbas
 
PPT
Web engineering - MVC
Nosheen Qamar
 
PPTX
Mvc vs mvp vs mvvm a guide on architecture presentation patterns
Concetto Labs
 
Architectural Design & Patterns
Inocentshuja Ahmad
 
Mvc 130330091359-phpapp01
Jennie Gajjar
 
MVC Seminar Presantation
Abhishek Yadav
 
Mvc Architecture in a web based application
OnGraph Technologies Pvt. Ltd.
 
Mobile App Architectures & Coding guidelines
Qamar Abbas
 
Web engineering - MVC
Nosheen Qamar
 
Mvc vs mvp vs mvvm a guide on architecture presentation patterns
Concetto Labs
 

Similar to MVC.pptx (20)

PDF
Verbal+Visual: MVC Structure. Model, View, Controller.
Anshey Bhatia
 
PPTX
Mvc pattern and implementation in java fair
Tech_MX
 
PPTX
What Are The Benefits Of Using MVC Framework In ASP.NET Development.pptx
QuickwayInfoSystems3
 
PPTX
What Are The Benefits Of Using MVC Framework In ASP.NET Development.pptx
QuickwayInfoSystems3
 
PPTX
5_6163495906206292160 for study purpose.pptx
abhinavas7012
 
PPTX
Pattern oriented architecture for web based architecture
shuchi tripathi
 
PDF
MVC - In Details
Mollah Nayeem Ahmed
 
PPT
Why MVC?
Wayne Tun Myint
 
PDF
mvc development company in UK.
Techrishblogger
 
PDF
MVC Architecture: A Detailed Insight to the Modern Web Applications Developme...
CrimsonpublishersPRSP
 
PPTX
An Introduction To Model  View  Controller In XPages
Ulrich Krause
 
PPTX
Exploring MVVM, MVC, MVP Patterns - CRB Tech
Pooja Gaikwad
 
PPTX
Struts introduction
Muthukumaran Subramanian
 
PDF
Models used in iOS programming, with a focus on MVVM
Andrei Popa
 
PDF
mvc development company in UK
Techrishblogger
 
DOCX
IntroductionToMVC
Akhil Mittal
 
PPT
Ppt of Basic MVC Structure
Dipika Wadhvani
 
PPTX
Ps02 cint24 mvc in php
Conestoga Collage
 
PDF
Choosing the Right HTML5 Framework to Build your Mobile Web Application White...
RapidValue
 
Verbal+Visual: MVC Structure. Model, View, Controller.
Anshey Bhatia
 
Mvc pattern and implementation in java fair
Tech_MX
 
What Are The Benefits Of Using MVC Framework In ASP.NET Development.pptx
QuickwayInfoSystems3
 
What Are The Benefits Of Using MVC Framework In ASP.NET Development.pptx
QuickwayInfoSystems3
 
5_6163495906206292160 for study purpose.pptx
abhinavas7012
 
Pattern oriented architecture for web based architecture
shuchi tripathi
 
MVC - In Details
Mollah Nayeem Ahmed
 
Why MVC?
Wayne Tun Myint
 
mvc development company in UK.
Techrishblogger
 
MVC Architecture: A Detailed Insight to the Modern Web Applications Developme...
CrimsonpublishersPRSP
 
An Introduction To Model  View  Controller In XPages
Ulrich Krause
 
Exploring MVVM, MVC, MVP Patterns - CRB Tech
Pooja Gaikwad
 
Struts introduction
Muthukumaran Subramanian
 
Models used in iOS programming, with a focus on MVVM
Andrei Popa
 
mvc development company in UK
Techrishblogger
 
IntroductionToMVC
Akhil Mittal
 
Ppt of Basic MVC Structure
Dipika Wadhvani
 
Ps02 cint24 mvc in php
Conestoga Collage
 
Choosing the Right HTML5 Framework to Build your Mobile Web Application White...
RapidValue
 
Ad

Recently uploaded (20)

PPTX
The Satavahanas.pptx....,......,........
Kritisharma797381
 
PDF
neurons-1hhdbbbsjndjnnbbdjndnnndj30501.pdf
Rahul954607
 
PPTX
Aldol_Condensation_Presentation (1).pptx
mahatosandip1888
 
DOCX
Amplopxxxxxxxxxvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
Lm Hardin 'Idin'
 
PPTX
Economics Reforms of Alauddin Khilji.pptx
Kritisharma797381
 
PDF
SS27 Environments & Design Trend Book Peclers Paris
Peclers Paris
 
PDF
Dunes.pdf, Durable and Seamless Solid Surface Countertops
tranquil01
 
PPTX
Artificial Intelligence presentation.pptx
snehajana651
 
PPTX
designing in footwear- exploring the art and science behind shoe design
madhuvidya7
 
PDF
Unlimited G+12 Dubai DM exam questions for contractor
saniyashaik2089
 
PDF
Home_Decor_Presentation and idiea with decor
sp1357556
 
PDF
SS27 Women's Fashion Trend Book Peclers Paris
Peclers Paris
 
PPTX
Landscape assignment for landscape architecture
aditikoshley2
 
PDF
Garage_Aluminium_Doors_PresenGarage Aluminium Doorstation.pdf
Royal Matrixs
 
PDF
Kitchen_Aluminium_Doors_Prices_Presentation.pdf
Royal Matrixs
 
PPT
UNIT- 2 CARBON FOOT PRINT.ppt yvvuvvvvvvyvy
sriram270905
 
PDF
Fashion project1 kebaya reimagined slideshow
reysultane
 
PPTX
MALURI KISHORE-.pptxdsrhbcdsfvvghhhggggfff
sakthick46
 
PDF
Interior design technology LECTURE 28.pdf
SasidharReddyPlannin
 
PDF
Line Sizing presentation about pipe sizes
anniebuzzfeed
 
The Satavahanas.pptx....,......,........
Kritisharma797381
 
neurons-1hhdbbbsjndjnnbbdjndnnndj30501.pdf
Rahul954607
 
Aldol_Condensation_Presentation (1).pptx
mahatosandip1888
 
Amplopxxxxxxxxxvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
Lm Hardin 'Idin'
 
Economics Reforms of Alauddin Khilji.pptx
Kritisharma797381
 
SS27 Environments & Design Trend Book Peclers Paris
Peclers Paris
 
Dunes.pdf, Durable and Seamless Solid Surface Countertops
tranquil01
 
Artificial Intelligence presentation.pptx
snehajana651
 
designing in footwear- exploring the art and science behind shoe design
madhuvidya7
 
Unlimited G+12 Dubai DM exam questions for contractor
saniyashaik2089
 
Home_Decor_Presentation and idiea with decor
sp1357556
 
SS27 Women's Fashion Trend Book Peclers Paris
Peclers Paris
 
Landscape assignment for landscape architecture
aditikoshley2
 
Garage_Aluminium_Doors_PresenGarage Aluminium Doorstation.pdf
Royal Matrixs
 
Kitchen_Aluminium_Doors_Prices_Presentation.pdf
Royal Matrixs
 
UNIT- 2 CARBON FOOT PRINT.ppt yvvuvvvvvvyvy
sriram270905
 
Fashion project1 kebaya reimagined slideshow
reysultane
 
MALURI KISHORE-.pptxdsrhbcdsfvvghhhggggfff
sakthick46
 
Interior design technology LECTURE 28.pdf
SasidharReddyPlannin
 
Line Sizing presentation about pipe sizes
anniebuzzfeed
 
Ad

MVC.pptx

  • 1. MVC Software Design & Architecture Lecture 9
  • 2. What is MVC ? • It stands for Model View Controller • It is an Architectural Pattern • (What is an Architectural Pattern ? ) • Architectural Pattern covers the whole architecture of our application. It is a kind of design pattern which has much broader scope
  • 3. • For example normal design patterns are used for solving specific technical problems in our application whereas an achitectural pattern is used to solve the architectural problems in our application • So it basically effect the entire architecture of our application.
  • 4. • MVC divides the application into three parts. • MODEL • VIEW • CONTROLLER • Each of these parts have some specific responsibilities. • Lets see how MVC pattern is applied in a web application
  • 5. MVC • In object-oriented programming development, model-view-controller (MVC) is the name of a methodology or design pattern for successfully and efficiently relating the user interface to underlying data models. The MVC pattern is widely used in program development with programming languages such as Java, Smalltalk, C, and C++.
  • 6. • The model-view-controller pattern proposes three main components or objects to be used in software development: • A Model , which represents the underlying, logical structure of data in a software application and the high-level class associated with it. This object model does not contain any information about the user interface.
  • 7. • A View , which is a collection of classes representing the elements in the user interface (all of the things the user can see and respond to on the screen, such as buttons, display boxes, and so forth) • A Controller , which represents the classes connecting the model and the view, and is used to communicate between classes in the model and view.
  • 16. MVC
  • 21. Business Logic in MVC • Business logic is the custom rules or algorithms that handle the exchange of information between a database and user interface. Business logic is essentially the part of a computer program that contains the information (in the form of business rules) that defines or constrains how a business operates. initially was used as an architectural pattern for graphical user interfaces(GUI).
  • 22. Advantage of MVC • A main advantage of MVC is separation of concern. Separation of concern means we divide the application Model, Control and View. We can easily maintain our application because of separation of concern. In the same time we can split many developers work at a time.
  • 23. Advantage of MVC • Model View Controller is a predictable software design pattern that can be used across many frameworks with many programming languages, commonly Python, Ruby, PHP, JavaScript, and more. It is popularly used to design web applications and mobile apps.
  • 24. Interactive System using MVC • Interactive system are the system that are handled with the collaboration of human and computers. • Different game like firing games racing games. • Mobile phones • World wide web(online system) • Cash dispatching macine like ATM
  • 26. Steps of Interactive System • Identify user needs • Evaluate • design • Build interactive system