Professional Documents
Culture Documents
rEG Number NAME ROLL Number
rEG Number NAME ROLL Number
rEG Number NAME ROLL Number
Revision History
Date Description Author Comments
<Version 1> Name (Roll no)
Document Approval
The following document has been accepted and approved by the following:
Table f Contents
1. Introduction 1
1.1 Aim 1
1.2 Scope 1
1.3 Definitions. 2
1.4 Overview 2
3. Specific Requirements 5
3.1 External Interface Requirements 8
3.1.1 System Interfaces 8
3.1.2 Interfaces 8
3.1.3 Hardware Interfaces 8
3.1.4 Software Interfaces 9
3.1.5 Comunications Interfaces 9
3.2 Functional Requirements 6
3.3 Use Cases 7
3.3.1 Use Case diagram 7
3.4 Class Diagram 7
3.4.1 class diagram 7
3.5 Nn-Functional Requirements 7
3.5.1 Performance 8
3.5.2 Reliability 8
3.5.3 Availability 8
3.5.4 Security 8
3.5.5 Maintainability 8
3.5.6 Portability 8
3.6 Inverse Requirements 8
3.7 Logical Database Requirements 8
3.8 Design Constraints 8
3.8.1 Standards Compliance 8
4. Analysis Models 9
4.1 Sequence Diagrams 9
4.2 Data Flow Diagrams (DFD) 9
4.3 State-Transition Diagrams (STD) 9
Online jewellary store
1. Introduction
The Software Requirements Specification is basically designed to write the requirements
of the software being developed by developer and requested by the user to build it. The
actual aim of this SRS is to provide a clear and descriptive definition of user
requirements that can be used for next development of the system. This document is split
into a number of sections to separate the software requirements into easy parts. This
Software Requirements Specification aims to describe the Functionality, Attributes and
Design implemented on the software system described throughout the rest of the
document. The language and terminology used in this System Requirements
Specification must be unambiguous.
1.1 Purpose
To search and describe the functionalities and requirements of E-Commerce system is the
primary purpose of this Software Requirements Specification Document.The Software
Requirements Specification document describes the system’s uses and the functionalities
provided by the customer.The audience for the system is the people of Pakistan who want
to shop anything from home and online with reliability and timely.
1.2 Scope
The project being developed is called E-Commerce or Online Jewelar Store.This project
is developed to provide the facility to the users to buy anything on the internet and
facilitate the sale. This system is designed to run on the internet so anyone can use it by
surfing the internet and purchase the desired items. The software application will run on a
centralized server and the users will have to access this application by remote server. This
software application will allow the users to create their own accounts to use the
application. By creating the account, users can be members of the application and use it.
The users will be allowed to search, browse, and add items to cart. Then, they can have
items in their shopping cart and check out from the system to complete the transaction.
The system application also allows the admin to manage the inventory. Admin can add
new items, delete, view and update the details regarding any item in the inventory. The
system also allows the admin to apply promotion to the items in the inventory and
customer can purchase those items with some percentages off. This facility can be done
by the admin and the customer can then purchase the items. Email facility is also
provided in the system. Through this facility, new promotions can be sent to the members
of the software application. The system will allow the users to change their passwords
and edit their details anytime.The system will not be providing many facilities. The
system will not provide the credit card facility as the payment method will only be by
hand. Admins cannot be customers of the application software as they can only manage
the system. There will be only one admin and any other admin cannot be created for the
system.
Cart List of the items that customer wants to buy from the system
software
1.5 Overview
This document contains the requirements of the system software that is being developed.
This document is split into many sections for the convenience of the reader. The first
section of the document describes the purpose and scope of the software system. The
second section of the document is named Overall Description. As the name shows, this
section contains the overall description of the document and slicing it into different
parts.The third section describes all the requirements in detail. The fourth section
contains all the necessary diagrams to model the system. In the fifth section, appendixes
is given in this section.
2.1.1 Operations
Users of this system can perform many operations such as:
(1) User can create their accounts.
(2) Users can browse through the inventory.
(3) Users can add items to their cart.
(4) Users can checkout from the system and complete the transactions.
(5) Users can change their profile details.
(6) Admin can browse items of the inventory.
(7) Admin can edit items of the inventory.
(8) Admin can delete items of the inventory.
(9) Admin can update details of the items available in the inventory.
(10) Admin can add new items in the
inventory.
(11) Admin can view orders of the
customer.
(a) Any user of the system can add any item from the inventory to the shopping
cart.
7) Members of the system can add different items from the inventory in the shopping cart
and check out from the system to complete the transaction.
(a) Only the logged in members of the system can check out from the system.
(b) If the member is not logged in, he will be asked to log in the system.
8) Users can get emails regarding different promotions and confirmation of the
transactions.
2.4 GeneralConstraints
There are many constraints on this software system. Password of the members of this
system is stored in the plain text in database. So, there is no security in storing the
passwords of members. If a person tries to log in to the system, but fails many times, the
system will not be locked down. Members of the system will not be forced to apply a
strong password. A strong password means the use of alphanumeric values along with
some special characters. User can store any password he likes. The username of the
account will be the email of the members. The system may not work correctly if any
other browser is used than firefox.
3. Specific Requirements
The requirements specific to this software system are as follows:
1. Constraints
3.1.2 Interfaces
There are many interfaces included in this software system. This project basically involve
graphical user interface to interact with the user of this software system. Today, there is
must to have a graphical user interface for the application to be successful in the market.
Command line interface is not used nowadays.
3.2.1.3 Processing
After providing inputs to the system, processing is done on the inputs in order to gain output.
For example, when given the username and password, these inputs are sent to the database
and matched with the existing records. If it matches with the record, then user will be logged in
to the system.
3.2.1.4 Outputs
When a user provides input to the system, then the system performs some processing on the
inputs. After processing, the system will generate the output for the user. For example, when
user provides the username and password to the system, and database processing is done on
the input. Then if it matches, user will be logged in to the system. Otherwise, the system will
generate an error message.
Use Cases These are used to show the functions of the system that are
must to be implemented. These are oval shapes in the diagram.
Interactions These are the lines that show the direct connection between
actor and the use cases.
Includes This shows that a use case uses the functionality of another use
case. This is shown with dotted line and written on it includes.
Extends This shows that a use case uses all of the other use cases
functionality and adds extra functionality as well. This is also
shown with dotted line but written on it is extends.
The System Boundary This shows the boundary of the system. Everything that is
within this is included in the system. And system will be
responsible for everything included in it. It is shown with a
large rectangle.
Use Case Template This is used to explain the basic functionality and uses of the
Type This is used to show if a use case is directly interacted with the
actor or not.
Cross Ref It is a field in the use case diagram which describes that which
requirement satisfies the specific use case.
Use-Cases It is a field in the use case template that explains that which
use case must be executed before executing the specific use
case.
Sign in
View product
View brand
View product
login
Add product
Delete products
Administrator
update Product
New
Add
<<extend>> <<extend>>
Product <<extend>
View
<<extend>>
<<extend>>
Delete
Update
Actor
New
Add
<<extend>> <<extend>>
Customers <<extend>
View
<<extend>>
<<extend>>
Delete
Update
Actor
Multiplicities These are the numbers on the end of every association and
aggregation. These numbers show that how many objects are
There are so many requirements for this software system but we will discuss some of
them which are most important for online jewelar store.
Effectiveness
Performance
Reliability
Quality
Easy to use
Availability
Security
3. Tbl_brands
a. ID
b. Name
c. Enabled
4. Tbl_products
a. ID
b. Name
c. Price
d. Brand_id
e. Quantity
f. Color
g. Enabled
5. Tbl_orders
a. ID
b. Customer_id
c. Total_bill
d. Items
3.8Design Constraints
In this section, design limitations are being discussed based on the hardware provided for
the system. In order to run the system, user must have the computer with an OS installed
in it. A browser must also be available in the system. A working internet connection is
also necessary for the system to run as the system is based on the web. So, without an
internet connection, system is unable to run.
4. Analysis Models
This section describes the analysis of the project in the real world. Analysis of the project
is done by using different diagrams of software engineering. These diagrams show
different angle of the project so that the designer of this project easily understands the
requirements of this project and implement them in an easy way.
Axis Thex-axis shows movement among different things and the y-axis
shows time.
Comment Comments are used to explain what is going on the specific time or
stage. These are written on the left side of the diagram.
Instance These are the solid boxes on the top of the diagram with dotted
lines.Instances are of some specific objects. The first part of the
text shown in the box is the name of the instance and the name of
the object is followed by it.
Call These are the lines with the triangle at the end of each line. These
are used to show the movement or transition of one instance to
another. There may be a label on the top of each line, which
represents a function call or a variable set.
Variable set This is shown by “+=”, “-=” etc. these show that a value of one
variable is assigned to the other
:= This symbol means that the variable is being set directly
+= This symbol means that the value of the variable is being added
-= This symbol means that the value of the variable is being
subtracted
Guard Statements Guard statement is used to set some kind of criteria on any
function
Returns These are used to show the return value of the function. Dotted
line with an arrow on the edge is used to show returns.
Object Execution Time The object execution time describes the time of execution of any
object in the diagram.
Context Level
Level 1
Level 2
Level 3
Level 3
Login
Starting Point This is the place which represents the starting stage of the system. There
may be a line with an arrow which guides to the starting point.
States States are shown with the use of rectangles with the rounded
edges. These are split in to two parts. Half has the name of the
state. And the other half contains the further attributes of the
state.
Transitions The transitions are the arrows which are used to show the
movement of the state from one state to another state in the
system.
Objects These are the classes of the system. They can contain many states
and transitions. These are shown with the use of bigger boxes.