0% found this document useful (0 votes)
120 views

Bookstore Online Project: Assignment 2

The document describes a proposed online bookstore project. It includes an introduction outlining the purpose to create an online interface for browsing and purchasing books. It then covers user cases, requirements analysis including functional and non-functional requirements, and proposed technical implementation using HTML, CSS, Java servlets, JSP and a MySQL database.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
120 views

Bookstore Online Project: Assignment 2

The document describes a proposed online bookstore project. It includes an introduction outlining the purpose to create an online interface for browsing and purchasing books. It then covers user cases, requirements analysis including functional and non-functional requirements, and proposed technical implementation using HTML, CSS, Java servlets, JSP and a MySQL database.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 7

Members name:

H Thy c
Nguyn Ngc Minh Nghi
V nh Tun

Assignment 2

BOOKSTORE ONLINE
PROJECT
I.

Introduction
Bookstore online is a project of Web Application and
Development subject.
The purpose of this e-commerce project is create an interface
webpage online as same as a bookstore but it will be work on the
internet.
Definitely, one of us ever would like to buy a book when it has just
published but hesitant because the bookstore is far away from our house
or the bookstore is so crowed. Our bookstore online system was born to
overcome such difficulties. Bookstore online is a website which people
can view the detail of the book, look up and buy books online. The
convenient of bookstore online shop is helping people buying books
online in the easy way rather than going to bookstore and save their
time.
In the other hand, the website also have admin site that the
admin can manage the user account and books in the website. Admin
can also add or delete books which are new or sold out. More than that,
user can purchase online and deliver at home.

II. Use-case diagram

III. The detail for each Actor


1.Guest
-

Create a new account (register)


View detail of the books
Look up the book they want to find

2. User
-

Log in , log out


View detail of the books
Look up the book they want to find
Choose and add books which they want to buy in the shopping
cart
Cancel books which have been chosen in shopping cart
Choose the method for purchase : credit or cash
Post comment of books/ rating books
Update information
Send message/ recommend admin about the book they want
to buy

3. Admin
-

Manage account of the user


o See the information of users
o Update information of users
Add or delete book
Have report of user shopping cart
Allow which comments is posted
Block/banned account

IV. Requirement Analysis


a. Functional Requirement
User / Guest
1. Log in
Initial Condition

Users want to login to the system

Normal case

In the homepage, user will enter their username and password in


login box. The username and password is created when user register to
the website

What can go wrong?

Wrong username and password

2. View book details

Initial Condition

Want to view some information about the book

Normal case

By clicking on the view book button below the book image, user
can access to the page Book Detail to see more information about the
book: author, publisher, date publish, price, comment books or more

What can go wrong?


If book is deleted by admin, it shouldnt show the details of the
book anymore

3. Search book
Initial Condition

User want to search a book by category or type.

Normal case
Goes to search box, and enter the title of book, then click the icon
search. The result will be shown.

What can go wrong?

If the book may not be in the database yet, the system will return
Book not found message

4. Shopping function

a. Add book to cart


Initial Condition
User choose the book that they want to buy and then add to their
shopping cart

Normal case

By clicking on the view book button, there will display Add to


cart button that user can add book to cart shopping

What can go wrong?


If user didnt login to the system or dont have account, the
function add book to cart is not available and the system will require
user to login or register.

b. View list of book in shopping cart

Initial Condition

User want to check again which book they has chosen

Normal case
User can click on the Shopping cart button, the browser will
automatically access to the Shopping Cart page and show the book
that user has added. The page will include the total price of all the
book has been chosen.

What can go wrong?

If there is no book that has been added, the page will return
Empty message

c. Delete book to cart


Initial Condition
User want to delete the book they has chosen in the shopping cart

Normal case

User can click on Delete button beside the title of the book when
they visit Shopping Cart page and remove them. The total price can
be changed.

What can go wrong?


If there is no book that has been added, the page will return
Empty message

Admin
Assume that admin has logged in her/his account.

a. Add new book


Initial Condition

When new book arrival, admin wants to add a new book in the
system.

Normal case
After homepage is loaded, admin chooses "add a new book" to
perform this action.

What can go wrong?

If the new book is already in the system, the system will ask
admin to update the quantity of it by using 'Edit' function.

b. Delete book
Initial Condition
Admin wants to remove a book from system that sold out

Normal case

Admin can click on 'Remove' button from 'Book List' page.

What can go wrong?

If the book is currently used by the other users, the book might
not disappear till refresh.

b. Non- functional requirement


Environment

The system is built on Eclipse


Using HTML, CSS, PHP, Java, JavaScript language.
Database system: MySQL Server 5.6
Software: Warm server
Only administrators can permit access to data of the
Security
system
All external communications between the systems
data server and clients must be encrypted
Understandabilit The webpage UI is friendly, attractive and useful.
The architecture design of system is clear and code is
y
readable
Useful and detailed user instruction
Usability
Include informative error messages
Users interface easy to use
The system must not return any inaccurate result
Reliability
except when the input information is inaccurate
Not use personal information for others purposes
The system must be stable when the range of data
Stability
(account, book, text) increases
Supporters must reply any questions from the user or
Supportability
administrators
Existing contact form for user can ask question

V. Functional / Technical
- Responsive HTML5 & CSS3 design.
- Java Servlet Code , JSP
- My SQL Database
- More than 10 page template
Some of the included page templates are:

- Home Page
- Product Page
- Shop (Multiple Versions)
- Shopping Cart
- Checkout Page
- About
- Contact Us

You might also like