You are on page 1of 28

Online Shopping Portal 2013

Shri Vaishnav Institute of Technology and Science, Indore Department of Information Technology 2013-2014

Online Shopping Portal


Lab Submission Report For Software Engineering and Project Management Lab

Guided By: Mr.Jigyasu Dubey Mr.Chetan Verma

Submitted by: Akash Ralotiya(0802IT101006) Divyendu Yadav (0802IT101019) Hitesh Aleriya(0802IT101024) Rakesh Tejra(0802IT101049)

Online Shopping Portal 2013

Shri Vaishnav Institute of Technology and Science, Indore CERTIFICATE


This is to Certify that Mr. Divyendy Yadav (0802IT101019),
Aleriya(0802IT101024), Rakesh Tejra(0802IT101049) and Ralotiya(0802IT101006) working in group have satisfactorily completed the Hitesh Akash

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.

Project Guide Mr Jigyasu Dubey Mr. Chetan Verma

Head of Department Dr. Ashish Bansal

Internal

External

Online Shopping Portal 2013

Shri Vaishnav Institute of Technology and Science, Indore

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 wish to express our sincere thanks to all the faculty of Computer Science Department, for providing a conductive environment for proper development of project and the necessary facilities for completion of 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)

Online Shopping Portal 2013

Table of Contents
1. Introduction 1.1 Problem Statement.. 1.2 Purpose.... 1.3 Scope....... 1.4 Definitions, Acronyms and Abbreviations 1.5 Tools Used 1.6 References 1.7 Technologies to be used 1.8 Overview 2. Overall Description 2.1 Use-Case Model Survey 2.2 Assumptions and Dependencies. 3. Specific Requirements 3.1 Use-Case Reports ... 3.2 Activity Diagram 3.2 Sequence Diagram. 3.4 Class Diagram .. 3.5 Supplementary Requirements .... 5 5 6 6 7 8 8 9 10 14 14 22 26 27 28

Online Shopping Portal 2013

1. Introduction
1.1 Problem Statement The user will be able to know the price of different products with their specifications of different brands within a city with the help of internet. 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.

Online Shopping Portal 2013 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 it is very user friendly. This software reduces the human effort and time saving. Anyone can make use of it for providing information about items and their prices. Modifications can be easily done according to requirements.

1.4 Definitions, Acronyms and Abbreviations:


OSP (Online Shopping Portal): It is a web application that provides online shopping facility for consumers. 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

Online Shopping Portal 2013


A programming platform which is a part of java platform for developing and running distributed java. 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 Its a service protocol.

1.5 Tools Used


Application architecture JAVA, J2EE 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 IBM Rational Application Developer for Web Sphere Software (RAD) is an integrated development environment (IDE), made by IBM's Rational Software division, for visually designing, constructing, testing, and deploying Web services, portals, and Java (J2EE) applications.

Database platform MY SQL


7

Online Shopping Portal 2013


MYSQL Database is the database management system that delivers a flexible and cost effective database platform to build robust on demand business applications and supports the J2EE and web services standards.

E-DRAW Edraw Max is a 2D business technical diagramming software with rich examples and symbols, which make it easy to create flowcharts, organizational charts, ER diagram, Activity diagram, Use case diagram and other software engineering diagrams.

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.

1.7 Technologies to be used


EDRAW- for UML Diagrams Rational Software Modeler.
8

Online Shopping Portal 2013

SQL: Relational Database Management System. ADOBE DREAMWEAVER: Designing Software.

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.

Online Shopping Portal 2013

2. Overall Description
2.1 Use Case Model Survey
Main Use case:

View Item

<inc lude >>

<

Administrator

Make Purchase
<<

e>> lud inc

Web Customer

CheckOut

Identity Provider

Client Register

PayPal

10

Online Shopping Portal 2013 2.1.1 Use Case for User (Non-Registered)

Visit Site

Browse Catalog

Visitor

New Account creation

Figure 1: Use Case Diagram for Visitor

11

Online Shopping Portal 2013 2.2.2 Use Case for User (Registered)

Log In

<<
<

in

e> > d u cl

Browse Catalog

de>> u l c <in

Add/Remove items from Shopping Cart


<<

incl

ude >>
CheckOut Payment

Customer
Give Feedback

View current order status View Account Details

Figure 2: Use Case Diagram for User

<<

include>>

12

Online Shopping Portal 2013 2.1.3 Use Case for Admin

LogIn

Manage customer database

Administrator
Manage Employee batabase

Add/Remove/ Update categories or items

Figure 3: Use case diagram for Administrator

13

Online Shopping Portal 2013

2.3 Assumptions and Dependencies:


Whole system works under the surveillance of the Administrator. Different functionalities are provided for registered and non-registered users. To login to system user require valid user id and password. Addition and deletion of item is a manual process.

3. Specific Requirements
3.1 Use case report:
1.

Administrator:

Database Management: Control the database and keep track of all records of customers and employee details. Contact and Giving Permission to Vendors: Contact with the vendors and give permission to sell their product under the site after testing the products quality. View all details: View the details of all employees and control the whole site.
2.

Advertising the Site: Responsible for making advertisements for the site. Web Customers: Login: Customers must have a valid login id to enter into the site.
14

Online Shopping Portal 2013


Registration: New users can sign up by creating new ID.

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. Purchasing: Can purchase any product through valid credit card.

Giving Feedback to Customer Care: Can give feedback to the 24X7 Customer Care Service center about their impression for the site and services.
3.

