Professional Documents
Culture Documents
<1.0>
<02-May-2017>
Submitted by:
Program:
MCS (2015-2017)
1
Department of Computer
Science & IT
2
Revision History
Document Approval
The following Software Requirements Specification has been accepted and approved by the
following:
3
Table of Contents
Chapter 1 ................................................................................................................................................. 6
1. Introduction ..................................................................................................................................... 7
1.1. Introduction to Online Food Ordering .................................................................................... 7
1.2. Purpose.................................................................................................................................... 7
1.3. Scope ....................................................................................................................................... 7
1.4. Definitions, Acronyms, and Abbreviations ............................................................................. 8
Chapter 2 ................................................................................................................................................. 9
2. General Description ...................................................................................................................... 10
2.1. Product Perspective ............................................................................................................... 10
2.2. Product Functions ................................................................................................................. 10
2.3. User Characteristics .............................................................................................................. 10
2.4. General Constraints ............................................................................................................... 11
2.5. Specific Constraints .............................................................................................................. 11
2.6. Assumptions & Dependencies .............................................................................................. 11
2.7. External Interface Requirements ........................................................................................... 11
2.7.1. User Interface ................................................................................................................ 11
2.7.2. Hardware Interface ........................................................................................................ 11
2.7.3. Software Interface ......................................................................................................... 11
2.7.4. Communication Interface (HTTP/HTTPS) ................................................................... 12
Chapter 3 ....................................................................................................................................... 13
3. Requirements and Analysis........................................................................................................... 14
3.1. Functional Requirements ...................................................................................................... 14
3.2. Introduction ........................................................................................................................... 15
3.2.1. Inputs............................................................................................................................. 15
3.2.2. Processing ..................................................................................................................... 15
3.2.3. Outputs .......................................................................................................................... 15
3.2.4. Handling Error .............................................................................................................. 15
3.3. Introduction ........................................................................................................................... 15
3.3.1. Inputs............................................................................................................................. 15
3.3.2. Processing ..................................................................................................................... 15
3.3.3. Outputs .......................................................................................................................... 15
3.4. Use Case................................................................................................................................ 16
4
3.4.1. System Use Case ........................................................................................................... 16
3.5. Non-Functional Requirements .............................................................................................. 26
3.5.1. Performance .................................................................................................................. 26
3.5.2. Reliability ...................................................................................................................... 26
3.5.3. Availability ................................................................................................................... 26
3.5.4. Security ......................................................................................................................... 26
3.5.5. Maintainability .............................................................................................................. 26
5
Chapter 01
Introduction
6
1. Introduction
Online Food ordering system is a part of e-commerce. Online Food ordering greatly
simplifies the ordering process for both the customer. System presents an interactive and up-
to-date menu with all available options in an easy to use manner. Customer can choose one or
more items to place an order which will land in the Cart. Customer can view all the order
details in the cart before checking out. At the end, customer gets order confirmation details.
Once the order is placed it is entered in the database and retrieved in pretty much real time.
1.1. Introduction to Online Food Ordering
The motivation for designing this website is to motivate the customer. The customers of
today are not only attracted because placing an order online is very convenient but also
because they have visibility into the items offered, price and extremely simplified navigation
for the order.
1.2. Purpose
The purpose of SRS to extract all functional and non-functional requirement, Use-case, build
an analysis model extract entities their attribute and their Relationship, to build an analysis
model comprehensive.
1.3. Scope
Online Food Ordering System is a part of e-commerce. E-commerce or business through net
means distributing, selling, marketing, and servicing of products or services over electronic
7
systems such as the Internet and other computer networks. Thus, if we own a restaurant we
need to upload menu online to attract potential customers.
1.4. Definitions, Acronyms, and Abbreviations
SRS: System Requirement Specification
User: Who will interact the system?
Database: Is used to store the data.
Admin: Database Administrator can insert, delete, manage and organize data.
8
Chapter 02
General Description
9
General Description
To increase efficiency and improve services.
To be able to stand out from competitors in the food service industry.
The home page of this web interfile provides an avenue where customers will be able
to gather more and reliable information about what the fast food industry really does.
1.5. Product Perspective
Delivery Limited Area: This feature used for limited area in the city.
Searching Facility: This feature used for searching all available items.
Security: This feature provides total security about user data.
Payment Choices: This feature provides the facility to pay money on that time and after
home delivery.
Reliable: This feature provides the reliability of system.
Features Food-Panda KhaoPiyo.pk EatOye!
Reliable No No No
10
The registered user must provide their information to fulfils the system requirement.
The registered user must provide accurate data for delivery.
1.8. General Constraints
The general constraint means the requirements of the system and specification of the system.
The system should be useful for the project it competes the project requirement.
Here are some constraints for the given below:
Memory:The memory should be enough for the project database.
Hardware: Not required.
Operating System: For the project of “Online Food Ordering” the operating system should
be Microsoft Window XP, Vista, 7, 8, 8.1, and 10 of any version.
1.9. Specific Constraints
The specific requirements are for the interface the graphical interface is creating for the user.
Where the user can use to access the project by the easy interface. The interface different on
the different system, the system should compatible for the user where he can understand the
system easily. The specific requirement describes the system functionality.
1.10. Assumptions & Dependencies
Website is online.
Customers have connection to website.
Payment method is available.
11
Web Browser: IE 10 or above, Mozilla FF 31 and above or Google Chrome
Visual studio software is developed to help computer science students to learn about the Web
application designing using ASP.NET from their basic capabilities to build a complete
working application from scratch. Further, it gives insight about how GUI interacts with
server-side language and finally with the database.
1.11.4. Communication Interface (HTTP/HTTPS)
The communication means the user communicates with the system for perform some task.
When the user opens the browser it’s actually communicating with the system. When user
login it communicates with online food site and online search food. User select food and give
payment by any way where he wants actually communicates with the admin of the system.
12
Chapter 03
Specific Requirement
13
2. Requirements and Analysis
2.1. Functional Requirements
Para# Initial Requirements
3 The system “shall” provide two types of registration process, normal and
privileged
4 Admin “shall” accept, reject and temporarily avoid doing the requests on the basis
of credentials provided.
5 A customer “shall” login to the system and can change his password
9 CA “shall “accept, reject and temporarily waive the requests on the basis of
credentials provided.
13 System “shall” generate invoice, confirmation receipt and finally will place order
14 User “shall” view the status of their orders by providing the Order Number
15 Privileged customers “shall “place the request for the updating of their orders if
the orders are not shipped.
14
16 Privileged customer “shall” place the request for the cancellation of the order. But
all these updating and cancellation requests are to be viewed by the Order
Administrator in order to accept, reject, or waive them.
2.2. Introduction
A customer “shall” place order for food.
2.2.1. Inputs
Select food item.
Place identity.
Login
2.2.2. Processing
Verify User from Database
2.2.3. Outputs
Show all available food items.
2.2.4. Handling Error
Food item are not available show the message.
2.3. Introduction
Admin “shall” accept, reject and temporarily avoid doing the requests on the basis of
credentials provided.
2.3.1. Inputs
Accept correct user data.
View all details provided by user.
2.3.2. Processing
Process and check user order is available.
2.3.3. Outputs
Acknowledgement for order.
15
2.4. Use Case
2.4.1. System Use Case
16
17
Use Case Description
UC-ID UC-01
UC-Name UC-user-login
Description: This use case describes how user can login the system.
Actor User
Basic Flow:
Alternative Flow: If the email or password are wrong the system will display SORRY
message.
18
UC-ID UC-02
Description: This use case describes how to search and select food items.
Actor User
Basic Flow:
Alternative Flow: If required item are not available the system will display SORRY
message.
19
UC-ID UC-03
UC-Name UC-order
Description: This use case describes how user can order food from the system.
Actor User
Basic Flow:
20
UC-ID UC-04
UC-Name UC-Logout
Description: This use case describes how users can logout from the system.
Actor User
Basic Flow:
21
Online Food Ordering
LogIn
View Shipment /
Order
Manage Order
Confrm Order
Admin
Delete User
Delivery Boy
Ship Order /
Deliver Order
22
UC-ID UC-05
UC-Name UC-admin-login
Description: This use case describes how admin can login the system.
Actor Admin
Basic Flow:
Alternative Flow: If the email and/or password is wrong the system will display SORRY
message.
23
UC-ID UC-06
UC-Name UC-View/Confirm/Delete
Description: This use case describes how admin can view and confirm order.
Actor Admin
Basic Flow:
Alternative Flow: If the email and/or password is wrong the system will display SORRY
message.
24
UC-ID UC-07
UC-Name UC-Logout
Description: This use case describes how admin can logout from the system.
Actor Admin
Basic Flow:
25
2.5. Non-Functional Requirements
Non-functional requirements should be performing all operations of the system. The
performance of the system can be effective. Some nonfunctional requirements are given here.
2.5.1. Performance
The performance of the system should be effective; it should be meet with the requirements
of the system. When the user opens the site or the other application it should be open quickly.
2.5.2. Reliability
The system should be reliable for the user, the user can buy or sell the product easily, the
system should not be ambiguous. The admin responsibility to make system reliable.
2.5.3. Availability
The availability means the online site should be available for the user. The user anywhere and
anytime wants to order food. The availability of the site can make more users can use of the
site.
2.5.4. Security
The security means the project should be secure, unauthorized person cannot access system.
Just registered user can access the system and order food.
2.5.5. Maintainability
The maintainability of system performed by the admin. Because the admin owner of the site
and all over the management in the owner hand, and the owner can select the and reject the
request of the user.
26
Chapter 04
Analysis Model
27
Class Diagram
Sequence Diagrams
Sequence Diagram#1
28
Sequence Diagram#2
This Sequence diagram describes how the user Login with the system.
29