Top Banner
SRS ONLINE SALE SYSTEM EN. No-080160116035 INDEX 1. INRODUCTION…………………………………………………………………………………………………..3 1.1 PURPOSE………………………………………………………………………………………………………..3 1.2PROJECT SCOPE…………………………………………………………………………………………….… 3 1.3FEASIBILITY STUDY……………………………………………………………………………………….…3 1.4 OBJECTIVE………………………………………………………………………………………………..……4 2. MODULES………………………………………………………………………………………………..………5 2.1PRODUCTION MODULE……………………………………………………………………………..……….5 2.2 REGISTRATION MODULE…………………………………………………………………………………..6 2.3 SALES MODULE………………………………………………………………….…………………………..7 3. OPERATING ENVIRONMENT………………………………………………………………………………….8 3.1 HARDWARE REQUIREMENT……………………………………………………………………………….8 3.2SOFTWARE REQUIREMENT…………………………………………………………………………………8 4. CONSTRAINS…………………………………………………………………………………………………….9 4.1 REGULATORY POLICIES…………………………………………………………………..………………..9 4.2 HARDWARE LIMITATIONS…………………………………………………………………………………9 4.3 INTERFACES TO OTHER APPS……………………………………………………………………………..9 4.4 PARALLEL OPERATIONS……………………………………………………………….…………………..9 4.5 HIGHER ORDER LANGUAGE REQUIREMENT…………………………………………………………...9 4.6 REALIABILITY REQUIREMENT…………………………………………………………………………..10 4.7CRITICALITY OF THE APPS………………………………………………………………………………..10 4.8 SAFETY AND SECURITY CONSIDERATION……………………………………………….……………10 5. DFD………………………………………………………………………..……………………………………..10 5.1 CONTEXT LEVEL DFD……………………………………………………………………………………..11 5.2 0-LEVEL DFD………………………………………………………………………….…………………….12 5.3 1-LEVEL DFD………………………………………………………………………………………………..13 5.4 2-LEVEL DFD………………………………………………………………………………………………..16 6 DIAGRAMS………………………………………………………………………………………...……………18 6.1 USE CASE DIAGRAM……………………………………………………………………………………….18 6.1.1 USE CASE FOR VISITOR………………………………………………………….………….19 6.1.2 USE CASE FOR ADMIN…………………………………………………..…………………..20 GEC, MODASA Page 1
37
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Online Sale System

SRS ONLINE SALE SYSTEM EN. No-080160116035

INDEX1. INRODUCTION…………………………………………………………………………………………………..3

1.1 PURPOSE………………………………………………………………………………………………………..3

1.2PROJECT SCOPE…………………………………………………………………………………………….… 3

1.3FEASIBILITY STUDY……………………………………………………………………………………….…3

1.4 OBJECTIVE………………………………………………………………………………………………..……4

2. MODULES………………………………………………………………………………………………..………5

2.1PRODUCTION MODULE……………………………………………………………………………..……….5

2.2 REGISTRATION MODULE…………………………………………………………………………………..6

2.3 SALES MODULE………………………………………………………………….…………………………..7

3. OPERATING ENVIRONMENT………………………………………………………………………………….8

3.1 HARDWARE REQUIREMENT……………………………………………………………………………….8

3.2SOFTWARE REQUIREMENT…………………………………………………………………………………8

4. CONSTRAINS…………………………………………………………………………………………………….9

4.1 REGULATORY POLICIES…………………………………………………………………..………………..9

4.2 HARDWARE LIMITATIONS…………………………………………………………………………………9

4.3 INTERFACES TO OTHER APPS……………………………………………………………………………..9

4.4 PARALLEL OPERATIONS……………………………………………………………….…………………..9

4.5 HIGHER ORDER LANGUAGE REQUIREMENT…………………………………………………………...9

4.6 REALIABILITY REQUIREMENT…………………………………………………………………………..10

4.7CRITICALITY OF THE APPS………………………………………………………………………………..10

4.8 SAFETY AND SECURITY CONSIDERATION……………………………………………….……………10

5. DFD………………………………………………………………………..……………………………………..10

5.1 CONTEXT LEVEL DFD……………………………………………………………………………………..11

5.2 0-LEVEL DFD………………………………………………………………………….…………………….12

5.3 1-LEVEL DFD………………………………………………………………………………………………..13

5.4 2-LEVEL DFD………………………………………………………………………………………………..16

6 DIAGRAMS………………………………………………………………………………………...……………18

