Model View Controller User Interface Paradigm presented by
Model View Controller User Interface Paradigm presented by Benjamin Kehrer [CSCI 360, Cof. C, 03/17/08]
Table of Content �References �General Information �Operation �Ad- breakdown / Disadvantages �Java
References � 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]
MVC paradigm �Design pattern �Developed �Originally �Paradigm by Trygve Reenskaug in 1979 for Smalltalk-80 / metaphor / pattern / architecture / idiom
Static MVC Business model Model Application domain Knows about 1 1 n n View Presentation Controller Control logic & user interaction Knows about 1 User Interface Knows about 1
Dynamic MVC Business model Model Access Model Application domain Change Event Controller Control logic & user interaction View Presentation View Access User Interface Model Access
Ad-/Disadavantages 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
Java a) View & Controller combined to “View. Controller“ or “Delegate“ b) Controller limited to interface between Model & View
Model View Control User Interface Paradigm Thanks for your attention.
- Slides: 9