Presentation is loading. Please wait.

Presentation is loading. Please wait.

Model-View-Controller A Design Pattern SE-2030 Dr. Rob Hasker 1 Based on slides written by Dr. Mark L. Hornick Used with permission.

Similar presentations


Presentation on theme: "Model-View-Controller A Design Pattern SE-2030 Dr. Rob Hasker 1 Based on slides written by Dr. Mark L. Hornick Used with permission."— Presentation transcript:

1 Model-View-Controller A Design Pattern SE-2030 Dr. Rob Hasker 1 Based on slides written by Dr. Mark L. Hornick Used with permission.

2 Model-View-Controller is one of many different types of Design Patterns A Design Pattern is A “standard” arrangement of certain classes that comprise a solution to a given problem These classes interact in a specific way to implement a specific functionality The same type of function is typically found in many types of applications SE-2030 Dr. Rob Hasker 2 Other Design Patterns are covered in SE-2811 (Software Component Design)

3 The Model-View-Controller pattern is an arrangement of three classes SE-2030 Dr. Rob Hasker 3 Controller Reacts to user events and responds by invoking actions on the Model View Presents the Model to the user (UI); Notifies Controller of user interactions Model The specific representation of data which the application operates upon

4 UML Comm diagram for CalculatorApp MVC objects SE-2030 Dr. Rob Hasker 4

5 UML Class diagram for Calculator app SE-2030 Dr. Rob Hasker 5


Download ppt "Model-View-Controller A Design Pattern SE-2030 Dr. Rob Hasker 1 Based on slides written by Dr. Mark L. Hornick Used with permission."

Similar presentations


Ads by Google