6.1 USE CASE DIAGRAM……………………………………………………………………………………….18

6.1.1 USE CASE FOR VISITOR………………………………………………………….………….19

6.1.2 USE CASE FOR ADMIN…………………………………………………..…………………..20

6.1.3 USE CASE FOR CUSTOMER…………………………………………….……………………21

6.2 CLASS DIAGRAM……………………………………………………………………….…………………..22

6.3 STATE DIAGRAM…………………………………………………………………...………………………23

GEC, MODASA Page 1

Page 2: Online Sale System

SRS ONLINE SALE SYSTEM EN. No-080160116035

6.3.1 STATE DIAGRAM FOR LOGIN STATE……………………………………………………..23

6.3.2 STATE DIAGRAM FOR REGESTRATION STATE…………………………..……………24

6.3.3 STATE DIAGRAM FOR USER PROCESS STATE…………………………...…………….25

6.4 SEQUENCE DIAGRAM……………………………………………………………………..……………..26

6.4.1 SEQUENCE DIAGRAM FOR REGISTER A USER…………………….…………………..26

6.4.2 SEQUENCE DIAGRAM FOR LOGIN CUSTOMER……………………….……………….27

6.4.3 SEQUENCE DIAGRAM FOR SUBMIT A CART……………………………………..……28

6.4.4 SEQUENCE DIAGRAM FOR ADD PRODUCT……………………………………………29

6.5 E-R DIAGRAM……………………………………………………………………………………………..30

6.5.1 ER DIAGRAM……………………………………………………………………..…………31

GEC, MODASA Page 2

Page 3: Online Sale System

SRS ONLINE SALE SYSTEM EN. No-080160116035

1. INTRODUCTION

Today in age of computer communication, it has become easy to to perform sale online, it is time + cost effective, so we came across idea of having Online Sale System. Online sale will make it easy to acknowledge loved one across globe. We have strived hard to make it consumer friendly , so they can interact hassle free.

1.1 PURPOSE

The purpose of this document is to present a detailed description of the Web Publishing System. It will explain the purpose and features of the system, the interfaces of the system, what the system will do, the constraints under which it must operate and how the system will react to external stimuli. This document is intended for both the stakeholders and the developers of the system and will be proposed to the Regional Historical Society for its approval.

1.2 PROJECT SCOPE

1. This is an Online System so, we can handle it any where and any time 2. As we are making the generalized system, so this system can be used for handling

any of the Customers of the particular Company.3. This System will help bridge between Customer and Company.4. File Formats: Customers are sending their inquiry and other information in

formats like Word or they can fill up all their information in form available on website.

5. Security: Site is accessible via internet, Customers needs their login to purchase a product.

6. Search: Search feature is provided to view all information of every product by according to their requirements of customer.

7. Accessibility: Site is accessible using all the standard web browsers via internet.8. Availability: Available 24 hours online, all the Customers are access this website

anytime.9. News: Contains a news section, where current product information is available.10. Links: Site contains links to sites of sage pay company and useful sites.

1.3 FEASIIBILITY STUDY

Feasibility is the determination of whether or not a project is worth doing. The process followed in making this determination is called a feasibility study. In the conduct of the feasibility study, many types of feasibility study are used. Amongst those, we have confined ourselves in the following types:

GEC, MODASA Page 3

Page 4: Online Sale System

SRS ONLINE SALE SYSTEM EN. No-080160116035

1.3.1 Time FeasibilityOnline sales system will give the opportunities for getting the detail of the all product with their properties to the customer.

1.3.2 Operational FeasibilityWe studied and analyzed the recruitment process of different organizations and makes a decision for our projects

1.3.3 Technical feasibilityThis is concerned with specifying equipment and software that will successfully satisfy the user requirement. It includes:

The facility to produce outputs in a given time. Ability to process a certain volume of transaction at a particular speed. Facility to communicate data to distant location.

1.3.4 Economic FeasibilityEconomic feasibility has been done in advanced for estimating the cost of the proposed system. The cost of hardware and software for the class of application being considered the cost if nothing changes.

1.4 OBJECTIVE

To develop a website that allows user to buy gift articles online.

1.4.1 What Website can do?

i. Allow Site Visitor to give some Suggestion or Feedback to Admin.

ii. Site Visitor can purchase Products using cash on delivery.

iii. Allow Site Visitor to give some Suggestion or Feedback to Admin.

iv. Allow Site Visitor to do custom Search for Products.

v. Providing review to product.

