Modeling web applications

Slides:



Advertisements
Similar presentations
The Web Warrior Guide to Web Design Technologies
Advertisements

Web Project Management
2-1 © Prentice Hall, 2007 Chapter 2: Introduction to Object Orientation Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph.
Slide 1 Systems Analysis & Design CS183 Spring Semester Dr. Jonathan Y. Clark Course Website:
PowerPoint Presentation for Dennis, Wixom & Tegarden Systems Analysis and Design Copyright 2001 © John Wiley & Sons, Inc. All rights reserved. Slide 1.
Sharif University of Technology1 Design and Use-case Realization Software Engineering Laboratory Fall 2006.
Validating user input Basharat Mahmood, Department of Computer Science,CIIT,Islamabad, Pakistan. 1.
Database Connectivity in PHP Basharat Mahmood, Department of Computer Science,CIIT,Islamabad, Pakistan. 1.
Chapter 9 Introduction to the Document Object Model (DOM) JavaScript, Third Edition.
Slide 1 Chapter 8 Behavioral Modeling. Slide 2 Key Ideas Behavioral models describe the internal dynamic aspects of an information system that supports.
The web application development process Basharat Mahmood, COMSATS Institute of Information Technology, Islamabad, Pakistan. 1.
Chapter 2 Introduction to HTML5 Internet & World Wide Web How to Program, 5/e Copyright © Pearson, Inc All Rights Reserved.
File uploading in PHP Basharat Mahmood, Department of Computer Science,CIIT,Islamabad, Pakistan. 1.
WEB DESIGNING Prof. Jesse A. Role Ph. D TM UEAB 2010.
Tables in HTML Basharat Mahmood, Department of Computer Science,CIIT,Islamabad, Pakistan. 1.
Web application architecture
Chapter 9 Collecting Data with Forms. A form on a web page consists of form objects such as text boxes or radio buttons into which users type information.
Section 2.1 Compare the Internet and the Web Identify Web browser components Compare Web sites and Web pages Describe types of Web sites Section 2.2 Identify.
© 2012 Boise State University1 WordPress Training February 14, 2013.
Deleting and Updating Records in MySQL using PHP Basharat Mahmood, Department of Computer Science,CIIT,Islamabad, Pakistan. 1.
Web Security Basharat Mahmood, Department of Computer Science,CIIT,Islamabad, Pakistan. 1.
Page Layout Basharat Mahmood, Department of Computer Science, CIIT, Islamabad, Pakistan 1.
1 Forms A form is the usual way that information is gotten from a browser to a server –HTML has tags to create a collection of objects that implement this.
1 HTML References: A HTML Tutorial: /HTMLPrimer.html
© 2012 Boise State University1 WordPress Training February 14, 2013.
1 Web Basics Section 1.1 Compare the Internet and the Web Compare Web sites and Web pages Identify Web browser components Describe types of Web sites Section.
Web application: Operation and maintenance Basharat Mahmood, Department of Computer Science,CIIT,Islamabad, Pakistan. 1.
Software Engineering Chapter 8 Fall Analysis Extension of use cases, use cases are converted into a more formal description of the system.Extension.
History, Navigator, Screen and Form Objects Basharat Mahmood, Department of Computer Science, CIIT, Islamabad, Pakistan 1.
Working with background, images and date object Basharat Mahmood, Department of Computer Science, CIIT, Islamabad, Pakistan 1.
Adding Image, audio and video files to web pages Basharat Mahmood, Department of Computer Science,CIIT,Islamabad, Pakistan. 1.
Copyright 2002 Prentice-Hall, Inc. Modern Systems Analysis and Design Third Edition Jeffrey A. Hoffer Joey F. George Joseph S. Valacich Chapter 20 Object-Oriented.
Slide 1 UML Review Chapter 2: Introduction to Object-Oriented Systems Analysis and Design with the Unified Modeling Language, Version 2.0 Alan Dennis,
Introduction to HTML 1 Basharat Mahmood, Department of Computer Science, CIIT, Islamabad, Pakistan.
Copyright 2002 Prentice-Hall, Inc. Chapter 2 Object-Oriented Analysis and Design Modern Systems Analysis and Design Third Edition Jeffrey A. Hoffer Joey.
Introduction to Cascading Style-sheets (CSS) Basharat Mahm ood, Department of Computer Science, CIIT,Islamabad, Pakistan 1.
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
Slide 1 Systems Analysis and Design with UML Version 2.0, Second Edition Alan Dennis, Barbara Wixom, and David Tegarden Chapter 8: Behavioral Modeling.
LOGO FORMs in HTML CHAPTER 5 Eastern Mediterranean University School of Computing and Technology Department of Information Technology ITEC229 Client-Side.
CS3773 Software Engineering Lecture 04 UML Class Diagram.
Behavioral Modeling Chapter 8.
Course Materials Management System And The New Student Portal.
Retrieving data from MySQL using PHP Basharat Mahmood, Department of Computer Science,CIIT,Islamabad, Pakistan. 1.
BCS 2143 Object Oriented Design Using UML. Objectives Objects Interactions Finding Classes Relationship Between Classes Attribute and Operation Class.
Behavioral Modeling Chapter 8
Session 8: Working with Form iNET Academy Open Source Web Development.
CPT 499 Internet Skills for Educators Session Three Class Notes.
Class Diagram Chapter 21 Applying UML and Patterns Craig Larman.
Hubnet Training One Health Network South East Asia Network Overview | Public and Members-only Pages; Communicating and Publishing using Blogs and News.
Project 6 Creating Forms on a Web Page. Objectives Define terms related to forms Describe the different form controls and their uses Use the tag Create.
HTML FORMS Basharat Mahmood, Department of Computer Science,CIIT,Islamabad,Pakistan. 1.
HTML 5 Form elements Basharat Mahmood, Department of Computer Science,CIIT,Islamabad, Pakistan. 1.
HTML DOM Basharat Mahmood, Department of Computer Science, CIIT, Islamabad, Pakistan 1.
HTML Links and navigation Basharat Mahmood, Department of Computer Science,CIIT,Islamabad, Pakistan. 1.
Microsoft Office 2008 for Mac – Illustrated Unit D: Getting Started with Safari.
Slide 1 Systems Analysis and Design with UML Version 2.0, Second Edition Alan Dennis, Barbara Wixom, and David Tegarden Chapter 8: Behavioral Modeling.
introductionwhyexamples What is a Web site? A web site is: a presentation tool; a way to communicate; a learning tool; a teaching tool; a marketing important.
FORMS Explained By: Jasdeep Kaur. Lecturer, Department of Computer Application, PGG.C.G., Sector: 42, Chandigarh.
Section 10.1 Define scripting
Creating and Processing Web Forms
CIIT-Human Computer Interaction-CSC456-Fall-2015-Mr
In this session, you will learn to:
**Please view the instructional guide as a slideshow**
**Please view the instructional guide as a slideshow**
Objectives Design a form Create a form Create text fields
PubMed Search Options (Basic Course: Module 6)
Chapter 20 Object-Oriented Analysis and Design
Class Diagram.
Requirements Document
New Member Procedures Go to:
Presentation transcript:

