Design Patterns For Enterprise Application
Design Patterns For Enterprise Application
Design Patterns For Enterprise Application
Application
1
Model View Controller (MVC)
2
MVC
3
History
A framework pattern for reusable applications.
Depends on the Observer pattern.
5
Model
6
View
7
Controller
9
Web Application
11
MVC Benefits
Clarity of design
– easier to implement and maintain
Modularity
– changes to one don't affect the others
– can develop in parallel once you have the interfaces
Multiple views
– games, spreadsheets, powerpoint, Eclipse, UML
reverse engineering, ….
12
Front Controller
The Front Controller
View 1
View 2
Client Front
Controller
View 3
View 4
Helper Helper Helper
class class class
Problem
16-22
Problem