vi. Getting News related to Products by subscribing newsletter.

1.4.2. What Website cannot do?

i. User can not customize product according to his/her requirement.ii. No other payment method is provided except cash on delivery.iii. Comparing features of two products etc…

GEC, MODASA Page 4

Page 5: Online Sale System

SRS ONLINE SALE SYSTEM EN. No-080160116035

2. MODULESOn line sales system contain main three modules with detail description of product, customer registration and selling of product with great feasibility. Main three modules are

I. ProductionII. Registration

III. Sales

Production module contain the information about the product category and sub module product category can divide into two parts <1>Collect product information<2>Add and update products.

Registration responsible for the registration information of the customer and it can sub module into three parts: <1>Collect User Information <2> Verify Username & Password <3>Login.

Sales module contains the main four processes: <1>Place Order <2>Receive Product <3>Check Product <4>Price.

2.1 Production Module:

Production module content the relationship with the administrator and it is maintained by administrator. For example if any product is not in stock then the quantity of the specific

GEC, MODASA Page 5

Page 6: Online Sale System

SRS ONLINE SALE SYSTEM EN. No-080160116035

product can be maintained by the admin. Change in the price of the product can also changeable by the admin with the feasible path,

Key feature:

Admin can check the product and get the product information through the product master database.

Maintain product category is sub module of the production which is collect product information and add and update the product.

Collect product information is responsible to delivery of check product report when admin apply for the detail. Collect product information give the product report to the admin with reference of the product master database.

Add and update sub module update the stock of product into the database and then collect the product information.

2.2 Registration Module:

Production module content the relationship with the administrator and it is maintained by administrator. For example if any product is not in stock then the quantity of the specific product can be maintained by the admin. Change in the price of the product can also changeable by the admin with the feasible path,

Key feature:

Admin can check the product and get the product information through the product master database.

Maintain product category is sub module of the production which is collect product information and add and update the product.

GEC, MODASA Page 6

Page 7: Online Sale System

SRS ONLINE SALE SYSTEM EN. No-080160116035

Collect product information is responsible to delivery of check product report when admin apply for the detail. Collect product information give the product report to the admin with reference of the product master database.

Add and update sub module update the stock of product into the database and then collect the product information.

2.3 Sale Module:

Sales module content the relationship with the administrator and customer and it is maintained by the administrator. For example if any product is not in stock then the quantity of the specific product can be maintained by the admin. Change in the price of the product can also changeable by the admin with the feasible path. Customers who want to purchase the product must have to place order and then it is verified with reference to the product master database. If the suitable stock is available then process get proceed otherwise it display the incomplete purchase message.

Key feature:

Customer can collect the product information and then place the order as it requirement

When customer place the order , it is received by admin and then it is checked with the various parameter such as a onetime purchase limit, stock of the product ordered by the customer, order date and delivery date etc.

After verification of the product, customer get the detail of the quantity and price of product then customer sends order and it is received by the admin.

Customer pay the bill with the check and then it will get the delivery within seven day.

The detail of sales module is given below in graphical format.

GEC, MODASA Page 7

Page 8: Online Sale System

SRS ONLINE SALE SYSTEM EN. No-080160116035

3. OPERATING ENVIROMENT

3.1 HARDWARE REQUIREMENTS:

Pentium iv processor

Intel 810GL motherboard

1 GB SDRAM

80 GB HDD

52x CD Drive

Keyboard

Mouse

15th SVGA Colour monitor

3.2 SOFTWARE REQUIREMENTS:

For Development Purpose I used following software specification

Operating System :Windows 7 Ultimate

Development Tool: Dream weaver, notepad

Web Server :Apache server

GEC, MODASA Page 8

Page 9: Online Sale System

SRS ONLINE SALE SYSTEM EN. No-080160116035

Database: MySQL 1.3.2.27

Internet Explorer :IE 8,Firefox 3.0+, Chorme, Opera

Documentation: Microsoft Office

4. CONSTRAINS

There are some constraints to use this web application

i. As the java script is used the web browser should be JavaScript enabled.ii. Also the internet facility should be in order to get the correct and accurate results

asExpected.

4.1 Regulatory Policies

To buy any Product user must create account. The user account can be generated only after sign up process. User must have credit card or PayPal account to buy Product from Product store.

4.2 Hardware Limitations

The user of the system is free to use any modules, which satisfies above minimum software requirements. The system requires: RAM cannot be less than 512 MB but ideal would be 1 GB and the processor cannot be less than Pentium 4.

