Model-View-Controller Architecture in a Systems Analysis and Design Course Dr. Robert F. Zant Illinois State University.

Slides:



Advertisements
Similar presentations
Apache Struts Technology
Advertisements

INTRODUCTION TO ASP.NET MVC AND EXAMPLE WALKTHROUGH RAJAT ARYA EFECS - OIM DAWG – 4/21/2009 ASP.NET MVC.
ARCH-13 Developing WebSpeed  Applications Chris Skeldon Principal Consultant.
1 CS 502: Computing Methods for Digital Libraries Lecture 22 Web browsers.
ASP MVC s/mvc-4/getting-started-with- aspnet-mvc4/intro-to-aspnet- mvc-4.
Session 6 Server-side programming - ASP. An ASP page is an HTML page interspersed with server-side code. The.ASP extension instead of.HTM denotes server-side.
Design of Web-based Systems IS Development: lecture 10.
CSC 450/550 Part 6: The Application Layer Example: The World Wide Web.
28/1/2001 Seminar in Databases in the Internet Environment Introduction to J ava S erver P ages technology by Naomi Chen.
Vending Machine FSM Benjamin Welton 03/20/2010 CS 480.
Introduction to Web Interface Technology (CSE2030)
Implementation of One Stop Search by XSLT By Dave Low University of Hong Kong 9-Dec-2003.
1 The World Wide Web Architectural Overview Static Web Documents Dynamic Web Documents HTTP – The HyperText Transfer Protocol Performance Enhancements.
GREEN CORP’S Blue Team Stock Trading System Fall 2000 Software Engineering I.
Topics in this presentation: The Web and how it works Difference between Web pages and web sites Web browsers and Web servers HTML purpose and structure.
WWW and Internet The Internet Creation of the Web Languages for document description Active web pages.
Application Architectures Vijayan Sugumaran Department of DIS Oakland University.
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.
CGI Programming: Part 1. What is CGI? CGI = Common Gateway Interface Provides a standardized way for web browsers to: –Call programs on a server. –Pass.
Java Pet Store Application. Outline Introduction Introduction Information Layer Information Layer Application Layer Application Layer Infrastructure Layer.
Overview of Framework by Ahamed Rifaudeen A. page - i Steps before entering into the Framework?  Basic knowledge of object-oriented programming (OOP)
UNIT-V The MVC architecture and Struts Framework.
Sys Prog & Scripting - HW Univ1 Systems Programming & Scripting Lecture 15: PHP Introduction.
1 Web Database Processing. Web Database Applications Static Report Publishing a report is prepared from a database application and exported to HTML DB.
INTRODUCTION TO WEB DATABASE PROGRAMMING
_______________________________________________________________________________________________________________ E-Commerce: Fundamentals and Applications1.
CSCI 6962: Server-side Design and Programming Course Introduction and Overview.
Chapter 16 The World Wide Web Chapter Goals Compare and contrast the Internet and the World Wide Web Describe general Web processing Describe several.
CPS120: Introduction to Computer Science The World Wide Web Nell Dale John Lewis.
SDPL 2002Notes 7: Apache Cocoon1 7 XML Web Site Architecture Example: Apache Cocoon, a Web publishing architecture based on XML technology
Java Omar Rana University of South Asia. Course Overview JAVA  C/C++ and JAVA Comparison  OOP in JAVA  Exception Handling  Streams  Graphics User.
Student Learning Environment on the World Wide Web l CGI-programming in Perl for the connection of databases over the Internet. l Web authoring using Frontpage.
Simple Database.
 2002 Prentice Hall. All rights reserved. Chapter 17: Enterprise Java Case Study: Architectural Overview Outline 17.1 Introduction 17.2 Deitel Bookstore.
