Professional Documents
Culture Documents
(SRS) Online Shopping Cart
(SRS) Online Shopping Cart
(SRS) Online Shopping Cart
1
CERTIFICATE
This is to Certify that Mr. Divyendy Yadav (0802IT101019), Hitesh
Aleriya(0802IT101024), Rakesh Tejra(0802IT101049) and Akash
Ralotiya(0802IT101006) working in group have satisfactorily completed the
project titled “Online Shopping Portal” towards the partial fulfillment of the
degree of Bachelor of Engineering (Information technology). Awarded by
Rajiv Gandhi Technical University, Bhopal for the academic year 2013.
Internal External
2
ACKNOWLEDGEMENT
“We follow your foot-steps, we move on the path shown by you, we
acknowledge you, and we are proud to have guides like you.”
We feel it our proud privilege to express our deep sense of gratitude and
Indebtedness to Dr. Ashish Bansal (Head of Department),Mr. Jigyasu
Dubey and Mr. Chetan Verma (Project Guide) for providing their
painstaking and untiring supervision. We own our deep sense of gratitude and
thanks for their constructive criticism, valuable suggestions and constant
encouragement at all stages of development of this project.
We also express our sincere thanks and gratitude to Dr. Ing. V.P. Singh
(Principal) for their support and guidance and constant encouragement for
completion of project.
Akash Ralotiya(0802IT101006)
Divyendu Yadav (0802IT101019)
Hitesh Aleriya(0802IT101024)
Rakesh Tejra(0802IT101049)
3
Table of Contents
1. Introduction
1.1 Problem Statement……………………………………….. … 5
1.2 Purpose…………………………………………………….... 5
1.3 Scope……………………………………………………....... 6
1.4 Definitions, Acronyms and Abbreviations ………………… 6
1.5 Tools Used ………………………………………………… 7
1.6 References ………………………………………………… 8
1.7 Technologies to be used …………………………………… 8
1.8 Overview…………………………………………………… 9
2. Overall Description
2.1 Use-Case Model Survey …………………………………… 10
2.2 Assumptions and Dependencies….………………………… 14
3. Specific Requirements
3.1 Use-Case Reports …………...…………………………… 14
3.2 Activity Diagram ………………………………………… 22
3.2 Sequence Diagram…………………………………………. 26
3.4 Class Diagram ………………………..…………………… 27
3.5 Supplementary Requirements ..…………………………….. 28
4
1. Introduction
Normally a person has to visit various shops in order to know the best price of
the product which he /she wishes to purchase. It requires a lot of physical
work and also there is also wastage of time. The user is not able to know
about the original price of the product, since it is usually manipulated by the
owner of the shop according to his/her profit.
To overcome the above tedious problem, we will connect the price lists of all
the brands through a network and provide an efficient comparison between
different brands. Also all the price lists will be automatically updated if there
is any variation in the price of item according to the current price in the
market.
1.2 Purpose
The Online Shopping Network (OSN) web application is intended to provide
complete solutions for customers through a single get way using the internet
as the sole medium.
It will enable customer to browse through the shop and purchase them online
without having to visit the shop physically.
The administration module will enable a system administrator to approve and
reject requests for new shops and maintain various lists of shop category.
5
1.3 Scope
The system accepts the General selling and purchasing of items , gives the
proper information about the place where items are may be found . The
different areas where we can use this application are :
This can be used at everywhere because it is very easy to use and operate as
Anyone can make use of it for providing information about items and their
prices.
Admin
Administrator: He/she has the authority to add/delete users, grant permission
to employees and maintain the content of application.
JSP
Java Server Pages
It is used to create dynamic web content.
J2EE
Java 2 Enterprise Edition
6
UML
Unified Modeling Language is a standard language for writing software
blueprints. The UML may be used to visualize, specify, construct and
document
HTTP
Hypertext Transfer Protocol It’s a service protocol.
JAVA
Java is an object-oriented programming language developed by Sun
Microsystems a company best known for its high end UNIX workstations.
Java language was designed to be small, simple, and portable across
platforms, operating systems, both at the source and at the binary level, which
means that Java programs (applet and application) can run on any machine
that has the Java virtual machine (JVM) installed.
Development tool – RAD
7
E-DRAW
1.6 References
Object Oriented Modeling and Design with UML-Michael Blaha, James
Rambaugh.
Software Engineering, Seventh Edition, Ian Sommerville.
IBM Red Books.
IBM – www.ibm.in/developerworks.
Java - www.sun.com
Wikipedia - www.wikipedia.com
Database Management Systems - Navathe.
Complete Reference - J2EE - Keogh.
8
1.8 Overview
Existing System:
Registration for users.
Registration for Courier Managers
Online Cart
Drawbacks:
There is no maintenance of back up so availability will get affected.
Limited to HTTP/HTTPS.
Real-life credit card validation and Banking system is not implemented.
No multilingual support.
9
2. Overall Description
View Item
>
>
e
d
u
l
c
n
i
< Administrator
<
Make
Purchase
<
<
i
n
c
l
u
d
e
>
>
Web Customer
Identity Provider
CheckOut
Client
Register
PayPal
10
Visit Site
Browse
Catalog
Visitor
New Account
creation
11
Log In
> Browse
d e
>
l u
c Catalog
i n
< <
u d e
> >
l
c
i n
< <
Add/Remove
items from
Shopping Cart
i nc
< <
l
u d e
> >
Customer
CheckOut
Payment
Give
Feedback >
>
e
d
u
l
c
n
i
<
<
View current
order status
View Account
Details
12
LogIn
Manage
customer
database
Administrator
Manage
Employee
batabase
Add/Remove/
Update categories
or items
Figure 3: Use case diagram for Administrator
13
3. Specific Requirements
1. Administrator :
View all details: View the details of all employees and control the whole
site.
Advertising the Site: Responsible for making advertisements for the site.
Login: Customers must have a valid login id to enter into the site.
14
View and edit Own Details: Can view/edit his personal details, payment
details, and details about services provided.
Choosing and comparing products: Can view all available products and
can compare them and make a choice for purchasing products.
3. Visitors:
15
MAIN FLOW:
16
Precondition:
Administrator should be registered as authorized user .
Postcondition
Administrator should log out after the transaction.
Sub Flows:
(S-1)
STEP ACTOR DESCRIPTION CONDITION LOCATION
1. Web Customer If want to
purchase an
item an
ERROR
message is
generated
2. Web Customer System request
the user to
register him/her
(S-2)
(S-3)
(ALT-1)
STEP ACTOR DESCRIPTION CONDITION LOCATION
1. Web Customer If item is added
by a non-
registered
customer an
ERROR
message is
generated
2. Web Customer User is allowed
the permission
to add item to
cart
18
(S-4)
STEP ACTOR DESCRIPTION CONDITION LOCATION
1. Administrator System ask the
user to enter the
Username and
password
2. Administrator User enters the Incorrect ALT-1
Username and username
password /password
3. Administrator System ask the
user to create a
new account
4. Administrator User enters the Entries already ALT-2
required details in use
(ALT-1)
STEP ACTOR DESCRIPTION CONDITION LOCATION
1. Administrator If the
Username/password
entered by the User
is
Incorrect/Incomplete
or not in the
database an error
message is
generated
19
(ALT-2)
(S-5)
STEP ACTOR DESCRIPTION CONDITION LOCATION
1. Administrator System ask the
user to enter the
Items in cart
2. Administrator User enters the Incorrect Item ALT-1
Item no. of the no.
purchasing item
3. Administrator System ask the
user to enter the
quantity of item
to be purchased
4. Administrator User enters the Exceed max. ALT-2
quantity details limit
20
(ALT-1)
(ALT-2)
STEP ACTOR DESCRIPTION CONDITION LOCATION
1. Administrator If the quantity
exceeds the
maximum limit an
error message is
generated
21
22
23
24
25
26
Admin Products
-Id:Integer
#name:Char
+1 ViewProducts() -Id:Integer
+1 Manage #name:Char
AddProductse()
#Group:Char
DeleteProducts() +1..* #SubGroup
ModifyProducts()
ConfrmDelivery()
+1..*
Customer
+ 0
-Id:Integer
. . * #name:Char Buy
#Address:Char
. . *
#PhNo:Integer + 0
+1 Cart
BuyProducts()
ViewProducts() -Id:Integer
MakePayment() #NoOfProducts:
AddToCart() Integer
DeleteFromCart() #Product1:Char
#Product2:Char
M #Price:Float
a
k #Total:Float
e
s
Has
+1
Payment
+1 #CustomerId::Char
Name:Char
CardType:Char
CardNo:Char
27
28