4.3 Interfaces to Other Applications

The System must have the Internet Explorer or Fire Fox or any other web browser though which each user can interact with the system. It specifies:

i. The website is made in PHP and it run on the Web Browser.

ii. The System will interact with the user through GUI. So, User can easily operate with the System.

4.4 Parallel Operations

It won’t create any problem.

4.5 Higher Order Language Requirements

GEC, MODASA Page 9

Page 10: Online Sale System

SRS ONLINE SALE SYSTEM EN. No-080160116035

This website needs PHP as a higher order language and some use of Jquery to make website more attractive.

4.6 Reliability Requirements

The system should be reliable enough that no other user should be able to login as other customer by using other customer’s username & password else same named user can login from 2 or more systems. The system should be reliable enough to get the back up of data if at all the data crashes due to catastrophic event or some other event.

4.7 Criticality of the Application

If any problem will occur during any Operation of modules entire transaction will be cancelled and it will be rolled back.

4.8 Safety and Security Consideration

The system uses PHP functions to make website more secure and safe.

5. DATA FLOW DIAGRAM

The DFD is a simple graphical formalism that can be used to represent a system in terms of the input data to the system, various processing carried out on these data, and the output data generated by the system. The DFD model uses a very limited number of primitive symbols to represent the functions performed by a system and the data flow among these functions. Starting with a set of high-level functions that a system performs, a DFD model hierarchically represents various sub-functions.

Table 5.1 Notations of DFD

Notation Description SymbolExternal Entity

The external entities are essentially those physical entities external to the software system which interact with the system by inputting data to the system or by consuming the data produced by the system.

Process Process or function performed when it is initiated by external entity or by other means.

GEC, MODASA Page 10

Page 11: Online Sale System

SRS ONLINE SALE SYSTEM EN. No-080160116035

Data Flow

A data flow represents the data flow occurring between two processes, or between an external entity and a process, in the direction of the data flow arrow.

Output It is used when a hard copy is produced and the user of the copies cannot be clearly specified or there are several uses of the output.

Data Store

A data store represents a logical file. A logical file can represent either a data store symbol which can represent either a data structure or a physical file on disk.

5.1 Context level DFD

GEC, MODASA Page 11

Page 12: Online Sale System

SRS ONLINE SALE SYSTEM EN. No-080160116035

5.2 0-level DFD

GEC, MODASA Page 12

Page 13: Online Sale System

SRS ONLINE SALE SYSTEM EN. No-080160116035

5.3 1-level DFD

FIRST LEVEL DFD FOR PRODUCTION

GEC, MODASA Page 13

Page 14: Online Sale System

SRS ONLINE SALE SYSTEM EN. No-080160116035

FIRST LEVEL DFD FOR REGISTRATION

GEC, MODASA Page 14

Page 15: Online Sale System

SRS ONLINE SALE SYSTEM EN. No-080160116035

FIRST LEVEL DFD FOR SALES

GEC, MODASA Page 15

Page 16: Online Sale System

SRS ONLINE SALE SYSTEM EN. No-080160116035

5.4 2-level DFD

SECOND LEVEL DFD FOR MAINTAIN CATAGORY

GEC, MODASA Page 16

Page 17: Online Sale System

SRS ONLINE SALE SYSTEM EN. No-080160116035

Fig. 5.1 0-level DFD

GEC, MODASA Page 17

Page 18: Online Sale System

SRS ONLINE SALE SYSTEM EN. No-080160116035

6. DIAGRAMS

6.1. USE CASE DIAGRAM

To introduce use case diagrams

Actors Use cases Dependency relationships between use cases

An actor is anyone or anything that must interact with the system. Actors are NOT part of the system In the UML, an actor is represented as a stickman.

A use case must deliver something of value to an actor.

The collection of use cases for a system constitute all the defined ways the

system may be used.

In the UML, a use case is represented as an oval.

A use case diagram is a diagram that shows a set of use cases and actors and

their relationships.

Actors may be connected to use cases only by association.

An association between an actor and a use case indicates that the actor and the

use case communicate with one another, each one possibly sending and

receiving messages.

Use case diagrams are used to …

GEC, MODASA Page 18

Page 19: Online Sale System

SRS ONLINE SALE SYSTEM EN. No-080160116035

Model the context of a system.

Model the requirements of a system

Dependency Relationships between Use Cases

extend : Specifies that the target use case extends the behavior of the source use case.

