Documente Academic
Documente Profesional
Documente Cultură
A Dissertation submitted to
Rajiv Gandhi Proudyogiki Vishwavidyalaya Towards
partial fulfilment of the Requirements for The Degree
of Bachelor of Engineering in Computer Science &
Engineering
(Session 2018-2019)
Endorsed by
Vijay Birchha
Head
Department of Computer Science and Engineering
Approval Sheet
The project entitled “Food Ordering” submitted by Kunal
Bangar (0822CS151047) is approved as partial fulfilment for the
award of Bachelor of Engineering in Computer Science &
Engineering degree by Rajiv Gandhi Proudyogiki
Vishwavidyalaya, Bhopal for the academic year 2018-2019.
Principal
Swami Vivekanand College of Engineering
Indore (M.P)
Candidate Declaration
I hereby declare that the work which is being presented in this
project entitled Food Ordering in partial fulfilment of degree of
Bachelor of Engineering in Computer Science and
Engineering is an authentic record of my own work carried
out under the supervision and guidance of Mr. Preetesh Purohit
Associate Professor in Department of Computer Science &
Engineering, Swami Vivekanand College of Engineering, Indore.
Kunal Bangar
(0822CS151047)
Abstract
The online food ordering system provides convenience for the
customers. It overcomes the disadvantages of the traditional
queuing system. This system increases the takeaway of foods
than visitors. Therefore, this system enhances the speed and
standardization of taking the order from the customer. It provides
a better communication platform. The user’s details are noted
electronically.
The online food ordering system set up menu online and the
customers easily places the order with a simple mouse click.
Also with a food menu online you can easily track the orders,
maintain customer's database and improve your food delivery
service. This system allows the user to select the desired food
items from the displayed menu. The user orders the food items.
The payment can be made online or pay-on-delivery system. The
user’s details are maintained confidential because it maintains a
separate account for each user. An id and password is provided
for each user. Therefore it provides a more secured ordering.
TABLE OF CONTENTS
Pa
Recommendation ge2
Report Approval Sheet No3
Candidate Declaration . 4
Acknowledgements 5
Abstract 6
Chapter-1 Introduction 9-12
1.1 Overview and issues involved 10
1.2 Problem definition 11
1.3 Aim & Objectives 11
1.4 Proposed Methodology 12
1.5 Report Organization 12
Chapter-2 Literature Survey 13-
2.1 Related Work 18
14
2.2 Technologies and Tools (Reasons for Use) 15
Chapter-3 Analysis 19-
3.1 Process Model Adopted 33
20-
3.1.1Description 21
3.1.2Advantages and Disadvantages
3.1.3Reasons
3.2 Requirementfor Use
Analysis 22
3.2.1 Software Requirements 23
3.2.2 Hardware Requirements 23
3.3 Feasibility Study 23-
3.3.1 Technical Feasibility 25
3.3.2 Economical Feasibility
3.3.3 Operational Feasibility
3.4 Architectural Specification 26
3.5 Use Case Model 31
3.6 Use Case Description 32
Chapter-4 Design 34-
4.1 Activity diagrams. 42
35
4.2 Sequence diagrams 36
4.3 Class Diagram 37
4.4 E-R diagram 39
List of Figures
S.N. Figure No. Figure Name Page No.
1 3.1 Waterfall 21
Model
2 3.4 Architec 26
tural
Specific
ation
3 3.4.1 Architectural 27
4 3.4.2 Diagram
Login Process 28
5 3.4.3 Manager Side 29
6 3.4.4 Kitchen Side 30
7 3.5 Use Case 31
8 4.1 Diagram
Activity 35
9 4.1.1 Diagram
Login Activity 36
10 4.2 Sequence 37
11 4.3 Diagram
Class Diagram 38
12 4.4 E-R Diagram 40
List of Tables
S.N. Table No. Table Name Page No.
1 1 User 40
2 2 Cancellation 41
3 3 Category 41
11
4 4 Customer 41
5 5 Designation 41
6 6 User 42
7 7 Order 42
12
Chapter-1
Introduction
1.1 Overview and Issues involved
The online food ordering system is one of the latest
servicers most fast food restaurants in the western world
are adopting. With this method, food is ordered online and
delivered to the customer. This is made possible through
the use of electronic payment system. Customers pay with
their credit cards, although credit card customers can be
served even before they make payment either through cash
or cheque. So, the system designed in this project will
enable customers go online and place order for their food.
Due to the great increase in the awareness of internet and the
technologies associated with it, several opportunities are
coming up on the web. So many businesses and companies
now venture into their business with ease because of the
internet. One of such business that the internet introduced
is an online food ordering system. In today’s age of fast
food and take out, many restaurants have chosen to focus
on quick preparation and speedy delivery of orders rather
than offering a rich dining experience. Until recently, most
of this delivery orders were placed over the phone, but there
are many disadvantages to this system.
14
What I propose is an online ordering system originally
designed for use in college cafeterias, but just as applicable in
any food delivery industry. The main advantage of this system
is that it greatly simplifies the ordering process for both the
customer and the restaurant. The system also greatly lightens
the load on the restaurants end, as the entire process of taking
orders is automated. Once an order is placed on the webpage
that will be designed, it is placed into the database and then
retrieved, in pretty much real-time, by a desktop application on
the restaurants end. Within this application, all items in the order
are displayed, along with their corresponding options and
delivery details, in a concise and easy to read manner. This
allows the restaurant employees to quickly go through the orders
as they are placed and produce the necessary items with
minimal delay and confusion.
16
categories of available products that they can choose and
select from.
3. This will provide a user friendly environment between the
customer and employee thus increasing the efficiency of
the food ordering system.
4. There will also be an online purchase form with which
valued customers will be using to get in touch with
any of their request whenever the need arises.
5. It will also help for easy retrieval of orders made by the
customers.
17
1.5 Report Organization
Chapter 2: Provides a background study. .
Chapter 3: Details the Analysis process with sub-sections
dedicated to dealing with each of the transformations.
Chapter 4: Details of Design from the project
Chapter 5: Details about the conclusion of the project
including inferences and future extension for the project.
18
Chapter-2
Literature Survey
20
allows users to produces Web pages that include text,
graphics and pointer to other Web pages (Hyperlinks).
HTML can be used to display any type of document on the
host computer, which can be geographically at a different
location. It is a versatile language and can be used on any
platform or desktop.
HTML provides tags (special codes) to make the document
look attractive. HTML tags are not case-sensitive. Using
graphics, fonts, different sizes, colour, etc., can enhance the
presentation of the document. Anything that is not a tag is
part of the document itself. It provides a means to describe the
structure of text-based information in a document by denoting
certain text as headings, paragraphs, lists, and so on and to
supplement that text with interactive forms, embedded images,
and other objects.
2. Java Script
JavaScript is a script-based programming language that was
developed by Netscape Communication Corporation.
JavaScript was originally called Live Script and renamed
as JavaScript to indicate its relationship with Java.
JavaScript supports the development of both client and
server components of Web-based applications. On the client
side, it can be used to write programs that are executed by
a Web browser within the context of a Web page. On the
server side, it can be used to write .Web server programs
that can process information submitted by a Web browser
and then update the browser’s display accordingly.
21
3. Java Technology
Initially the language was called as “oak” but it was
renamed as “Java” in 1995. The primary motivation of this
language was the need for a platform-independent (i.e.,
architecture neutral) language that could be used to create
software to be embedded in various consumer electronic
devices:
1. Java is a programmer’s language.
2. Java is cohesive and consistent.
3. Except for those constraints imposed by the Internet
environment, Java gives the programmer, full control.
4. Finally, Java is to Internet programming where C was to
system programming.
22
tool database developers and makes it possible to write
database applications using a pure Java API.
Simply put, JDBC makes it possible to do three things:
1. Establish a connection with a database.
2. Send SQL statements.
3. Process the results.
5. JDBC Connectivity
The JDBC provides database-independent connectivity
between the J2EE platform and a wide range of tabular
data sources. JDBC technology allows an Application.
Component Provider to:
1. Perform connection and authentication to a database server.
2. Manager transactions.
3. Move SQL statements to a database engine for pre
processing and execution.
4. Execute stored procedures.
5. Inspect and modify the results from Select statements.
6. Database
A database management system (DBMS) is computer
software designed for the purpose of managing databases, a
large set of structured data, and run operations on the data
requested by numerous users. Typical examples of DBMSs
include Oracle, DB2, Microsoft Access, Microsoft SQL
Server, Firebird, PostgreSQL, MySQL, SQLite, FileMaker
and Sybase Adaptive Server Enterprise. DBMSs are typically
used by Database administrators in the creation of Database
23
systems. Typical examples of DBMS use include accounting,
human resources and customer support systems.
7. SQL
Structured Query Language (SQL) is the language used to
manipulate relational databases. SQL is tied very closely with
the relational model. In the relational model, data is stored in
structures called relations or tables. SQL statements are issued
for the purpose of:
1.Data definition: Defining tables and structures in the
database (DDL used to create, alter and drop schema objects
such as tables and indexes).
2.Data manipulation: Used to manipulate the data within
those schema objects (DML Inserting, Updating, Deleting
the data, and Querying the Database).
24
precedence.
9. Servlets
The Java web server is Java Softs own web Server. The Java
web server is just a part of a larger framework, intended to
provide you not just with a web server, but also with tools. To
build customized network servers for any Internet or Intranet
client/server system. Servlets are to a web server, how applets
are to the browser.
About Servlets:
1. Servlets provide a Java-based solution used to address the
problems currently associated with doing server-side
programming, including inextensible scripting solutions,
platform- specific APIs, and incomplete interfaces.
2. Servlets are objects that conform to a specific interface that
can be plugged into a Java- based server. Servlets are to the
server-side what applets are to the client-side object byte
codes that can be dynamically loaded off the net. They differ
from applets in that they are faceless objects (without graphics
or a GUI component).
11.Net Beans
NetBeans began in 1996 as Xelfi a Java IDE student project
under the guidance of the Faculty of Mathematics and Physics
at Charles University in Prague. In 1997, Roman Staněk
formed a company around the project and produced
commercial versions of the NetBeans IDE until it was bought
by Sun Microsystems in 1999. Sun open-sourced the NetBeans
IDE in June of the following year. Since then, the NetBeans
community has continued to grow. In
26
2010, Sun (and thus NetBeans) was acquired by Oracle
Corporation. Under Oracle, NetBeans competed with J
Developer, a freeware IDE that has historically been a product
of the company. In September 2016, Oracle submitted a
proposal to donate the NetBeans project to the Apache
Software Foundation, stating that it was "opening up the
NetBeans governance model to give NetBeans constituents a
greater voice in the project's direction and future success
through the upcoming release of Java 9 and NetBeans 9 and
beyond". The move was endorsed by Java creator James
Gosling. The project entered the Apache Incubator in October
2016.
12. PHP
It is a server-side scripting language designed for Web
development, and also used as a general-purpose
programming language. It was originally created by Rasmus
Lerdorf in 1994, the PHP reference implementation is now
produced by The PHP Group. PHP originally stood for
Personal Home Page, but it now stands for the recursive
initialism PHP: Hypertext Pre processor.
PHP code may be embedded into HTML code, or it can be used
in combination with various web template systems, web content
management systems, and web frameworks. PHP code is
usually processed by a PHP interpreter implemented as a module
in the web server or as a Common Gateway Interface (CGI)
executable. The web server combines the results of the
interpreted and executed PHP code, which may be any type of
data, including images, with the generated web page. PHP code
may also be executed with a command-line interface (CLI) and
27
can be used to implement standalone graphical applications.
28
Chapter-3
Analysis
3.1.1 Description
The waterfall model is a sequential design process. This model
is frequently used in software development processes, in which
improvement is seen as flowing steadily downwards (like a
waterfall) through the stages of conception, initiation, analysis,
design, construction, testing, production/implementation and
maintenance. Testing of the software is carried out only when
the code has been fully developed. Each work-product or
activity is completed before moving on to next. Each phase of
development proceeds in order without any overlapping and the
tasks are scheduled to be completed in a specific period of time.
29
In waterfall model, requirements should be made clear and
distinct before moving on to the next phase of design.
32
3.2.1 Hardware Requirement
Hardware-Pentium
Speed-2.4 GHz
RAM-4GB
Hard Disk-1 TB
Monitor-SVGA.
3.3Feasibility Study
This is an evaluation and analysis of the potential of the
proposed project which is based on extensive investigation and
research to support the process of decision making. It assesses
the operational, technical and economic merits of the proposed
project. The feasibility study is intended to be a preliminary
review of the facts to see if it is worthy of proceeding to the
analysis phase. From the systems analyst perspective, the
feasibility analysis is the primary tool for recommending
whether to proceed to the next phase or to discontinue the project.
34
Can the work for the project be done with current equipment
existing software.
Can the work for the project be done with current
equipment existing software technology
& available personal?
Can the system be upgraded if developed?
If new technology is needed then what can be developed?
This is concerned with specifying equipment and
software that will successfully satisfy the user
requirement. The technical needs of the system may
include:
35
printing support.
Platform independent.
Easy to debug and maintain.
Event driven programming facility.
According to the above stated features we selected
VB6.0 as the front-end for developing our project.
Easy to install
Various drivers must be available.
36
Easy to implant with the Front-end.
3.3.2Operational Feasibility
Operational feasibility is the measure of how well the project will
support the customer and the service provider during the operational
phase. It is dependent on human resources available for the project and
involves projecting whether the system will be used if it is developed
and implemented. The essential questions that help in testing the
technical feasibility of a system include the following:
39
interface related to his/her role type, the users account should
be authorized and also his/her user name and password
should be authenticated. These tasks are basically held by the
functions implemented under the header of Authentication and
Authorization major function.
32
33
34
3.5 Use Case Model
35
3.6 Use Case Description
3.7 Use Case 1
- Create
User Actor–
User
Type -Primary
36
Description In this use case, user creates a new user with
Registration.
Use Case 2-
Login
Actor-User
Type- Primary
Description -Log-in is the credentials required to obtain
access to the system when user enters his/her username
and password, login process starts.
Use Case 4 –
Navigate Menu
Actor- User
Type- Primary
Description- User Can Navigate Menu and can view it.
Use Case 7 –
Review Order
Actor-User
Type- Primary
Description- User Can Review order after Order Is
Final.
38
Use Case 8 – Pay for
Order Actor- User
Type- Primary
Description-When Order Is Created User Can Pay The
Amount.
Use Case 9 -
Confirmation Actor-
User
Description- User Receives Confirmation Message from
Restaurant
Use Case 10 –
Navigate Menu Actor-
Admin
Description –Admin Can Modify The Menu And Remove
The Item List.
39
Use Case 14 – Review
Order Actor- Restaurant
Employee
Description- The Admin And Employee Can Review The
Order.
40
Chapter-4
Design
41
This is the activity UML Diagram Of Online Food Ordering
System Which Shows the flow between the activity of Order,
Food Item, Deliver, Payment, Category. The Main Activity
involved in UML Diagram are as Follows:
Order Activity
Deliver Activity.
Food Item Activity
Payment Activity
Category Activity
42
4.2 Sequence Diagram
Sequence diagrams can be useful references for businesses and
other organizations. Try drawing a sequence diagram to:
43
4.3 Class Diagram
Class diagrams are one of the most useful types of diagrams in
UML as they clearly map out the structure of a particular system
by modelling its classes, attributes, operations, and relationships
between objects. With our UML diagramming software, creating
these diagrams is not as overwhelming as it might appear. This
guide will show you how to understand, plan, and create your own
class diagrams. The Unified Modelling Language (UML) can help
you model systems in various ways. One of the more popular types
in UML is the class diagram. Popular among software engineers to
document software architecture, class diagrams are a type of
structure diagram because they describe what must be present in
the system being modelled. No matter your level of familiarity with
UML or class diagrams, our UML software is designed to be simple
and easy to use.
44
4.4 ER Diagram
ER Diagrams are composed of entities, relationships and
attributes. They also depict cardinality, which defines
relationships in terms of numbers. Here’s a glossary:
47
1.Users: Table 1
2.Cancellation: Table 2
3.Category: Table 3
4. Customer: Table 4
48
Mobile no Double
Email id Varchar 45
5.Designation: Table 5
6.User: Table 6
7.Order: Table 7
49
Id Employee INT
Id Status INT
Id Order type INT
Date Date
50
Chapter-5
Conclusion and Discussion
The project report entitled” Food Ordering” has come to its
conclusion. The new system has been developed with so much
care that it is free of errors and at the same time efficient and less
time consuming. System is robust. Also provision is provided
for future development in this system.
51
Limitations
Due to time and financial constraints, the software that is
developed covers only the aspect of food ordering and
payments.
52
Appendix: Screenshots
53
54
55
56
57
58
59
60
Bibliography
https://www.slideshare.net/armanreza161/food-ordering-
system-75284735
https://www.scribd.com/document/343606727/Synopsis-of-
Online-Food-Ordering-System
http://www.academia.edu/22293120/DESIGN_AND_IMPLE
MENTATION_OF_ONLINE_
FOOD_ORDERING_SYSTEM
https://isr.umd.edu/~austin/ense621.d/projects04.d/project-
food-ordering.html
http://services.lovelycoding.org/online-food-ordering-system/
61
62
63
64
65
21
20
20
20
20
20