Modeling web applications Basharat Mahmood, Department of Computer Science,CIIT,Islamabad, Pakistan.

Summary of the previous lecture System modeling Requirement Modeling use-case diagram activity diagram Basharat Mahmood, Department of Computer Science,CIIT,Islamabad, Pakistan.

Outline Requirement modeling Content modeling Navigation modeling use-case diagram activity diagram Content modeling Navigation modeling Presentation modeling Basharat Mahmood, Department of Computer Science,CIIT,Islamabad, Pakistan.

1. Content modeling The information provided by a web application is one of the most important factors for the success of that application Content modeling aims at modeling the information requirements of a web application diagraming the structural and behavioral aspects of the information ignores the navigational information Basharat Mahmood, Department of Computer Science,CIIT,Islamabad, Pakistan.

1. Content modeling Key models Class diagram: to model the structural aspects of information State machine diagram: to model behavioral aspects of information Basharat Mahmood, Department of Computer Science,CIIT,Islamabad, Pakistan.

1.1 Class diagram Class diagram describes the structure of a system by system’s classes class attributes operations (methods) relationship among objects Basharat Mahmood, Department of Computer Science,CIIT,Islamabad, Pakistan.

1.1 Class diagram… Elements of a class diagram: class: class is represented by a rectangle with three compartments name attributes methods Class name Attributes Methods Basharat Mahmood, Department of Computer Science,CIIT,Islamabad, Pakistan.

