Sunteți pe pagina 1din 79

Food Ordering System

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)

Guided by: Submitted by:


Mr. Preetesh Purohit Kunal Bangar
Associate Professor (0822CS151047)
Department of CSE

Department of Computer Science and Engineering


Swami Vivekanand College of Engineering
July-Dec 2019
Recommendation
The project entitled “Food Ordering” submitted by Kunal
Bangar (0822CS151047) is a satisfactory account of the
bonafide work done under our supervision is recommended
towards the 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.

Date: 27/03/19 Project Guide


Mr. Preetesh Purohit
Associate Professor

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.

Internal Examiner External Examiner

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.

I am fully responsible for the matter embodied in this project


in case of any discrepancy found in the project and the project
has not been submitted for the award of any other degree.

Date: 27/03/19 Kunal Bangar


Place: Indore (0822CS151047)
Acknowledgements
We are thankful to the technical university Rajiv Gandhi
Proudyogiki Vishwavidyalaya, Bhopal for giving me opportunity
to convert my theoretical knowledge into the practical skills
through this project.

The project work has been made successful by the cumbersome


effort of the faculties. We express my profound sense of gratitude
to our director and principal Mr. P.K. Dubey and Dr. R.S.Tare,
Swami Vivekanand College of Engineering, Indore (M.P.) who
was involved right from the inception of ideas to the finalization
of the work.

The success and final outcome of this project required a lot of


guidance and assistance from many people and we are extremely
privileged to have got this all along the completion of my
project. All that we have done is only due to such supervision and
assistance and we would not forget to thank them. We have
taken efforts in this project. However, it would not have been
possible without the kind support and help of our HOD Mr. Vijay
Birchha . We would like to extend our sincere thanks to him.

We owe my deep gratitude to our project guide Mr. Preetesh


Purohit who took keen interest on our project work and guided
us all along, till the completion of our project work by
providing all the necessary information for developing a good
system. We would like to express my gratitude towards our
parents & member of Organization for their kind co-operation
and encouragement which help us in completion of this project.

We would like to express my special gratitude and thanks to


industry persons for giving me such attention and time. My
thanks and appreciations also go to my colleague in developing
the project and people who have willingly helped me out with their
abilities.

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.

An ordering system is referred to as a set of detail methods that


is being used in handling the ordering process. Food ordering
can be computerized or done manually. Thos helps the customer
to order their food themselves which is known as the customer
self-ordering system.

The customer self-ordering system can be defined as a


computerized system that is being used by customers to place
their own orders in the restaurant and allow the orders to be
tracked, in order to prepare and deliver the food to the computers.

This online application enables the end users to register online,


select the food from the e- menu card, read the E-menu card
and order food online. By just selecting the food that the user
want to have. The results after selecting the food from the E-
menu card will directly appear in the screen near the Chef who
is going to cook the food for you. By using this application the
work of the Waiter is reduced and we can also say that the work
is nullified. The benefit of this is that if there is rush in the
Restaurant then there will be chances that the waiters will be
unavailable and the users can directly order the food to the chef
online by using this application.

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

Chapter –5 Conclusion and Discussion 43


Appendix Screenshots 44-
52
Bibliography 53

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.

It is possible for anybody to order any goods via the internet


and have the goods delivered at his/her doorsteps. But while
trying to discuss the transfer method of the goods and
services, attention is focused on the payment mode. In other
13
words, how possible is it to pay for goods and services via
the internet? This then leads to the discussion of the
economic consequences of digital cash. What are the
implementations from the view point of economic? Since
the world is fast becoming a global village, the necessary
tool for this process is communication of which
telecommunication is a key player.

In the present scenario people have to physically visit the


hotels or restaurants for eating food, and have to make
payment through cash mode most of the times due to
unawareness of advanced technologies at certain places.

In this method time as well as physical work is required,


among which time is something that no one has in ample
amount. The traditional food ordering procedure is not
efficient enough for hotels and restaurant, as they have to deal
with crowd, in their restaurant.

The old methods can be classified into categories which are


paper grounded and verbal grounded. For paper based work,
the waiter comes and pens down foods that customers order
and pass the food list containing paper to the chefs or cooks
in the kitchen for further process.

