E-Learning Material Web Application Design 3. Web Application Design Architecture Which objects go where? The final model notation Summary.

Slides:



Advertisements
Similar presentations
Vrije Universiteit amsterdamPostacademische Cursus Informatie Technologie Web Applications – The Object Web combining servers and client-applications multiple.
Advertisements

DT228/3 Web Development WWW and Client server model.
Time Scalability Single User Unlimited Users 100s of Users Several Users PC based Single user Late 1980sNow PC based, file-level locking Single user or.
Copyright 2004 Monash University IMS5401 Web-based Systems Development Topic 2: Elements of the Web (g) Interactivity.
Server-Side vs. Client-Side Scripting Languages
Chapter Concepts Review Markup Languages
UML Extensions for Web Design Design activities: –Partitioning of objects into tiers such as client, server, etc. –Separating and defining user interfaces.
Design of Web-based Systems IS Development: lecture 10.
ISYS 546 Client/Server Database Application Development.
BICS546 Client/Server Database Application Development.
15 Chapter 15 Web Database Development Database Systems: Design, Implementation, and Management, Fifth Edition, Rob and Coronel.
ACTIVE X By Ethan Huang. OUTLINE What is ActiveX? Component of ActiveX Why ActiveX? ActiveX and Java Security Issue.
DATABASE APPLICATION DEVELOPMENT SAK 3408 The Web and DBMS.
Introduction to Web Base Multimedia Application. Web base application TCP/IP (HTTP) protocol Using WWW technology & software Distributed environment.
INTERNET DATABASE Chapter 9. u Basics of Internet, Web, HTTP, HTML, URLs. u Advantages and disadvantages of Web as a database platform. u Approaches for.
Introduction to Web Database Processing
Web Servers How do our requests for resources on the Internet get handled? Can they be located anywhere? Global?
Introduction to Web Application Architectures Web Application Architectures 18 th March 2005 Bogdan L. Vrusias
INTERNET DATABASE. Internet and E-commerce Internet – a worldwide collection of interconnected computer network Internet – a worldwide collection of interconnected.
Active X Microsoft’s Answer to Dynamic Content Reference: Using Active X by Brian Farrar QUE
Introduction to Web Interface Technology (CSE2030)
Satzinger, Jackson, and Burd Object-Orieneted Analysis & Design
CS CS 5150 Software Engineering Lecture 13 System Architecture and Design 1.
Distributed Information Systems - The Client server model
12 Chapter 12 Client/Server Systems Hachim Haddouti.
Introduction to Web Interface Technology (CSE2030)
Cambodia-India Entrepreneurship Development Centre - : :.... :-:-
Computer Science 101 Web Access to Databases Overview of Web Access to Databases.
Client/Server Architecture
Client-Server Processing and Distributed Databases
Web Programming Language Dr. Ken Cosh Week 1 (Introduction)
Quick Tour of the Web Technologies: The BIG picture LECTURE A bird’s eye view of the different web technologies that we shall explore and study.
Client/Server Architectures
1 Web Servers (IIS and Apache) Outline 9.1 Introduction 9.2 HTTP Request Types 9.3 System Architecture 9.4 Client-Side Scripting versus Server-Side Scripting.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 13 Slide 1 Application architectures.
INTRODUCTION TO WEB DATABASE PROGRAMMING
The Design Discipline.
FALL 2005CSI 4118 – UNIVERSITY OF OTTAWA1 Part 4 Web technologies: HTTP, CGI, PHP,Java applets)
Architecture Of ASP.NET. What is ASP?  Server-side scripting technology.  Files containing HTML and scripting code.  Access via HTTP requests.  Scripting.
Introduction to ASP.NET. Prehistory of ASP.NET Original Internet – text based WWW – static graphical content  HTML (client-side) Need for interactive.
1 Web Server Concepts Dr. Awad Khalil Computer Science Department AUC.
Copyright © cs-tutorial.com. Introduction to Web Development In 1990 and 1991,Tim Berners-Lee created the World Wide Web at the European Laboratory for.
1 CS 3870/CS 5870 Static and Dynamic Web Pages ASP.NET and IIS.
Week 7 Lecture Web Database Development Samuel Conn, Asst. Professor
Basics of Web Databases With the advent of Web database technology, Web pages are no longer static, but dynamic with connection to a back-end database.
Chapter 6 The World Wide Web. Web Pages Each page is an interactive multimedia publication It can include: text, graphics, music and videos Pages are.
Introduction to Internet Programming (Web Based Application)
Internet, intranet, and multimedia database processing l Database processing across local and wide area networks l Alternative architectures for distributing.
 2001 Prentice Hall, Inc. All rights reserved. 1 Chapter 21 - Web Servers (IIS, PWS and Apache) Outline 21.1 Introduction 21.2 HTTP Request Types 21.3.
