E-Learning Material Web Application Design 2. Web Application Design Use cases Guidelines Exceptions Interaction Sequence diagrams Finding objects.

Slides:



Advertisements
Similar presentations
Design by Contract.
Advertisements

Use-Cases.
Withdrawal Transaction Use Case Primary Actor: Customer Pre-conditions: The customer must have a valid ATM card and PIN. Post-conditions: The customer.
Use Case & Use Case Diagram
© 2010 Bennett, McRobb and Farmer1 Use Case Description Supplementary material to support Bennett, McRobb and Farmer: Object Oriented Systems Analysis.
Visual Basic: An Object Oriented Approach 2 – Designing Software Systems.
Lecture 9 Descriptors, Events & Event Tables INFO1409 Systems Analysis & Design Module HND Year /9.
1 BTEC HNC Systems Support Castle College 2007/8 Systems Analysis Lecture 7 Descriptors Events Events Tables.
Software Engineering Introduction to UML.
Information System Engineering
CPSC 333: Foundations of Software EngineeringJ. Denzinger Small Test: Bank account manager System has to run on an automated teller machine. User must.
Ch 12: Object-Oriented Analysis
Lecture 8 Electronic Commerce Modelling Techniques
Assignment I, part 1. Groups of three students. Specify one as group leader. group names to TA and me. Create an object-oriented conceptualization.
Sequence Diagrams. Introduction A Sequence diagram depicts the sequence of actions that occur in a system. The invocation of methods in each object, and.
Paul Deitel, CEO Deitel & Associates, Inc.. Contact Information  Paul Deitel, CEO  Deitel & Associates, Inc.  Twitter:  Facebook:
Tutorial 2. What is a UML Use Case Diagram? Use case diagrams model the functionality of a system using actors and use cases. Use cases are services or.
January Ron McFadyen1 Use Cases in the UML Functionality under consideration is represented by use cases (named ellipses) enclosed in a box.
UML Extensions for Web Design Design activities: –Partitioning of objects into tiers such as client, server, etc. –Separating and defining user interfaces.
Use Case modelling How to go from a diagram to a further definition.
Lecture 4 Class Responsibility Collaboration Cards
Object Oriented Analysis Process
Use Case Modelling.
University of Toronto Department of Computer Science © Steve Easterbrook. This presentation is available free for non-commercial use with attribution.
Requirements Analysis 2 What objects collaborate to achieve the goal of a use case?
Marcelo Santos – OOAD-CDT309, Spring 2008, IDE-MdH 1 Object-Oriented Analysis and Design - CDT309 Period 4, Spring 2008 More on use cases System sequence.
Slide 1 Chapter 8 Behavioral Modeling. Slide 2 Key Ideas Behavioral models describe the internal dynamic aspects of an information system that supports.
UML exam advice. Minimal, yet sufficient UML course 80% of modeling can be done with 20% of the UML. Which 20% was that again? We’re supposed to be “Use.
Chapter 9 Domain Models 1CS6359 Fall 2012 John Cole.
1 Lab Beginning Analysis and Design 4 Completion of first version of use case diagram initiates the processes of analysis and design. 4 UML provides.
Use Case Modeling. Use case diagram For each use case we develop  Object class diagram (with attributes only)  System sequence diagram (analysis) 
Quiz 1. Who is the guru of Extreme Programming?
Requirements Spec Revisited Dan Fleck. Responsibility - if you don’t do well in class, who’s problem is it?
Chapter 5 Analysis Model. Analysis model (AM) The first step in describing how the system will implement the requirements specification The first step.
Software Engineering Design & Modelling
Developing Use Cases in a Group Carolyn L. Cukierman Face-to-Face Technology Conference March 27, 2000.
Interaction Modeling Interaction model describes how objects interact to produce useful results. Interactions can be modeled at different levels of abstraction:
SOFTWARE DESIGN AND ARCHITECTURE LECTURE 25. Review Design Level Class Diagram Identifying classes/Operations/Attributes Associations – Simple associations.
1 Object-Oriented Analysis Use Case Driven. 2 The outline method for OOA 1.Identify object classes within the problem domain 2.Define the behaviour of.
USE CASE Bayu Adhi Tama, MTI Faculty of Computer Science, University of Sriwijaya Slides are adapted from Petrus Mursanto
Behavioral Modeling Chapter 8.
Object-Oriented Design Simple Program Design Third Edition A Step-by-Step Approach 11.
Requirements Analysis and Design Engineering Southern Methodist University CSE 7313.
Discovering object interaction. Use case realisation The USE CASE diagram presents an outside view of the system. The functionality of the use case is.
Information Systems Engineering Interaction Diagrams: Sequence Diagram Collbortion Diagram.
Object Oriented Design Jerry KotubaSYST Object Oriented Methodologies1.
Use Cases Use Cases are employed to describe the functionality or behavior of a system. Each use case describes a different capability that the system.
Use Case Model Use case diagram.
Business Analysis with For PG MDI, Gurgaon Kamna Malik, Ph.D.
Use Case Driven Analysis Requirements Use Case Use Case Description System Sequence Diagram Chapter 5.
E-Learning Material Web Application Design. Why do we need a process? The Process Communication Modelling web applications.
Page 1 Cash Application By MIS Department. Page 2 Enter your User ID and Password here Note: User ID and Password are initially assigned by MIS. You will.
Scenario A scenario is a sequence of steps describing an interaction between a user and a system. Use case is a set of scenarios tied together by a common.
Sept Ron McFadyen1 Use Cases Introduced by Ivar Jacobson in 1986 literal translation from Swedish ”usage case” Used to capture and describe.
Understanding Requirements
UML (Unified Modeling Language)
Use Case Diagram Lecture # 1. Use Case Diagram Use-cases are descriptions of the functionality of a system from a user perspective.  Depict the behaviour.
Chapter 6: Structuring Requirements: Use Case Description and Diagrams Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph.
Use Case Diagrams. Introduction In the previous Lecture, you saw a brief review of the nine UML diagrams. Now that you have the clear, you'll start to.
High Level Design Use Case Textual Analysis SE-2030 Dr. Mark L. Hornick 1.
Requirements capture: Using UML Use Cases David Millard and Yvonne Howard {dem,
Use Case Diagrams A Detailed Description. Use Case Diagrams Use case diagrams describe relationships between users and use cases A use case is a (usually.
Using Use Case Diagrams
CMPE 280 Web UI Design and Development August 29 Class Meeting
Use Case Driven Analysis
Use Case Model Use case diagram.
SAD ::: Spring 2018 Sabbir Muhammad Saleh
Software Engineering System Modeling Chapter 5 (Part 1) Dr.Doaa Sami
Using Use Case Diagrams
Software Engineering System Modeling Chapter 5 (Part 1) Dr.Doaa Sami
Presentation transcript:

E-Learning Material Web Application Design 2

Web Application Design Use cases Guidelines Exceptions Interaction Sequence diagrams Finding objects

What were use cases for? Illustrate how someone might use the app. High level functionality Dissociate implementation of app. from reason app. is required in first place Focus on what is truly important - meeting customer’s needs Customer can see functionality and agree to scope of application before work starts

Some simple guidelines Don’t model actor to actor communications – outside of scope Don’t show order of execution Use cases should be initiated by an actor (exceptions to follow!) Think of database as ‘underneath’ Enter info. In db using one use case Access info. From db using another use case Don’t draw arrows to show info. flow

So what are the exceptions? If we needed actors to initiate every use case, there would be a lot of duplication We can ‘break out’ common processes into a separate use case > relationship

> relationships checkout login Check account >

Another exception We might have a use case that normally works fine, but sometimes it needs to work differently The > relationship means that one use case always uses the functionality provided by another The > relationship provides optional functionality

> relationships loginregister > An actor initiates the login use case. A registered user has a password and succeeds. A new user doesn’t have a password and needs to register. The register use case > the functionality of the login use case only if a certain condition isn’t met.

A common example customerbrowser register Order product login >

But where’s the application? We have captured the user’s requirements We know what the application has to do We don’t have any code yet Where do we go now?

Interaction We need to examine the interactions that occur inside each of the use cases We can now look at process flow and order of precedence Two views of interaction: Sequence Collaboration

Sequence diagrams Shows step-by-step one of the flows through a use case Sequence diagrams ordered by time Represent ‘messages’ passed between ‘objects’

Example customer System The customer tells the system to checkout. The system looks at the contents of the shopping cart and produces an itemised list of all the items that are ready to be purchased. The customer confirms the order and tells the system to process the order. 1: Checkout 2: Examine cart 3: Display list 4: Confirm order objects messages time

Collaboration diagrams Show same information as sequence diagram Emphasis is on describing relationships (message passing) between objects Harder to read sequence of operations We shall stick with sequence diagrams

Remind me what objects are again? Something that has information and behaviour E.g. Bank Account Information: account number, account name, current balance Behaviour: balance increased when deposit made, balance reduced when cash withdrawn, charge made when overdrawn

More on objects The behaviours an object has are known as its operations Operations for the bank account are: Adjust balance for deposit Adjust balance for withdrawal Check if account overdrawn

How do we find the objects? Look for nouns in use cases Some will be actors, some objects, some attributes of objects Ask the question; Does it have any behaviour? If it has, it’s probably an object If not, it’s an attribute You shouldn’t need any help with the actors…

Recap We remove common use cases with the > relationship Optional functionality with > Sequence dia. explore each use case Messages passed over time from object to object Objects found lurking in use cases

Next time… Producing the final model