Also from the owner’s point of view maintaining data record


and the accounts in physical file is cumbersome and tedious
work to do. And also it is full of risk as anyone can access
it and modify the data.

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.

1.2 Problem Definition


As industries are fast expanding, people are seeking for more
ways to purchase products with much ease and still maintain
cost effectiveness. The vendors need to purchase the products
in order to sell to end users. The manual method of going to
their local food sales outlets to purchase food is becoming
obsolete and more tasking. Food can be ordered through the
internet and payment made without going to the restaurant or
15
the food vendor. So there is need for a wide range of publicity
and enabling direct order, processing and delivering of food
through online system. For this system, there will be a system
administrator who will have the rights to enter the menu with
current prevailing prices.

1.3 Aims and Objectives


This study lays out a framework for a new system to be
developed and brought to the market for maximum use and to
create an avenue through the web where users can log on to
our server and make a selection of whatever goods or food
they like and subsequently pay via the internet. The following
are the objectives this would bring:
1. 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.
2. The products and services offered would provide the
customers with all the different

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.

1.4 Proposed Methodology


This online website enables the end users to register online,
select the food from the e-menu card, read the E-menu card and
order food online. By just selecting the food that the user want
to have. The results after selecting the food from the E-menu
card will directly appear in the screen near the Chef who is
going to cook the food for you. By using this application the
work of the Waiter is reduced and we can also say that the work
is nullified. The benefit of this is that if there is rush in the
Restaurant then there will be chances that the waiters will be
unavailable and the users can directly order the food to the chef
online by using this application. The user will be given a
username and a password to login.

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

2.1 Related Works


Odesser-Torpey (Odesser-Torpey, 2008) reports that most of
the Americans hate waiting for an order. Therefore, they prefer
self-service technology, which can be in form of text messaging,
the internet and kiosk. Usually, the customer prefers self-service
because of speed and convenience in making order and
transaction while minimize the miscommunication. He also
mentioned that self-activated terminals are more likely to
serve as ordering innovation in the future.

Bytes, a restaurant located at Canterbury has been successfully


standing apart from the competitors because of applying online
self-service ordering and the payment concepts. The system
used in Bytes allows the customers make an order through the
touch screen, and the order will be directed to bar or kitchen.
The system also offers games after a customer placed the orders
while internet access will be provided to customers in the future.
Touch screen ordering reduces the need of the waiter.

Gan (Gan, 2002) proposed to develop an online fast food


restaurant ordering system that allows customers to place orders
anytime at any place. The system helps to manage order from
customer as well as advertise promotion. It allows kitchen staff
to view ordering information, management to manage fast food
raw materials and staff to search customer delivery and profile
information. This system helps to reduce queue issues during
19
peak hours, speed up food preparation and increase customer
volumes.

In addition, the system should be supported by the food origin


taste and services to maintain the customers’ loyalty and
satisfaction. However, widely implementing the food ordering
system may cause the influx of labour due to the elimination
of waiters in restaurant industry. Even the system is important
to be implemented, yet there is still some risk in other factors
such as a direct interaction and restaurant design concept,
which need to be considered for ensuring the success of the
system.

2.2 Technologies and Tools


The proposal has to be described in a detailed form to get an
overview and an understanding of the functionalities of the
technical approach. This provides the technical description of
the characteristics of a proposal.

1. Hypertext Mark Up Language (HTML)


Hypertext Mark up Language (HTML), the languages of
the World Wide Web(WWW),

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.

4. Java Database Connectivity


JDBC is a Java API for executing SQL statements. (As a point
of interest, JDBC is trademarked name and is not an acronym;
nevertheless, JDBC is often thought of as standing for Java
Database Connectivity. It consists of a set of classes and
interfaces written in the Java programming language.
JDBC provides a standard API for

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).

8. Cascading Style Sheets


Cascading Style Sheets (CSS) is a style sheet language used for
describing the presentation of a document written in a mark
up language. Although most often used to set the visual style
of web pages and user interfaces written in HTML. Along with
HTML and JavaScript, CSS is a cornerstone technology used
by most websites to create visually engaging webpage’s,
user interfaces for web applications, and user interfaces for
many mobile applications. CSS gives more control over the
appearance of a Web page to the page creator than to the
browser designer or the viewer. With CSS, the sources of style
definition for a given document element are in this order of

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).

