Presented by Benjamin Kehrer [CSCI 360, CofC, 03/17/08]
-
Upload
brett-howard -
Category
Documents
-
view
219 -
download
3
Transcript of Presented by Benjamin Kehrer [CSCI 360, CofC, 03/17/08]
![Page 1: Presented by Benjamin Kehrer [CSCI 360, CofC, 03/17/08]](https://reader030.fdocuments.us/reader030/viewer/2022032722/56649cee5503460f949bb8b6/html5/thumbnails/1.jpg)
presented by Benjamin Kehrer
[CSCI 360, CofC, 03/17/08]
![Page 2: Presented by Benjamin Kehrer [CSCI 360, CofC, 03/17/08]](https://reader030.fdocuments.us/reader030/viewer/2022032722/56649cee5503460f949bb8b6/html5/thumbnails/2.jpg)
References
General Information
Operation breakdown
Ad- / Disadvantages
Java
![Page 3: Presented by Benjamin Kehrer [CSCI 360, CofC, 03/17/08]](https://reader030.fdocuments.us/reader030/viewer/2022032722/56649cee5503460f949bb8b6/html5/thumbnails/3.jpg)
A Description of the Model-View-Controller User Interface Paradigm in the Smalltalk-80 System [Krasner, Pope 1988]
Model-View-Controller (MVC) Architecture [Deacon, 2005]
Java Blue Prints – Model-View Controller [Sun Microsystem, 2000-2002]
Introduction to Software Engineering Design – Ch.15[Fox, 2007]
![Page 4: Presented by Benjamin Kehrer [CSCI 360, CofC, 03/17/08]](https://reader030.fdocuments.us/reader030/viewer/2022032722/56649cee5503460f949bb8b6/html5/thumbnails/4.jpg)
Design pattern
Developed by Trygve Reenskaug in 1979
Originally for Smalltalk-80
Paradigm / metaphor / pattern/ architecture / idiom
![Page 5: Presented by Benjamin Kehrer [CSCI 360, CofC, 03/17/08]](https://reader030.fdocuments.us/reader030/viewer/2022032722/56649cee5503460f949bb8b6/html5/thumbnails/5.jpg)
Business model
User Interface
Knows about
ModelApplication
domain
ViewPresentation
ControllerControl logic & user interactionKnows about
1
n
11
1
n
Knows about
![Page 6: Presented by Benjamin Kehrer [CSCI 360, CofC, 03/17/08]](https://reader030.fdocuments.us/reader030/viewer/2022032722/56649cee5503460f949bb8b6/html5/thumbnails/6.jpg)
Business model
User Interface
ModelApplication
domain
ViewPresentation
ControllerControl logic & user interaction
Model Access
View Access
Model Access
ChangeEvent
ChangeEvent
![Page 7: Presented by Benjamin Kehrer [CSCI 360, CofC, 03/17/08]](https://reader030.fdocuments.us/reader030/viewer/2022032722/56649cee5503460f949bb8b6/html5/thumbnails/7.jpg)
Modularity: Decoupling of user interface &
business model
Changeability, Maintainability: Easier to understand & modify
Pluggability, Flexibility: Change UI (even during runtime)
Increased performance due to slow update Dependance on models Separation View & Controller
![Page 8: Presented by Benjamin Kehrer [CSCI 360, CofC, 03/17/08]](https://reader030.fdocuments.us/reader030/viewer/2022032722/56649cee5503460f949bb8b6/html5/thumbnails/8.jpg)
a) View & Controller combined to “ViewController“ or “Delegate“
b) Controller limited to interface between Model & View
![Page 9: Presented by Benjamin Kehrer [CSCI 360, CofC, 03/17/08]](https://reader030.fdocuments.us/reader030/viewer/2022032722/56649cee5503460f949bb8b6/html5/thumbnails/9.jpg)
Thanks for your attention.