User Interface Design and Ergonomics - National Open University of ...
User Interface Design and Ergonomics - National Open University of ...
User Interface Design and Ergonomics - National Open University of ...
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
UNIT 4 MODEL VIEW-CONTROLLER (MVC)<br />
Table <strong>of</strong> Contents<br />
1.0 Introduction<br />
2.0 Objectives<br />
3.0 Main Content<br />
3.1 Model-View Controller<br />
3.2 History<br />
3.3 Pattern Description<br />
3.4 MVC Implementation Framework<br />
3.5 Implementations <strong>of</strong> MVC as GUI frameworks<br />
4.0 Conclusion<br />
5.0 Summary<br />
6.0 Tutor Marked Assignment<br />
7.0 Further Reading <strong>and</strong> Other Resources<br />
1.0 INTRODUCTION<br />
The concept <strong>of</strong> Model View-Controller (MVC) is introduced in this unit. We will also<br />
discuss the history <strong>of</strong> MVC, pattern description, MVC implementation framework.<br />
Implementing MVC as GUI frameworks is also explained.<br />
2.0 OBJECTIVES<br />
By the end this unit, you should be able to:<br />
Explain the term model view-controller (MVC)<br />
Have good knowledge <strong>of</strong> the history <strong>of</strong> MVC<br />
Explain pattern description <strong>and</strong> MVC implementation framework<br />
Describe how to implement MVC as GUI frameworks<br />
3.0 MAIN CONTENT<br />
3.1 MODEL VIEW-CONTROLLER<br />
Model–view–controller (MVC) is an architectural pattern used in s<strong>of</strong>tware engineering.<br />
The pattern isolates business logic from input <strong>and</strong> presentation, permitting independent<br />
development, testing <strong>and</strong> maintenance <strong>of</strong> each.<br />
An MVC application is a collection <strong>of</strong> model/view/controller triplets (a central dispatcher<br />
is <strong>of</strong>ten used to delegate controller actions to a view-specific controller). Each model is<br />
associated with one or more views (projections) suitable for presentation (not necessarily<br />
visual presentation). When a model changes its state, it notifies its associated views so<br />
they can refresh. The controller is responsible for initiating change requests <strong>and</strong><br />
providing any necessary data inputs to the model.<br />
142