Include: Specifies that the source use case explicitly incorporates the behavior of another use case at a location specifies by the source.

6.1.1 Use Case Diagram For Visitor

GEC, MODASA Page 19

c

Visitor

Search new items

Visit the site

New account creation

Page 20: Online Sale System

SRS ONLINE SALE SYSTEM EN. No-080160116035

Fig. 6.1 Use Case Diagram for Visitor

6.1.2 Use Case Diagram For Admin

Fig. 6.2 Use Case Diagram for Admin Operation

GEC, MODASA Page 20

cManage customer database

c

Add/Update/RemoveCategories or items

Administrator

Log In

Update Newsabout latest products

Page 21: Online Sale System

SRS ONLINE SALE SYSTEM EN. No-080160116035

6.1.3 Use Case Diagram For Customer

Fig. 6.3 Use Case Diagram for Customer Operation

GEC, MODASA Page 21

c

cView current order status

Add/Update/Remove

Customer

Log In

Search for any item

View account details

Check out/ Payment

Subscribe for News Update

Contact with Administrator

Page 22: Online Sale System

SRS ONLINE SALE SYSTEM EN. No-080160116035

6.2 CLASS DIAGRAM

Fig. 6.4 Class Diagram for E-commerce Portal

GEC, MODASA Page 22

Page 23: Online Sale System

LoginDo: Enter Username And Password

Checked/Reject Checked/accept

Role

User Admin

Create AccountFull Authority

Log Out

SRS ONLINE SALE SYSTEM EN. No-080160116035

6.3 STATE DIAGRAM

6.3.1 State Diagram – Login State

Fig . 6.5 Login State

GEC, MODASA Page 23

Page 24: Online Sale System

RegistrationDo: Enter details

RegistrationDo: Enter details

SaveDo: Validation Check

SaveDo: Validation Check

Log Out

[admin] / Create Account[User] / Create Account

InvalidInvalid

SRS ONLINE SALE SYSTEM EN. No-080160116035

6.3.2 State Diagram – Registration

Fig 6.6 Registration State

GEC, MODASA Page 24

Page 25: Online Sale System

LoginDo: Enter Details

SaveDo: Check Validation

Invalid

HomeDo: View Category

ProductDo: View Product Infomation

CartDo: View Cart Details

CheckoutDo: Enter Details

Log Out

Cart

Delete (cart_id)/delete Item

Valid Entry

Select Category

Select Product

Checkout

SRS ONLINE SALE SYSTEM EN. No-080160116035

6.3.3 Sate Diagram - User

Fig 6.7 User Process State

GEC, MODASA Page 25

Page 26: Online Sale System

SRS ONLINE SALE SYSTEM EN. No-080160116035

6.4 SEQUENCE DIAGRAM

6.4.1 Sequence Diagram : Register a User

Fig. 6.8 Sequence Diagram: Register a user

GEC, MODASA Page 26

Page 27: Online Sale System

SRS ONLINE SALE SYSTEM EN. No-080160116035

6.4.2 Sequence Diagram : Login Customer

Fig. 6.9 Sequence Diagram: Login a customer

GEC, MODASA Page 27

Page 28: Online Sale System

SRS ONLINE SALE SYSTEM EN. No-080160116035

6.4.3 Sequence Diagram :Submit a Cart

Fig. 6.10 Sequence Diagram: Submit a cart

GEC, MODASA Page 28

Page 29: Online Sale System

SRS ONLINE SALE SYSTEM EN. No-080160116035

6.4.4 Sequence Diagram : Add Product

Fig. 6.11 Sequence Diagram: Add a new product

GEC, MODASA Page 29

Page 30: Online Sale System

SRS ONLINE SALE SYSTEM EN. No-080160116035

6.5 E-R DIAGRAM

ERD stands for Entity / Relationship diagram. It defines the relationship between different entities of a system. It enables a software engineer to fully specify the data objects that are input and output from a system, the attributes that define the properties of these objects, and their relationships.

Notation Description Symbol

Entity

It is a distinguishable real world object that is to be represented in the database.

Attribute

It is the characteristics of an entity, which give more / detail information about entities.

Link

Connectors between different symbols.

Relationship

Association between the entities.

Table 6.1 Notations of ER Diagram

GEC, MODASA Page 30

Page 31: Online Sale System

SRS ONLINE SALE SYSTEM EN. No-080160116035

6.5.1 E-R DIAGRAM FOR E-COMMERCE PORTAL:

GEC, MODASA Page 31