Model-View-ControllerArchitectureDevan M.S.
What is MVC?Architectural design pattern which works toseparate data and UI for a more cohesive andmodularized system
What is MVC?Model represents the data model− “Manages behavior and data of the applicationdomain”View represents the scr...
How did it come about?Presented by Trygve Reenskaug in 1979First used in the Smalltalk-80 framework− Used in making Appl...
How does it work?User inputs a commandController handles input and updates model orchanges the viewView, which relies o...
What is MVC?
What’s the point?Provides a logical structure for heavilyinteractive systemAdheres to good engineering design principles...
What’s the point? Just plain easier (even if it doesn’t look it)!• Study shows that most introductory CS collegestudents ...
ConclusionMVC is a sound architectural design foralmost any GUI application
ConclusionMVC is a sound architectural design foralmost any GUI application
Upcoming SlideShare
Loading in...5
×

Mvc devan

225

Published on

Published in: Technology, Education
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
225
On Slideshare
0
From Embeds
0
Number of Embeds
4
Actions
Shares
0
Downloads
3
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Transcript of "Mvc devan"

  1. 1. Model-View-ControllerArchitectureDevan M.S.
  2. 2. What is MVC?Architectural design pattern which works toseparate data and UI for a more cohesive andmodularized system
  3. 3. What is MVC?Model represents the data model− “Manages behavior and data of the applicationdomain”View represents the screen(s) shown to theuser− “Manages the graphical and/or textual output to theportion of the bitmapped display that is allocated toits application”Controller represents interactions from the userthat changes the data and the view− “Interprets the mouse and keyboard inputs from theuser, commanding the model and/or the view tochange as appropriate” (Burbeck)
  4. 4. How did it come about?Presented by Trygve Reenskaug in 1979First used in the Smalltalk-80 framework− Used in making Apple interfaces (Lisa andMacintosh)
  5. 5. How does it work?User inputs a commandController handles input and updates model orchanges the viewView, which relies on model to show data touser, updates if necessaryRinse and Repeat
  6. 6. What is MVC?
  7. 7. What’s the point?Provides a logical structure for heavilyinteractive systemAdheres to good engineering design principlesand practices− Information hiding, less coupling, simplicity, etc.− Delegated control style
  8. 8. What’s the point? Just plain easier (even if it doesn’t look it)!• Study shows that most introductory CS collegestudents tend to clump a UI program into one bigmonolithic main class• Unfamiliarity stems from student tendency toprogram according to styles presented in textbooksand not being introduced to design principles early(Morse)
  9. 9. ConclusionMVC is a sound architectural design foralmost any GUI application
  10. 10. ConclusionMVC is a sound architectural design foralmost any GUI application
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×