10.Java Server Pages (JSP)


Java server Pages is a simple, yet powerful technology for
creating and maintaining dynamic-content web pages. Based
on the Java programming language, Java Server Pages offers
proven portability, open standards, and a mature re-usable
component model The Java Server Pages architecture
enables the separation of content generation from content
presentation. This separation not eases maintenance
25
headaches; it also allows web team members to focus on
their areas of expertise. Now, web page designer can
concentrate on layout, and web application designers on
programming, with minimal concern about impacting each
other’s work.

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 Process Model Adopted


System development methodology is a framework that is used
to structure, plan and control the process of developing an
information system. A wide variety of such frameworks have
evolved over the years, each with its own recognized strengths
and weaknesses, and one system development methodology is
not necessarily suitable for use by all projects (Department of
Health and Human Services, 2008). Before, developing
software, it is advisable to choose the methodology which suits
best for the selected system. Hence, before the start of this
project, we have considered some methodologies of system
developed that helped us choose Waterfall model which was
presumed best for the development of “HRMS”.

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.

The Waterfall Model was first Process Model to be introduced.


It is also referred to as a linear-sequential life cycle model. It
is very simple to understand and use. In a waterfall model,
each phase must be completed fully before the next phase can
begin. This type of software development model is basically
used for the project which is small and there are no uncertain
requirements.

3.1.2 Advantages and Disadvantages of Waterfall Model


Advantages of Waterfall Model
 This model is simple and easy to understand and use.
 It is easy to manage due to the rigidity of the
model – each phase has specific deliverables and
30
a review process.
 In this model phases are processed and completed one
at a time. Phases do not overlap.
 Waterfall model works well for smaller projects
where requirements are very well understood.

Disadvantages of Waterfall Model


 Once an application is in the testing stage, it is very
difficult to go back and change something that was
not well-thought out in the concept stage.
 No working software is produced until late during the
life cycle.
 High amounts of risk and uncertainty.
 Not a good model for complex and object-oriented
projects.

3.1.4 Reasons for Use


This model is used only when the requirements are very well
known, clear and fixed.

 Product definition is stable.


 Technology is understood.
 There are no ambiguous requirements
 Ample resources with required expertise are available
freely
 The project is short.

Very less customer interaction is involved during the


development of the product. Once the product is ready then
only it can be demoed to the end users. Once the product is
developed and if any failure occurs then the cost of fixing such
issues are very high, because we need to update everywhere
31
from document till the logic.

3.2 Requirement Analysis


The structure of the system can be divided into three main
logical components. The first component must provide some
form of menu management, allowing the restaurant to control
what can be ordered by customers. The second component is
the web ordering system and provides the functionality for
customers to place their order and supply all necessary details.
The third and final logical component is the order retrieval
system. Used by the restaurant to keep track of all orders which
have been placed, this component takes care of retrieving and
displaying order information, as well as updating orders which
have already been processed.
Each of the three system components essentially provides a
layer of isolation between the end user and the database. The
motivation behind this isolation is twofold. Firstly, allowing the
end user to interact with the system through a rich interface
provide a much more enjoyable user experience, particularly
for the non-technical users which will account for the majority
of the system’s users. In addition, this isolation layer also
protects the integrity of the database by preventing users from
taking any action outside those which the system is designed to
handle. Because of this design pattern, it is essential to
enumerate exactly which functions a user will be presented and
these functions are outlined below, grouped by component.

32
3.2.1 Hardware Requirement
 Hardware-Pentium
 Speed-2.4 GHz
 RAM-4GB

 Hard Disk-1 TB

 Key Board-Standard Windows Keyboard.

 Mouse-Two or Three Button Mouse.

 Monitor-SVGA.

3.2.2 Software Requirements


 Technology: PHP
 Web Technologies: Html, JavaScript, CSS
 IDE: Net beans 8.2
 Web Server: Wamp2.2e
 Database: My SQL

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.

Feasibility study is an assessment of the practicality of a