Client – Server Architecture. Client Server Architecture A network architecture in which each computer or process on the network is either a client or.
Web Pages with Features. Features on Web Pages Interactive Pages –Shows current date, get server’s IP, interactive quizzes Processing Forms –Serach a.
1 Welcome to CSC 301 Web Programming Charles Frank.
Mainframe (Host) - Communications - User Interface - Business Logic - DBMS - Operating System - Storage (DB Files) Terminal (Display/Keyboard) Terminal.
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 14 Database Connectivity and Web Technologies.
1 MSCS 237 Overview of web technologies (A specific type of distributed systems)
Active Server Pages Server-Side Scripting and Client-Side Scripting.
Web Pages with Features. Features on Web Pages Interactive Pages –Shows current date, get server’s IP, interactive quizzes Processing Forms –Serach a.
Web application architecture1 Based on Jim Conallen: Web Applications with UML.
1 WWW. 2 World Wide Web Major application protocol used on the Internet Simple interface Two concepts –Point –Click.
14 1 Chapter 14 Web Database Development Database Systems: Design, Implementation, and Management, Sixth Edition, Rob and Coronel.
Introduction and Principles Web Server Scripting.
NASRULLAH KHAN.  Lecturer : Nasrullah   Website :
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 14 Database Connectivity and Web Technologies.
Client – Server Architecture A Basic Introduction 1.
Glink for Java: applet, application and an API for integrating access to Bull, IBM, UNIX and Minitel systems with your Java based e-business applications.
1 Chapter 1 INTRODUCTION TO WEB. 2 Objectives In this chapter, you will: Become familiar with the architecture of the World Wide Web Learn about communication.
Web Software Model CS 4640 Programming Languages for Web Applications
Lecture 1: Multi-tier Architecture Overview
Architecture of the web
Presentation transcript:

E-Learning Material Web Application Design 3

Web Application Design Architecture Which objects go where? The final model notation Summary

Architecture Why should the architecture affect the app.? Recap: single tier two tier three tier

Partitioning the application Three fundamental parts Presentation means by which app. displays output and accepts input Logic computation that is programmed into the application Data quantities and values that your app. processes and stores

Single tier Presentation, Logic and Data all performed on one machine Known as ‘standalone’ application Everything self-contained - no connection to network required Difficult to synchronise data with other machines Data integrity damaged by time delays - not real-time changes Change the logic, every machine to update Platform dependent (PC, Mac, Unix etc.)

Two tier Client-server framework Data resides on server, Presentation and Logic on client Data is centralised System performance subject to network conditions and utilisation of server Logic updates still apply to each client

Three tier Presentation layer resident on client Logic performed by separate server Data on network database server Quick to change logic without affecting users Client’s OS must be compatible with Logic server’s OS Still dependent on network performance Presentation at mercy of weakest computer - 16 colour client cannot display photos

Web App. Architecture With three tier, we can use a browser for presentation Only has to process ASCII text-based HTML to produce web pages Platform independent To be operational, two things are required: Browser must be on desktop machine Desktop needs access to network via TCP/IP Thin Client

input marks input attendance create marking scheme login authenticate > check marks student read timetable > tutor get mark scheme Example > Why is this >? Should it not be >?

input marks input attendance create marking scheme login authenticate > check marks student read timetable > tutor get mark scheme Example - presentation >

input marks input attendance create marking scheme login authenticate > check marks student read timetable > tutor get mark scheme Example - logic >

input marks input attendance create marking scheme login authenticate > check marks student read timetable > tutor get mark scheme Example - data? The use case text gives us the complete process - if we are inputting marks then we will have identified a database object..similarly if we are creating a new marking scheme then it must be saved somewhere - in a database object..and attendance marks must be stored centrally (more data)... >

So far... We have identified the user’s requirements and produced textual descriptions for each operation We have produced a use case diagram to graphically represent the model We identified the objects from the noun phrases that had behaviour We have examined the sequence of messages passed between objects

All we need to do now is: Map the application logic to the user’s requirements Develop the navigation Decide what the user will see Communicate our design with the user and coder

Component Diagram Notation Document that sends output to client - otherwise known as ‘client page’ Document that does not send output to client - also referred to as ‘server page’ navigation link

Example login authenticate login bad login browse index valid login invalid login redirect tutor indextimetable click tutor index link click timetable link authenticate tutor login valid login not tutor invalid user redirect

Technology - CGI login.htm chcklog.cgi badlogin.cgi index.htm valid login invalid login redirect tutind.htmtmetble.htm click tutor index link click timetable link chcltlog.cgi valid login nottut.cgi invalid user redirect

Technology - ASP login.asp chcklog.asp badlogin.asp index.asp valid login invalid login redirect tutind.asptmetble.asp click tutor index link click timetable link chcltlog.asp valid login nottut.asp invalid user redirect

Technology - JSP login.jsp chcklog.jsp badlogin.jsp index.jsp valid login invalid login redirect tutind.jsptmetble.jsp click tutor index link click timetable link chcltlog.jsp valid login nottut.jsp invalid user redirect

Summary Design is where the abstraction of the business takes its first step into the reality of software Design starts with the analysis model and architecture as the major inputs The design model can be mapped straight to code Component diagrams visualise components, interfaces and relationships

Summary 2 Proper partitioning of the business objects in a Web App. is critical and depends on the architecture In Thin Web Client apps., actors interact only with client pages; Server pages interact only with server resources In Thick Web Client apps., client can execute business logic with scripts, applets or ActiveX (Microsoft) components

Summary 3 Various technologies to use: Common Gateway Interface server-side scripts Java Server Pages VBscript on client JavaScript on client Active Server Pages - more to follow later...