Mid Morning Discussion Introduction to the IBIS-Q Front-End System ("Module" Emphasis) What is the front end Where does the front end fit in What is a.
Architectural Patterns Support Lecture. Software Architecture l Architecture is OVERLOADED System architecture Application architecture l Architecture.
Overview Web Session 3 Matakuliah: Web Database Tahun: 2008.
1 Overview of XSL. 2 Outline We will use Roger Costello’s tutorial The purpose of this presentation is  To give a quick overview of XSL  To describe.
Model View Controller Architecture of Java Web Applications Dr. M V S Peri Sastry, Ph.D.[BITS-Pilani]
ASP (Active Server Pages) by Bülent & Resul. Presentation Outline Introduction What is an ASP file? How does ASP work? What can ASP do? Differences Between.
Chapter 29 World Wide Web & Browsing World Wide Web (WWW) is a distributed hypermedia (hypertext & graphics) on-line repository of information that users.
Producing a high-impact web experience by integrate Macromedia Flash and ASP By Katie Tuttle CS 330: Internet Architecture and Programming Project.
Database Management Systems CS 420. Topics Outline 1. Introduction 2. HTML Review 3. VBScript 4. Access DBMS 5. Relational Database 6. Design Process.
1 WWW. 2 World Wide Web Major application protocol used on the Internet Simple interface Two concepts –Point –Click.
How I spend my money Software architecture course Mohan, Maxim.
Framework for Virtual Web Laboratory I. Petković M. Rajković.
Web Design and Development. World Wide Web  World Wide Web (WWW or W3), collection of globally distributed text and multimedia documents and files 
© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/3 JSP Application Models.
Chapter 9 Web Application Design. Objectives Describe the MVC design pattern as used with Web applications Explain the role and responsibilities of each.
Display Page (HTML/CSS)
Introduction  “M” “V” “C” stands for “MODEL” “VIEW” “CONTROLLER”. ASP.NET MVC is an architecture to develop ASP.NET web applications in a different manner.
Mach-II Primer Ben Edwards An Introduction to Mach-II: An event-based, implicit invocation web-application framework.
ASP.NET MVC An Introduction. What is MVC The Model-View-Controller (MVC) is an architectural pattern separates an application into three main components:
Text INTRODUCTION TO ASP.NET. InterComm Campaign Guidelines CONFIDENTIAL Simply Server side language Simplified page development model Modular, well-factored,
1 Introduction to Web Application Review. 2 Five Layers Architecture HTML, CSS, Java Script ASP.net User ’ s.dll, Nunit, Web Services ADO.net SQL Server,
1 The World Wide Web Architectural Overview Static Web Documents Dynamic Web Documents HTTP – The HyperText Transfer Protocol Performance Enhancements.
Apache Struts Technology A MVC Framework for Java Web Applications.
A Presentation Presentation On JSP On JSP & Online Shopping Cart Online Shopping Cart.
Web Server Architecture/Hosting Capstone Project2 Name-ASFAQUE KHAN Regno
Java Web Development with NetBeans IDE -- Kai Qian Chapter 9 Case Study.
Teaching slides Chapter 6. Chapter 6 Software user interface design & construction Contents Introduction Graphical user interface – Rich window based.
Introduction to ASP By “FlyingBono” 2009_01 By FlyingBono 2009_01
Web Engineering.
Pal‐Store E‐commerce Website
Unit 6-Chapter 2 Struts.
Life Cycle Objectives By James Lee and Matt Higgins
ASP.NET Module Subtitle.
CIS 133 mashup Javascript, jQuery and XML
Information Retrieval and Web Design
Web Application Development Using PHP
Presentation transcript:

Model-View-Controller Architecture in a Systems Analysis and Design Course Dr. Robert F. Zant Illinois State University

The Plan Curriculum overview MVC Concepts Example MVC implementation

Curriculum Structure

Systems Development I Taken by all IS majors Covers Traditional and Object-Oriented SAD

Systems Development II Taken by IS majors in Systems Development/Analyst Sequence Covers Traditional SAD Includes Simulated Project

OO Systems Development Taken by IS majors in Web Application Development Sequence Covers Object Oriented SAD Includes Simulated Project

Directed Project in Information Technology Taken by IS majors in both sequences Includes Real-World Project

Curriculum Structure

MVC Architecture Used in both second level courses as a unifying theme Provides an architectural template for novice system developers Use is prevalent in industry

MVC Structure

MVC Controller - Interprets user requests and invokes Model and View Model - contains application logic and access logic for persistent data View - displays model results to user

Primary Data Flow

Server Side Programming

Client Side Interface Design

Guidelines All responses from users are processed first by a Front Controller Communication of user responses to the Front Controller is by name (e.g., field names on HTML forms) A Front Controller invokes a Page Controller, not a Model or View A Page Controller invokes one Model and one View

Guidelines (cont.) A Model executes application logic and accesses data stores (contains no HTML) A Model creates an XML file or an object containing its results Communication of Model results to a View are by name (e.g., tags in XML)

Guidelines (cont.) A View creates a presentation stream A View contains no application logic A View obtains all non-constant text data from the XML file or result object produced by the Model A View does not directly reference any data in a Model or URL for the site

Example Front Controller <% NOTE: This is the Front Controller ; DEFAULT pc = "menu", sys_base = $path_Translated_dir$"/", url_base = home = $url_base$index.odb ; SESSION LOGIN = "login.odb?from=$pc$", TIMEOUT = 10 ; INCLUDE $sys_base$"c/"$pc$".c"; %>

Example Page Controller <% NOTE: Page Controller to List Products ; INCLUDE $sys_base$m/Products/table1.m ; INCLUDE $sys_base$v/Products/table1.v ; %>

Example Model <% NOTE: Model to List Products ; DATABASE "DSN=myProducts" ; SELECT Category, ProductID, Heading, Description, UnitPrice, UnitsOnHand FROM Products ORDER BY ProductID ; OUTPUT $xmlfile$ ; NOTE: xmlfile defined during login; %> $home$

Example Model (cont.) $ProductID$ $Category$ $Description$ $UnitPrice$ $UnitsOnHand$

Example XML File 3 Reinforced plastic 8 inch Plastic Widgets Oversized polyethelene with steel

Example View SET xslt = $url_base$"v/Products/xslt/table1.xslt" ; INCLUDE $xmlfile$ ;

Example XSL <xsl:stylesheet version="1.0" xmlns:xsl=" <html xmlns=" lang="en" xml:lang="en"> World Wide url(v/widgets.css);

Example XSL (cont.) World Wide Widgets [ Continue... ]

Example XSL (cont.) Products by Product ID Product ID Product Category Description Price On Hand

Example XSL (cont.) <xsl:value-of select="format-number (UnitPrice,'$###,##0.00')" />

Recommended Software ODB Script – Abyss Web Server – Cooktop – TextPad –

Thank You Questions?