2. Disclaimer: This presentation is prepared by trainees of
baabtra as a part of mentoring program. This is not official
document of baabtra –Mentoring Partner
Baabtra-Mentoring Partner is the mentoring division of baabte System Technologies Pvt .
Ltd
3. Topic Name
FREDDY P.V
Email :F4FREDDY@GMAIL.COM
Facebook :F4FREDDY@GMAIL.COM
4. • 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.
5. This model divides the web based application
into three layers:
• Model
• View
• Controller
6. 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.
7. View:
• View is responsible for presentation aspect of
application according to the model data and
also responsible to forward query response
to the controller.
8. 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.
9.
10. ADVANTAGES
• Substitutable user interface :
• User interface components:
• Easier user interface changes :
• Easier testing :
11. Drawbacks of MVC
• Increased complexity :
• Close coupling between view and controller :
12. 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