1.1 Class diagram… Elements of a class diagram: Adding attributes: an attribute describes a piece of information that an object owns specified by name kind (data type) visibility (+, - , #) default value visibility name : type= default value + name : string = ‘ali’ {maximum 25 characters} users + name : String + email : String + password : String methods Basharat Mahmood, Department of Computer Science,CIIT,Islamabad, Pakistan.

1.1 Class diagram… Elements of a class diagram: Adding methods (functions): behaviors (things objects can do or can be done with them) name arguments visibility (+, - , #) return value visibility name (argument_name:type): return_value + userLogin(email:string, password:string):null users attributes - register(name:string, email:string,password:string):bool - login(email:string, password:string):bool Basharat Mahmood, Department of Computer Science,CIIT,Islamabad, Pakistan.

1.1 Class diagram… Elements of a class diagram: Association relationship between classes name of relationship direction of relationship person owns car Basharat Mahmood, Department of Computer Science,CIIT,Islamabad, Pakistan.

1.1 Class diagram… Elements of a class diagram: Association multiplicity How many objects participating in the relation person owns 1 .. 1 0..* car Basharat Mahmood, Department of Computer Science,CIIT,Islamabad, Pakistan.

1.1 Class diagram… Elements of a class diagram: Aggregation relation class has features of another class plus some own features Basharat Mahmood, Department of Computer Science,CIIT,Islamabad, Pakistan.

1.1 Class diagram… Elements of a class diagram: Composition relation Basharat Mahmood, Department of Computer Science,CIIT,Islamabad, Pakistan.

1.1 Class diagram… users Video Sharing 0..* 1..1 - name : string -email : string -password : string -introduction : string -register -login 1..1 0..* user uploads 0..* Register user video -videoID : int +videoTITLE : string +videoDES : string +upload() +search() 0..* Basharat Mahmood, Department of Computer Science,CIIT,Islamabad, Pakistan.

1.1 Class diagram… Use-case diagram : Conference Paper Submission System Source: Web Engineering – Kappel et al.

1.1 Class diagram… Conference Paper Submission System Source: Web Engineering – Kappel et al. Basharat Mahmood, Department of Computer Science,CIIT,Islamabad, Pakistan.

1.2 State machine diagrams For dynamic Web applications, they depict important states and events of objects, and how objects behave in response to an event (transitions) Show the life-cycle of an object Used only for state-dependent objects Basharat Mahmood, Department of Computer Science,CIIT,Islamabad, Pakistan.

1.2 State machine diagram.. Second state Fourth state Third state First state Source: Web Engineering – Kappel et al. Fifth state Basharat Mahmood, Department of Computer Science,CIIT,Islamabad, Pakistan.

2. Navigation Modeling Models how web-pages are linked together defines the structure of the hypertext Which classes of the content model can be visited by navigation Content to navigation http://uwe.pst.ifi.lmu.de/teachingTutorialNavigation.html Basharat Mahmood, Department of Computer Science,CIIT,Islamabad, Pakistan.

2. Navigation Modeling… UWE navigation modeling navigationClass menu Index  query processClass Processlink Navigation link External link Basharat Mahmood, Department of Computer Science,CIIT,Islamabad, Pakistan.

2. Navigation Modeling Online video sharing: Home page video list search video upload video register login upload Basharat Mahmood, Department of Computer Science,CIIT,Islamabad, Pakistan.

2. Navigation modeling… <<navigationClass>> Video Sharing <<processlink>> <<navigationlink>> <<menu>> mainMenu <<navigationClass>> uploadVideo <<query>> searchVideo <<navigationLink>> <<processLink>> <<index>> videolist <<processlink>> <<processlink>> <<navigationlink>> <<processClass>> register <<processClass>> login <<processClass>> upload <<processlink>> Basharat Mahmood, Department of Computer Science,CIIT,Islamabad, Pakistan.

3. Presentation Modeling Purpose: To model the look & feel of the Web application at the page level The design should aim for simplicity and self-explanation Describes presentation structure: Composition & design of each page Basharat Mahmood, Department of Computer Science,CIIT,Islamabad, Pakistan.

3. Presentation Modeling… Levels: Presentation Page page container Presentation Unit A fragment of the page logically defined by grouping related elements Basharat Mahmood, Department of Computer Science,CIIT,Islamabad, Pakistan.

3. Presentation Modeling… Levels: Presentation Element A unit’s informational components Text, images, buttons, fields Basharat Mahmood, Department of Computer Science,CIIT,Islamabad, Pakistan.

<<page>> User registration page 3. Presentation Modeling… <<page>> User registration page <<presentationUnit>> Logo <<image>> logo <<text>> title <<presentationUnit>> <<textinput>> name <<textinput>> email <<textinput>> password <<button>> submit Basharat Mahmood, Department of Computer Science,CIIT,Islamabad, Pakistan.

Summary Content modeling Navigation modeling Presentation modeling class diagram state machine diagram Navigation modeling Presentation modeling Basharat Mahmood, Department of Computer Science,CIIT,Islamabad, Pakistan.

References Chapter 3, Kappel, G., Proll, B. Reich, S. & Retschitzegger, W. (2006). Web Engineering, Hoboken, NJ: Wiley & Sons Chapter 5, Sommerville, Software Engineering, ISBN-10: 0-13-703515-2 , PEARSON http://uwe.pst.ifi.lmu.de Basharat Mahmood, Department of Computer Science,CIIT,Islamabad, Pakistan.