Use Case
Use Case
Hardware Interface :-
The software requires the support of the following softwares for the database
and other requirements
HTML
JDK
html editor for web interface
MySql for database
Server(windows 2000,apache or…)
Communication Interfaces :-
Use Cases:
Browse Catalog
1) Search for a Book
• Purpose: A user can search for a book of his choice by selecting category and
title. Then a select query is used to retrieve data from the database and display
the selected information.
• Actor: User
• Input: The user will select a category and enter title in a text box provided.
• Output: The system will display the books which matches the selected search
criteria. A dataset is created as a result of select query. Later the dataset is
binded to the data repeater to display the selected data.
2) Perform Advanced Search
• Purpose: If the user wants to perform an advanced search he can search for a
book of his choice by selecting category, title, and author and price range. Then
a select query is used to retrieve data from the database and display the
selected information.
• Actor: User
• Input: The user will select a category and enter title, author, and price range in
a text box provided.
• Output: The system will display the books which matches the selected search
criteria. A dataset is created as a result of select query. Later the dataset is
binded to the data repeater to display the selected data.
Maintain Account
1) Register
• Purpose: If the user doesn’t have an account then he will be asked to
register.
• Actor: User
• Input: The user will enter details in the registration form according to the
required fields. The fields include
1. Username
2. Password
3. Confirm password
4. First name
5. Last name
6. Email
7. Address
8. Phone
9. CC details
• Output: After registration the user will be directed to the main home page.
2) Login
• Purpose: If the user wants to get access to all the functionalities of Online
Book Store he should login using his username and password.
• Actor: User
• Input: The user will enter his username and password.
• Output: If it is a successful login the user will be directed to the main home
page. Else if the user enters invalid information he will be asked to check the
entered information.
3) Update Profile
• Purpose: If the user wants to change his personal account information then
he can update his selected fields and the entire data will be updated in the
data base through an update query.
• Actor: User
• Input: The user will update his account information.
• Output: The system will update the entered information in the database
using an update query.
4) Logout
• Purpose: If the user wants to end his session and sign out of the website
then he can use the logout option.
• Actor: User 12
• Input: The user will click the logout button.
• Output: The user’s account session comes to an end and he should login
again if he wants to enter into the website.
Administrator
1) Login
• Purpose: If the Administrator wants to get access to all the functionalities of
Online Book Store he should login using his username and password.
• Actor: Administrator
• Input: The Administrator will enter his username and password.
• Output: If it is a successful login the Administrator will be directed to his
menu page. Else if the Administrator enters invalid information he will be
asked to check the entered information.
4) Manage Orders
• Purpose: If the Administrator wants to add or delete an order then he can
insert or delete an order using his administration rights.
• Actor: Administrator
• Input: If the Administrator wants to add an order the he should click the
insert link button in the orders page else he can delete a particular selected
order.
Output: The updated orders list will be processed to the users.
7) Logout
• Purpose: If the Administrator wants to end his session and sign out of the
website then he can use the logout option.
• Actor: Administrator
• Input: The Administrator will click the logout button.
• Output: The Administrator’s account session comes to an end and he
should login again if he wants to enter into the website.
USER – USECASE DIAGRAM
ADMIN- USECASE DIAGRAM
Data Flow Diagram (DFD):
Data Flow Diagrams show the flow of data from external entities into the system, and from
one process to another within the system.
There are four symbols for drawing a DFD:
Class Diagram:
Collaboration Diagram:
StateChart Diagram:
Activity Diagram:
Component Diagram:
Deployment Diagram:
Entity-Relationship Diagram: