MODEL VIEW CONTROLLER A Technical Seminar Report submitted to

Slides:



Advertisements
Similar presentations
Chapter 13 Review Questions
Advertisements

Lab 9: Code Organization User Interface Lab: GUI Lab October 23 rd, 2013.
Apache Struts Technology
{ Model View Controller ASP.NET By Scott Crooks & Maggie Wettergreen.
Presented by Benjamin Kehrer [CSCI 360, CofC, 03/17/08]
OOP Design Patterns Chapters Design Patterns The main idea behind design patterns is to extract the high level interactions between objects and.
Software Architecture Patterns (2). what is architecture? (recap) o an overall blueprint/model describing the structures and properties of a "system"
Lecture 23: Software Architectures
Graphical User Interface (GUI) Nelson Padua-Perez Bill Pugh Department of Computer Science University of Maryland, College Park.
James Tam Introduction To Design Patterns You will learn about design techniques that have been successfully applied to different scenarios.
Graphical User Interface (GUI) Nelson Padua-Perez Chau-Wen Tseng Department of Computer Science University of Maryland, College Park.
Component Based Systems Analysis Introduction. Why Components? t Development alternatives: –In-house software –Standard packages –Components 60% of the.
Software Architecture Patterns (2). what is architecture? (recap) o an overall blueprint/model describing the structures and properties of a "system"
MVC Fall 2005 OOPD John Anthony. Design Patterns The hard problem in O-O programming is deciding what objects to have, and what their responsibilities.
Object-Oriented Analysis and Design
Application Architectures Vijayan Sugumaran Department of DIS Oakland University.
CS6320 – MVC L. Grewe THE ISSUE: Separating Implementation from Interface The business logic stays the same regardless of what the presentation is The.
CMPT 370: Information Systems Design Instructor: Curtis Cartmill, Simon Fraser University – Summer 2003 Lecture Topic: Layered Architecture Class Exercise:
Model View Controller (MVC) Architecture. Terminology and History MVC evolved from Smalltalk-80 Has become a key pattern in web based applications – If.
Web Application Architecture: multi-tier (2-tier, 3-tier) & mvc
UNIT-V The MVC architecture and Struts Framework.
The Design Discipline.
MVC pattern and implementation in java
Architectural separation (MVC, arch model, Seeheim).
1 The Architectural Design of FRUIT: A Family of Retargetable User Interface Tools Yi Liu, H. Conrad Cunningham and Hui Xiong Computer & Information Science.
Model View Controller (MVC) Rick Mercer with a wide variety of others 1.
Copyright © 2012 Accenture All Rights Reserved.Copyright © 2012 Accenture All Rights Reserved. Accenture, its logo, and High Performance Delivered are.
Model-View-Controller Ku-Yaw Chang Assistant Professor, Department of Computer Science and Information Engineering Da-Yeh University.
Lecture 19 Web Application Frameworks Boriana Koleva Room: C54
Case Study + MVC Lec Error Pages By means of the page directive, a JSP can be given the responsibility of an Error page An Error JSP will be called.
Nicolas Teirlinckx Made for Software Engineering Groep 1 (2009 – 2010)
Implementation support z programming tools y levels of services for programmers z windowing systems y core support for separate and simultaneous user-system.
Chapter 6 – Architectural Design CSE-411, Dr. Shamim H Ripon.
COMP 6471 Software Design Methodologies Winter 2006 Dr Greg Butler
DEV-36: Composite MVP – Building Blocks in Presentation Layer
SOFTWARE DESIGN AND ARCHITECTURE LECTURE 05. Review Software design methods Design Paradigms Typical Design Trade-offs.
GRASP: Designing Objects with Responsibilities
Architectural Patterns Support Lecture. Software Architecture l Architecture is OVERLOADED System architecture Application architecture l Architecture.
Model View Controller (MVC) Bigger than a Pattern: It’s an Architecture Rick Mercer with help from many others 1.
Developing MVC based AJAX applications Kapil Mohan Rich Internet Application Developer, Uzanto Consulting A talk by.
Model View Controller MVC Web Software Architecture.
Model View Controller (MVC) Bigger than a Pattern: It’s an Architecture Rick Mercer with help from many of others 1.
Page 1 R MVC Design Pattern Definition Properties Describing MVC design patterns.
Advanced Web Technologies Lecture #3 By: Faraz Ahmed.
SOEN 343 Software Design Section H Fall 2006 Dr Greg Butler
© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/3 JSP Application Models.
MVC WITH CODEIGNITER Presented By Bhanu Priya.
Model-View-Controller Architecture. 2 Give someone a program, you frustrate them for a day; teach them how to program, you frustrate them for a lifetime.
L10: Model-View-Controller General application structure. User Interface: Role, Requirements, Problems Design patterns: Model – View – Controller, Observer/Observable.
Model View ViewModel Architecture. MVVM Architecture components.
Model-View-Controller A Design Pattern SE-2030 Dr. Rob Hasker 1 Based on slides written by Dr. Mark L. Hornick Used with permission.
Model-View-Controller an introduction to MVC design pattern with Castle.MonoRail Presentation: v1.0 Prepared by: Chorn Sokun
Apache Struts Technology A MVC Framework for Java Web Applications.
TECHNICAL ASSISTANCE FOR THE CONVERSION OF RBPAPs INTO RBMPs DATA MANAGEMENT INCEPTION WORKSHOP ESTAMBUL February Eusebio CRUZ GARCÍA.
Presented by Alexey Vedishchev Developing Web-applications with Grails framework American University of Nigeria, 2016 Intro To MVC Architecture.
J2EE Platform Overview (Application Architecture)
Design Patterns Source: “Design Patterns”, Erich Gamma, Richard Helm, Ralph Johnson, John Vlissides And Created.
GRASP – Designing Objects with Responsibilities
MVC Architecture, Symfony Framework for PHP Web Apps
MVC and other n-tier Architectures
Design Patterns: Model View Controller
Model-View-Controller
CS102 – Bilkent University
Model-View-Controller Patterns and Frameworks
Building Graphical User Interface with Swing a short introduction
Model-View-Controller (MVC) Pattern
Developing a Model-View-Controller Component for Joomla
Implementation support
Implementation support
Presentation transcript:

MODEL VIEW CONTROLLER A Technical Seminar Report submitted to Jawaharlal Nehru Technological University, Hyderabad In partial fulfillment for the requirement for the award of B.Tech Degree in Information Technology By S.Kishore Kumar 08871A12A3 Under the Guidance of Mr.Shiva Kumar Lecturer DEPARTMENT OF INFORMATION TECHNOLOGY RAMAPPA ENGINEERING COLLEGE (Accredited by NBA and Affiliated to JNTU,Hyderabad) Hunter road, warangal-506001

INTRODUCTION Model/view/controller (MVC) is a software architecture, currently considered an architectural pattern used in software engineering. The pattern isolates "domain logic" (the application logic for the user) from the user interface(input and presentation), permitting independent development, testing and maintenance of each (separation of concerns).

What does MVC do… Breaks an application or even a piece of application’s interface into three parts.. 1. Model 2. View 3. Controller

Why MVC is used… Can change individual elements without affecting each other Data can be added/removed/changed without affecting the logic of what is presented (controller) or how it is presented (view).

About MVC.. MVC was originally developed to map the traditional input, processing, output roles into the GUI realm: Input --> Processing --> Output Controller --> Model --> View

Architectural Diagram.. Model business logic Get State Set State Update Event Change View Controller user interaction View model representation User Actions

Model A model represents an application’s data and contains the logic for accessing and manipulating that data Model services are accessed by the controller for either querying or effecting a change in the model state. The model notifies the view when a state change occurs in the model.

View The view is responsible for rendering the state of the model. The presentation semantics are encapsulated within the view, therefore model data can be adapted for several different kinds of clients. The view modifies itself when a change in the model is communicated to the view. A view forwards user input to the controller.

Controller The controller is responsible for intercepting and translating user input into actions to be performed by the model. The controller is responsible for selecting the next view based on user input and the outcome of model operations.

Application.. An MVC application may be a collection of model/view/controller triads, each responsible for a different UI element. The Swing GUI system, for example, models almost all interface components as individual MVC systems. MVC is often seen in web applications where the view is the HTML or XHTML generated by the app. The controller receives GET or POST input and decides what to do with it, handing over to domain objects (i.e. the model) that contain the business rules and know how to carry out specific tasks such as processing a new subscription, and which hand control to (X)HTML-generating components such as templating engines, XML pipelines, Ajax callbacks, etc.

Advantage.. They are reusable : When the problems recurs, there is no need to invent a new solution, we just have to follow the pattern and adapt it as necessary. They are expressive: By using the MVC design pattern our application becomes more expressive.