Logout: Customer must logout of the site after purchasing products. Visitors: Visiting the Site: Can only visit the site without registration. Register: To buy products.

15

Online Shopping Portal 2013 MAIN FLOW:


STEP 1. ACTOR Web Customer DESCRIPTION CONDITION LOCATION Searches for the item by entering the item name Can view only If not a S-1 items. registered customer Will enter the If entries dont S-2 username and match password and system will verify View item and If a registered S-3 make a customer purchase Keep the items list updated Checks client If a new user S-4 registration want to sign up Provides If the web Customer customer goes Authentication for purchase Maintains If customer S-5 Checkout finally wants to purchase the item Maintains unique item list Check out Customer authentication Provide an interface for payment
16

2.

Web Customer Web Customer

3.

4.

Web Customer Administrator Administrator

5. 6.

7.

Administrator

8.

Administrator

9. 10.

Identity Provider Identity Provider PayPal

11.

Online Shopping Portal 2013

Precondition:
Administrator should be registered as authorized user.

Postcondition
Administrator should log out after the transaction.

Sub Flows: (S-1)


STEP 1. ACTOR DESCRIPTION Web Customer If want to purchase an item an ERROR message is generated Web Customer System request the user to register him/her CONDITION LOCATION

2.

(S-2)
STEP 1. ACTOR DESCRIPTION Web Customer If username or password dont match an ERROR message is generated Web Customer If it matches he/she is provided with additional functionalities CONDITION LOCATION

2.

17

Online Shopping Portal 2013

(S-3)
STEP 1. 2. 3. ACTOR Web Customer Web Customer Web Customer DESCRIPTION CONDITION Searches item Browse Item View recommended items Web Customer Add item to For registered shopping cart users Web Customer Add to wish list LOCATION

4. 5.

ALT-1

(ALT-1)
STEP 1. ACTOR DESCRIPTION CONDITION LOCATION Web Customer If item is added by a nonregistered customer an ERROR message is generated Web Customer User is allowed the permission to add item to cart

2.

18

Online Shopping Portal 2013

(S-4)
STEP 1. ACTOR Administrator DESCRIPTION System ask the user to enter the Username and password User enters the Username and password System ask the user to create a new account User enters the required details CONDITION LOCATION

2.

Administrator

Incorrect username /password

ALT-1

3.

Administrator

4.

Administrator

Entries already ALT-2 in use

(ALT-1)
STEP 1. ACTOR DESCRIPTION CONDITION LOCATION Administrator If the Username/password entered by the User is Incorrect/Incomplete or not in the database an error message is generated Administrator System request the user to Re-Enter the Username/password

2.

19

Online Shopping Portal 2013

(ALT-2)
STEP 1. ACTOR DESCRIPTION CONDITION LOCATION Administrator If some of the details already used by someone or already in the database an error message is generated Administrator System request the user to Re-Enter the details

2.

(S-5)
STEP 1. ACTOR Administrator DESCRIPTION System ask the user to enter the Items in cart User enters the Item no. of the purchasing item System ask the user to enter the quantity of item to be purchased User enters the quantity details CONDITION LOCATION

2.

Administrator

Incorrect Item no.

ALT-1

3.

Administrator

4.

Administrator

Exceed max. limit

ALT-2

20

Online Shopping Portal 2013

(ALT-1)
STEP 1. ACTOR DESCRIPTION CONDITION LOCATION Administrator If the Item no. entered by the User is Incorrect/Incomplete or not in the database an error message is generated Administrator System request the user to Re-Enter the Item no.

2.

(ALT-2)
STEP 1. ACTOR DESCRIPTION CONDITION LOCATION Administrator If the quantity exceeds the maximum limit an error message is generated Administrator System request the user to Re-Enter the quantity

2.

21

Online Shopping Portal 2013

3.2 Activity Diagram


3.2.1 User Login Activity

22

Online Shopping Portal 2013 3.2 .2 User Registration Activity

23

Online Shopping Portal 2013 3.2.3 Place Order Activity

24

Online Shopping Portal 2013

3.2.4 Make Payment Activity

25

Online Shopping Portal 2013

3.3 Sequence Diagram

26

Online Shopping Portal 2013

3.4 Class Diagram:


Admin Products

-Id:Integer
#name:Char +1 ViewProducts() AddProductse() DeleteProducts() ModifyProducts() ConfrmDelivery()

+1

Manage

-Id:Integer
#name:Char #Group:Char +1..* #SubGroup

+1..*
Customer

+0

..* #name:Char
#Address:Char #PhNo:Integer BuyProducts() ViewProducts() MakePayment() AddToCart() DeleteFromCart()

-Id:Integer

Buy

+1

..* +0

Cart

-Id:Integer
#NoOfProducts: Integer #Product1:Char #Product2:Char #Price:Float #Total:Float

Makes
Has
Payment

+1

+1 #CustomerId::Char
Name:Char CardType:Char CardNo:Char

27

Online Shopping Portal 2013

3.5 Supplementary Requirement:


This Supplementary Specification applies to the Online Shopping Portal System, which will be developed by our group. This specification defines the non-functional requirements of the system; such as reliability, usability, performance, and supportability, as well as functional requirements that are common across a number of use cases. (The functional requirements are defined in the Use Case Specifications.) Functionality: User should have an account for online transaction. System authorities are not responsible for any transaction failure. The main objective of this software is to reduce the work load of general users and professionals. More efficient and time saving.

28