33
proposed project or system. A feasibility study aims to
objectively and rationally uncover the strengths and
weaknesses of an existing business or proposed venture,
opportunities and threats present in the environment, the
resources required to carry through, and ultimately the prospects
for success. In its simplest terms, the two criteria to judge
feasibility are cost required and value to be attained.

3.3.1 Technical Feasibility


Technical feasibility a study of resource availability that may
affect the ability to achieve an acceptable system. This
evaluation determines whether the technology needed for the
proposed system is available or not.

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:

Front End and Back End Selection:


An important issue for the development of a project is the
selection of suitable front-end and back-end. When we
decided to develop the project we went through an extensive
study to determine the most suitable platform that suits the
needs of the organization as well as helps in development of
the project. The aspects of our study included the following
factors.

Front End Selection:


 It must have a graphical user interface that assists
employees that are not from IT background
Scalability and extensibility.
 Flexibility.
 Robustness.
 According to the organization requirement and the culture.
 Must provide excellent reporting features with good

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.

Back End Selection:


 Multiple user support.
 Efficient data handling.
 Provide inherent features for security.
 Efficient data retrieval and maintenance.
 Stored procedures.
 Popularity.

Operating System Compatible:

 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:

 Is the project feasible to operate or not?


 Does current mode of operation provide adequate
throughput and response time?
 Could there be a reduction in cost and or an increase in
benefits?
 Does current mode of operation offer effective controls to
protect against fraud and to guarantee accuracy and security
of data and information?
 Does current mode of operation make maximum use of
available resources, including people, time, and flow of
forms?
 Are the current work practices and procedures adequate to
support the new system?
 If the system is developed, will it be used?

3.3.3 Economic Feasibility


37
Economic justification is generally the “Bottom Line” consideration for
most systems. Economic justification includes a broad range of
concerns that includes cost benefit analysis. In this we weight the cost
and the benefits associated with the candidate system and if it suits the
basic purpose of the organization i.e. profit making, the project is
making to the analysis and design phase. The financial and the
economic questions during the preliminary investigation are verified
to estimate the following:
 The cost to conduct a full system investigation. The cost of hardware
and software for the class of application being considered. The
benefits in the form of reduced cost. The proposed system will give
the minute information, as a result the performance is improved which
in turn may be expected to provide increased profits.
 This feasibility checks whether the system can be developed with the
available funds. The HMS is not require enormous amount of money
to be developed. This can be done economically if planned judicially,
so it is economically feasible. The cost of project depends upon the
number of man hours required.
This assessment aims to determine the positive economic
benefits to the organization that the proposed system will
provide. It typically involves a cost/ benefits analysis and it’s
the most frequently used method for evaluating the
effectiveness of a new proposed system. Possible questions
raised in economic analysis are:

 Is the system cost effective?


 Do benefits outweigh costs?
 The cost of doing full system study
 The cost of business employee time
38
 Estimated cost of hardware
 Estimated cost of software/software development
 Is the project possible, given the resource constraints?
 What are the savings that will result from the system?

3.4 Architectural Specification

This is a brief structure which depicts the environment in which


a software system exists and helps in communicating about what
lies outside the system boundary
Being connected to internet, users will be able to get into the system.
In order to see the

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.

In such architecture, there are 3 main elements:


 The client tier, that is responsible for the
presentation of data, receiving user elements and
controlling the user interface.
 The application server tier, that is responsible for
the business logic of the system. In fact, business-
objects that implement the business rules "live" here,
and are available to the client- tier. This tier protects
the data from direct access by the clients.
 The data server tier, that is responsible for data
storage. As data server, we used SQL, an open-
31
source relational database.

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 3 – Forgot


Password Actor-
User
Type- Primary
Description- If user forgets the password, uses forget
function to reset his/her password.

Use Case 4 –
Navigate Menu
Actor- User
Type- Primary
Description- User Can Navigate Menu and can view it.

Use Case 5 – Select


Item Actor- User
Type- Primary
Description –User Select Item and Click on it.

Use Case 6 – Edit


37
Item Actor- User
Type- Primary
Description- User Can Select And also Edit the Item.

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.

Use Case 11 – Review


Order Actor - Admin
Description –Order Can Be Review By Admin For
Confirmation.

Use Case 12 – Receive


Order Actor - Admin
Description –Final Order Is Received To Admin.

