Disclaimer: This presentation is prepared by trainees ofbaabtra as a part of mentoring program. This is not officialdocument of baabtra –Mentoring PartnerBaabtra-Mentoring Partner is the mentoring division of baabte System Technologies Pvt .Ltd
Topic Name FREDDY P.V Email :F4FREDDY@GMAIL.COM Facebook :F4FREDDY@GMAIL.COM
• A framework pattern for reusable applications.• Presented by Trygve Reenskaug in 1979• First developed by Xerox PARC for Smalltalk- 80.• First used in the Smalltalk-80 framework Used in making Apple interfaces (Lisa and Macintosh)• Used by the Application Kit system in NeXTstep.• Recommended structural framework pattern in J2EE.
This model divides the web based application into three layers:• Model• View• Controller
Model:• Model domain contains the business logics and functions that manipulate the business data.• It provides updated information to view domain and also gives response to query.• And the controller can access the functionality which is encapsulated in the model.
View:• View is responsible for presentation aspect of application according to the model data and also responsible to forward query response to the controller.
Controller:• Controller accepts and intercepts user requests and controls the business objects to fulfill these requests.• An application has one controller for related functionality.• Controller can also be depends on the type of clients.
ADVANTAGES• Substitutable user interface :• User interface components:• Easier user interface changes :• Easier testing :
Drawbacks of MVC• Increased complexity :• Close coupling between view and controller :
If this presentation helped you, please visit our page facebook.com/baabtra and like it. Thanks in advance.www.baabtra.com | www.massbaab.com |www.baabte.com