Design Patterns: Model View Controller

Slides:



Advertisements
Similar presentations
Apache Struts Technology
Advertisements

Model View Controller INF 123 – Software architecture 1.
Air and Water Quality Information Scientist Contributed Measurements Government Sponsored Community Input and Ratings Educational Localized in 26.
Model-View-Controller ("MVC") This is a architectural design pattern for interactive applications. This design pattern organizes an interactive application.
Software Architecture Patterns (2). what is architecture? (recap) o an overall blueprint/model describing the structures and properties of a "system"
Application Architectures Vijayan Sugumaran Department of DIS Oakland University.
Structure of a web application1 Dr Jim Briggs. MVC Structure of a web application2.
Session-01. Layers Struts 2 Framework The struts 2 framework is used to develop MVC-based web application. Struts 1.0 was released in June The.
UNIT-V The MVC architecture and Struts Framework.
MODEL VIEW CONTROLLER A Technical Seminar Report submitted to
What is Architecture  Architecture is a subjective thing, a shared understanding of a system’s design by the expert developers on a project  In the.
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.
Standalone Java Application vs. Java Web Application
JSF Introduction Copyright © Liferay, Inc. All Rights Reserved. No material may be reproduced electronically or in print without written permission.
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.
Pemrograman Web MVC Programming and Design Pattern in PHP 5.
Introduction to Web Dimitar Nenchev Ivan Nakov
Mainframe (Host) - Communications - User Interface - Business Logic - DBMS - Operating System - Storage (DB Files) Terminal (Display/Keyboard) Terminal.
3-Tier Web Application Architecture. Simple Log-in public String button1_action() { // TODO: Process the button click action. Return value is a navigation.
Design Patterns CSCI 5801: Software Engineering. Design Patterns.
Architectural Patterns Support Lecture. Software Architecture l Architecture is OVERLOADED System architecture Application architecture l Architecture.
Database Web.xml load: spring applicationContext and frontcontroller – servlet mappings: *.jsp -> dispatchServlet ApplicationController formController.
Refactoring for Testability (or how I learned to stop worrying and love failing tests) Presented by Aaron Evans.
Model View Controller (MVC) Bigger than a Pattern: It’s an Architecture Rick Mercer with help from many others 1.
Google App Engine Data Store ae-10-datastore
Struts Framework Anna Paščenko. What is Struts?  An open source framework for building Java web applications.
Model View Controller Architecture of Java Web Applications Dr. M V S Peri Sastry, Ph.D.[BITS-Pilani]
Presentation & Business Tier Design Patterns Pearce.
Page 1 Controller Action2.java Struts- config. xml Mappings Business Logic Layer Data Layer View Layer Business Bean 1 Jsp Engine Jsp 1 Action3.java Action4.java.
Model View Controller (MVC) Bigger than a Pattern: It’s an Architecture Rick Mercer with help from many of others 1.
SOFTWARE DESIGN AND ARCHITECTURE LECTURE 31. Review Creational Design Patterns – Singleton Pattern – Builder Pattern.
© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/3 JSP Application Models.
CS 4720 Model-View-Controller CS 4720 – Web & Mobile Systems.
Implementation Struts Framework for well-architectured web applications Model-View-Controller design pattern.
Chapter 9 Web Application Design. Objectives Describe the MVC design pattern as used with Web applications Explain the role and responsibilities of each.
Model View ViewModel Architecture. MVVM Architecture components.
CS320 Web and Internet Programming Web Application and MVC Chengyu Sun California State University, Los Angeles.
MVC Controllers TestsMigrations Ye Olde Internet Model DB Server Router View Browser Today’s focus Controller.
Java Web 应用开发: J2EE 和 Tomcat 蔡 剑, Ph.D.. 本讲内容 网络系统设计模式 综合案例分析.
J2EE Platform Overview (Application Architecture)
COMP9321 Web Application Engineering Semester 2, 2016
Introduction to MVC SoftUni Team Introduction to MVC
Structure of a web application
MVC Architecture, Symfony Framework for PHP Web Apps
1993 version of Mosaic browser.
Avraham Leff James T. Rayfield IBM T.J. Watson Research Center
COMPACT Web Design Approach:
MVC and Design Patterns
MVC and other n-tier Architectures
Web Software Model CS 4640 Programming Languages for Web Applications
What is MVC Category: System MVC=Model-View-Controller
Design and Maintenance of Web Applications in J2EE
Java Web Application Framework
Data Structures and Database Applications Custom Models with MVC
Model-View-Controller Patterns and Frameworks
Model-View-Controller (MVC) Pattern
Web Application Architectures
The Model Layer What is Model?
CS320 Web and Internet Programming MVC Architecture
The Islamia University Bahawalpur
Web Application Architectures
WPS - your story so far Seems incredible complicated, already
Back end Development CS Programming Languages for Web Applications
MVC Controllers.
MVC Controllers.
ASP.NET MVC Web Development
MVC Controllers.
Web Application Architectures
Back end Development CS Programming Languages for Web Applications
Presentation transcript:

Design Patterns: Model View Controller Emerson Murphy-Hill

Model-View-Controller (MVC) MVC Pattern: Isolates business or domain logic from the input and presentation Can focus testing on the individual pieces Model: behavior and data underlying the application Provides data about state requested from the view (notifies the view) Updates state when requested by the controller Model abstracts and encapsulates the underlying data storage (DB, POJOs, etc.) View: UI A model may have many views View is a composite of elements Controller: receives input and initiates response by calling model Strategy for the view

MVC in Web Apps (like iTrust) View: HTML or XHTML Generated by JSPs Controller: Action classes Pass user input to model Handle exceptions Model: underlying domain logic Beans and DAOs encapsulate the database