Use Case 13 – Payment


Actor- Admin
Confirmation
Description-W h e n p a y m i s c o m p l e t b y u s e r a d m i
re enct eiv e s c o n f i r m a t i o n e d n
n..

39
Use Case 14 – Review
Order Actor- Restaurant
Employee
Description- The Admin And Employee Can Review The
Order.

Use Case 15 – Receive the


Order Actor- Restaurant
Employee
Description- When Order Is Completed By User Admin And
Employee Receive It.

40
Chapter-4
Design

4.1 Activity Diagram

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

Login Activity Diagram

42
4.2 Sequence Diagram
Sequence diagrams can be useful references for businesses and
other organizations. Try drawing a sequence diagram to:

 Represent the details of a UML use case.


 Model the logic of a sophisticated procedure, function, or
operation.
 See how objects and components interact with each other to
complete a process.
 Plan and understand the detailed functionality of an existing or
future scenario.

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:

Entity: A definable thing—such as a person, object, concept or


event—that can have data stored about it. Think of entities as
nouns. Examples: a customer, student, car or product. Typically
shown as a rectangle.
Entity type: A group of definable things, such as students or
45
athletes, whereas the entity would be the specific student or athlete.
Other examples: customers, cars or products.

Entity set: Same as an entity type, but defined at a particular point


in time, such as students enrolled in a class on the first day. Other
examples: Customers who purchased last month, cars currently
registered in Florida. A related term is instance, in which the
specific person or car would be an instance of the entity set.

Entity categories: Entities are categorized as strong, weak or


associative. A strong entity can be defined solely by its own
attributes, while a weak entity cannot. An associative entity
associates entities (or elements) within an entity set.

Entity keys: Refers to an attribute that uniquely defines an entity


in an entity set. Entity keys can be super, candidate or primary.
Super key: A set of attributes (one or more) that together define
an entity in an entity set. Candidate key: A minimal super key,
meaning it has the least possible number of attributes to still be
a super key. An entity set may have more than one candidate
key. Primary key: A candidate key chosen by the database
designer to uniquely identify the entity set. Foreign key: Identifies
the relationship between entities.

Relationship: How entities act upon each other or are associated


with each other. Think of relationships as verbs. Relationships
are typically shown as diamonds or labels directly on the
connecting lines.

Recursive relationship: The same entity participates more than


46
once in the relationship.

Attribute: A property or characteristic of an entity. Often shown as


an oval or circle.

Cardinality: Defines the numerical attributes of the relationship


between two entities or entity sets. The three main cardinal
relationships are one-to-one, one-to-many, and many-many.

47
1.Users: Table 1

Field Name Data Type Size


Name Varchar 20
Password Varchar 32
Id Employee INT
Id Question INT
Answer VARCHAR 100

2.Cancellation: Table 2

Field Name Data Type Size


Id Cancellation INT
Id Order INT

3.Category: Table 3

Field Name Data Type Size


Id Category INT
Name Varchar 32
Id Parent INT

4. Customer: Table 4

Field Name Data Type Size


Id Customer INT
Name Varchar 150
Birth date Date

48
Mobile no Double
Email id Varchar 45

5.Designation: Table 5

Field Nam e Data Type Size


Id Designation INT
Name Varchar 45
Salary INT

6.User: Table 6

Field Name Data Type Size


Id User INT
Name Varchar 150
Address Varchar 400
City Varchar 30
State Varchar 30
Mobile no Double
Id Designation INT

7.Order: Table 7

Field Nam e Data Type Size


Id Order INT
Id Table INT
Id Customer INT

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.

Here it will be explained what we have realized with respect to


the requirements, the problems found during the development of
the system, what we have learned from the realization of the
project and the possible improvements to the on-line auction portal.

In view of the rapid development of computer technology in


almost all the fields of operation and its use in relation to
information management, it has become important to look into the
development of online ordering system for firms to meet up with
demands of the customers. Therefore, the food ordering and
delivery system will help customers and management to:

1. Advertise available foods in their company


2. Reduce the workload in the present system
3. Reduce time wasted in data processing
4. Create a platform for online purchase and delivery of fast food
5. Keep accurate record on purchased order and delivery.

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

S-ar putea să vă placă și