You are on page 1of 18

Mobile Web Component Development

Requirements Definition
Requirements Definition
University of West London
Nasser Matoorian

Ref:
Cheesman J. (2000)

Mobile Web Component Development 1


Requirements Definition

Topics covered
• Requirements Definition

• Business Concepts

• Use Cases

• Scenarios

Mobile Web Component Development 2


Requirements Definition

Process
1. Analyse the requirements.
2. Construct business concepts model
3. Identify Use Cases.
4. Perform Audit.
5. Construct Use-Case Descriptions.
6. Re-factor Use-Case models.
7. Refine business concepts to business types.
8. Scenarios using business states.

Mobile Web Component Development 3


Requirements Definition

Consider the following example:


Library
A Library has books that are borrowed and returned by readers.
Books are issued by the reader using a console. A reader
registers and de-registers with a library via the librarian. A reader
cannot borrow or return books until they are registered and until
they have paid any outstanding fines.

Mobile Web Component Development 4


Requirements Definition

Case Study - Hotel


A hotel reservation system is required that will allow reservations to be
made for any hotel in the chain. At present, each hotel has its own,
incompatible system. Reservations can be made by telephone to a
dedicated central reservations centre, by telephone direct to a hotel, or
via the internet.

A major advantage of the new system will be the ability to


offer rooms at alternative hotels when the desired hotel is full. Within a
hotel, facilities for making reservations will exist at the front desk, in the
office, and at the concierge’s desk.

Each hotel has a reservation administrator who is responsible for


controlling reservations at the hotel, but any authorized user may make a
reservation. The target time for making a reservation by telephone or in
person is three minutes. To speed up the process, details of previous
customers will be stored and made available.
Mobile Web Component Development 5
Requirements Definition

Case Study - Hotel

Step 1
Produce main concepts

Mobile Web Component Development 6


Requirements Definition

Case Study - Hotel Hotel Chain

Main concepts 1
Clerk
Address

0..1 +contactAddress 1..* 1..*

Hotel
1 * * 1

Customer 1
* 1..*

Reservation +allocation Room


1
* * 0..1

1 * *

0..1
1

Payment 0..1 1 Bill 1


Room Type

Mobile Web Component Development 7


Requirements Definition

Use Cases
• Identify the main system functionality.
• Views system as a black box.
• Identify the main users of the system.
• Construct use-cases by analysing business processes.

• A use-case includes:
– goal
– trigger
– pre-condition
– steps

Mobile Web Component Development 8


Requirements Definition

Exercise: List the Library Use Cases

Mobile Web Component Development 9


Requirements Definition

Business Process (from last week)

Mobile Web Component Development 10


Requirements Definition

Use Cases
1. Make Reservation (covering Check Availability, Make
Reservation, and Confirm Reservation steps).
2. Cancel Reservation
3. Amend Reservation (covering Amend Reservation and
Confirm Reservation steps).
4. Take-Up Reservation (covering Take Up Reservation and
Notify Billing System steps).
5. Process No-Show (covering Process No-Show and Notify
Billing System steps).
6. Add/Amend/Remove Administration.

Mobile Web Component Development 11


Requirements Definition

Use Case Diagram System

Cancel Reservation

Reservation Maker

Make Reservation

Amend Reservation
Guest

Take up Reservation

Billing System

Process No-Show

Administrator

Mobile Web Component Development 12


Add, Amend, Remove
Requirements Definition

Audit
• Analyse Business Concepts.
• For each business concept:
– which use-cases create or destroy instances of the
concept?
– which use-cases change the relationships between concept
instances?
– which use-cases change the state of any concept instance?
• If a concept is never created or destroyed then it is
outside the scope of the system.

Mobile Web Component Development 13


Requirements Definition

Audit Tables: Create/Delete

Mobile Web Component Development 14


Requirements Definition

Use-Case Descriptions

Mobile Web Component Development 15


Requirements Definition

Example

Mobile Web Component Development 16


Requirements Definition

Refactor System

Cancel Reservation

Reservation Maker

<<include>>

Make Reservation

<<include>>
Identify Reservation

Amend Reservation
Guest

<<include>>

Take up Reservation

Billing System

Process No-Show

Mobile Web Component Development 17


Administrator
Requirements Definition

Summary
• Requirements Definition

• Business Concepts

• Use Cases

• Scenarios

Mobile Web Component Development 18

You might also like