Docsity

Object-Oriented Design: Requirements Workflow - Sharif University of Technology, Slides of Object Oriented Analysis and Design

Partial preview of the text

Download Object-Oriented Design: Requirements Workflow - Sharif University of Technology and more Slides Object Oriented Analysis and Design in PDF only on Docsity!

Department of Computer Engineering

Sharif University of Technology

Object-Oriented Design

Lecturer: Raman Ramsin

Lecture 3 : Requirements Workflow

Department of Computer Engineering

Sharif University of Technology

Four Steps of Requirements Capture  List candidate requirements  Understand system context  Capture functional requirements  Capture nonfunctional requirements

Department of Computer Engineering

Sharif University of Technology

  1. Understand system context  Domain model  Important concepts of the context and relationships among them  A glossary of terms for better communication  Domain objects later transformed to classes  Business Model  Model the business processes of the organization  Specify which processes are to be supported by the system

Department of Computer Engineering

Sharif University of Technology

  1. Capture functional requirements  Use case model  Each use case describes a way of using the system by a user  Use case model contains all the use cases of the system  Interview users and customers to collect them  This model leads to analysis and design

Department of Computer Engineering

Sharif University of Technology

Artifacts of requirements workflow: Use case model  Actor:  Users who use the system, and  external systems that interact with the system  Use cases  Flow of events  Special requirements  Use Case Priorities  Glossary:  Important and common terms used by analysts in describing the system  User Interface Prototype

Department of Computer Engineering

Sharif University of Technology

Main Activity of Requirements Workflow: Capture Functional Requirements

  1. Find actors and use cases
  2. Prioritize use cases
  3. Detail use cases
  4. Prototype user interface
  5. Structure the use-case model

Department of Computer Engineering

Sharif University of Technology

  1. Find actors and use cases - 2  Four steps:  Finding the actors  At least one user who can enact the candidate actor  Min. overlap between the roles played by different actors  Finding the use cases  A use-case should deliver an observable result that is of value to the particular actor – the initiating actor  Avoid too small or too large use cases

Department of Computer Engineering

Sharif University of Technology

  1. Find actors and use cases - 3  Four steps:  Briefly describing each use case  A step-by-step description of what the system needs to do when interacting with the actor  Describing the use case model as a whole  Use diagrams and descriptions to explain the use-case model as a whole, and how they are related to each other  Let the users/customers approve the use-case model through an informal review

Department of Computer Engineering

Sharif University of Technology

  1. Detail use cases - 1  Describe the flow of events for each use case  Structuring the use-case description  Choose a complete basic path from the start state to the end state and describe it in one section  Basic path: “normal” path  Describe the rest of the paths as alternatives of deviation from the basic path  Alternative paths are described in a separate section

Department of Computer Engineering

Sharif University of Technology

  1. Detail use cases - 2  What to include in use-case descriptions  Define the start state and end states as precondition and post-conditions, respectively  How and when the use case starts and ends  The required order of actions  Paths of execution that are not allowed  Alternative path descriptions  System interactions with the actor, explicitly specify what the system does and what the actor does  Usage of objects, values, and resources of the system

Department of Computer Engineering

Sharif University of Technology

  1. Prototype user interface - 1  Creating a logical user interface design  Determine what elements are needed from the user interfaces to enable the use cases for each actor  How should they be related to each other  What should they look like  How should they be manipulated  Use sticky notes (for elements) on a whiteboard

Department of Computer Engineering

Sharif University of Technology

  1. Prototype user interface - 2  Creating a physical user-interface design and prototype  Sketch the constellation of user interface elements  Additional elements may be added to organize the elements (like windows, menus, etc)  Each actor should be provided with a well- integrated, easy-to-use, and consistent interface  Prototypes may be built for user validation

Department of Computer Engineering

Sharif University of Technology

Reference  Jacobson, I., Booch, G., Rumbaugh, G., Unified Software Development Process. Addison-Wesley, 1999.