You are on page 1of 15

FOOD ORDERING SYSTEM

A MINIPROJECT REPORT

Submitted by

P.V.GAYATHRI(1612034)

S.KAVITHA(1612048)

S.KEERTHANA(1612049)

in partial fulfillment for the award of the degree

of

BACHELOR OF ENGINEERING

In

COMPUTER SCIENCE AND ENGINEERING

NATIONAL ENGINEERING COLLEGE

(An Autonomous Institution, Affiliated to Anna University Chennai)

K.R.NAGAR, KOVILPATTI: 628 503

Page i of 15
NATIONAL ENGINEERING COLLEGE
(An Autonomous Institution, Affiliated to Anna University Chennai)
K.R.NAGAR, KOVILPATTI: 628 503

BONAFIDE CERTIFICATE

Certified that this Miniproject report “FOOD ORDERING


SYSTEM” is the bonafide work of “P.V.GAYATHRI(1612034),
S.KAVITHA(1612048), S.KEERTHANA(1612049)” who carried out the project
work under my supervision.

SIGNATURE

Mr.K.RAJKUMAR M.E.,
ASSITANT PROFESSOR

Dept. of Computer Science and Engineering

NATIONAL ENGINEERING COLLEGE

K.R.NAGAR, KOVILPATTI- 628 503

INTERNAL EXAMINER CO-EXAMINER

Page ii of 15
TABLE OF CONTENT

CHAPTER TOPIC PAGE NUMBER


NUMBER
ABSTRACT 2
1 1.1 INTRODUCTION TO HTML 5
1.2 INTRODUCTION TO CSS 6
1.3 INTRODUCTION TO JAVASCRIPT 6
1.4 INTRODUCTION TO WAMP SERVER 7
2 2.1 INTRODUCTION 7
2.2 SOFTWARE REQUIREMENT 7

2.3 THE EXISTING SYSTEM 7


2.4 OBJECTIVES OF PROPOSED SYSTEM 8
2.5 SYSTEM DESIGN 9
2.6 FEEDBACK 9
3 3.1 HTML CODE 10
3.2 PHP CODE 12
3.3 SCREEN SHOTS 14
3.4 CONCLUSION 16

ABSTRACT
Increased demand of restaurant-goers generated the need for much attention
for the hospitality industry. Providing much option with ease of ordering and

Page iii of 15
delivering is the need of the hours. Technological interference has become
mandatory to improve the quality of the service and business in this industry.
Evidences are already existed for partial automation of food ordering process in the
country; most of these technologies implemented are based on wireless
technologies. This manuscript reports implementation and integration of web based
technology for restaurants. A dynamic database utility system was designed to
fetch all the information from a centralized database. User utility was given
importance during the development of this interface and efficiency, accuracy was
the priority for better results and services and to reduce the majority of the human
error. It was observed that this system was successful in overcoming the
shortcomings found in the previously developed similar systems. Moreover, this
system was very cost effective in development as well as during use.

1.1 INTRODUCTION TO HTML:

Hyper Text Markup Language, commonly abbreviated as HTML, is the


standard markup language used to create web pages. Along with CSS,
and JavaScript, HTML is a cornerstone technology used to create web pages, as
well as to create user interfaces for mobile and web applications. Web
browsers can read HTML files and render them into visible or audible web pages.
HTML describes the structure of a website semantically and, before the advent of
Cascading Style Sheets (CSS), included cues for the presentation or appearance of
the document (web page), making it a markup language, rather than
a programming language.

1.2 INTRODUCTION TO CSS:

Page iv of 15
Cascading Style Sheets (CSS) is a style sheet language used for describing
the presentation of a document written in a markup language. Although most often
used to set the visual style of web pages and user interfaces written
in HTML and XHTML, the language can be applied to any XML document,
including plain XML, SVG and XUL, and is applicable to rendering in speech, or
on other media. Along with HTML and JavaScript, CSS is a cornerstone
technology used by most websites to create visually engaging web pages, user
interfaces for web applications, and user interfaces for many mobile applications.

1.3 INTRODUCTION TO Java Script:

JavaScript is a high-level, dynamic, untyped , and interpreted programming

language. It has been standardized in the ECMAScript language specification.

Alongside HTML andCSS, it is one of the three core technologies of World Wide

Webcontent production; the majority of websites employ it and it is supported by

all modern Web browsers without plug-ins. JavaScript is prototype-

based with first-class functions, making it a multi-paradigm language,

supporting object-oriented, imperative, and functional programming styles. It has

an API for working with text, arrays, dates and regular expressions, but does not

include any I/O, such as networking, storage, or graphics facilities, relying for

these upon the host environment in which it is embedded.

1.4 INTRODUCTION TO WAMP SERVER:

Page v of 15
Wamp Server refers to a software stack for the Microsoft Windows operating
system, created by Romain Bourdon and consisting of the Apache web
server, OpenSSL for SSL support, MySQL database and PHP programming
language.

2.1 INTRODUCTION:

This chapter gives a brief description about the methodologies used


for designing this system.

2.2 SOFTWARE REQUIREMENTS:

Language : HTML, CSS, Java Script

Operating System : Windows XP Professional

Front end : HTML With Java Script

Back end: Wamp Server

2.3 THE EXISTING SYSTEM

The existing system happens to be a non computerized operating system


were alloperations are done manually by the waiter carrying paper and to take
down theorder of the customer or making an order over the counter. This leads to
mistakesbecause the waiter might not understand what the customer had ordered
thereforeserving him/her a different menu. This could be so embarrassing because
thecustomer might not take it lightly with the waiter which may lead to
misunderstanding

2.4 OBJECTIVES OF THE PROPOSED SYSTEM

Page vi of 15
The proposed system is developed to manage ordering activities in fast
foodrestaurant. It helps to record customer submitted orders. The system should
cover the following functions in order to support the restaurant’s business process
forachieving the objectives:
1.To allow the customer to make order, view order and make changes
beforesubmitting their order and allow them make payment through
prepaymentcard or credit card or debit card.
2.To provide interface that allows promotion and menu.
3.To prevent interface that shows customers’ orders detail to front-end and
kitchen staffs for delivering customers’ orders
4.Tools that generate reports that can be used for decision making.
5. A tool that allows the management to modify the food information such
asprice, add a new menu and many others as well as tools for managing
user,system menu and promotion records

2.5 SYSTEM DESIGN:

Page vii of 15
2.6 FEEDBACK:

In this form, we need to fill the information about themselves. We need to


give the mail-id, name, our comments ( i.e)the benefits and the drawbacks about
the site. After clicking order now, a message will be displayed. Our feedbacks are
save for the improvement of the site.

Page viii of 15
CODING FOR FOOD ORDERING SYSTEM:

3.1 HTML CODE:

<html>

<head>

<title>PHP</title>

</head>

<body bgcolor="Wheat">

<marquee bgcolor="DarkSalmon"><h2
style=color:DarkOliveGreen;"><b>WELCOME TO FABULOUS
HOTEL</b></h2></marquee>

<h3 style=color:DarkViolet;"><b>FOOD ORDERING SYSTEM</b></h3>

<form action="11.php" method="post">

<font color="Crimson">

Name:<input type="text" name="name"><br><br>

email:<input type="text" name="email"><br><br>

Address:<br>

<textarea rows="3" cols="30" name="address" id="address"></textarea><br>

Mobile:<input type="text" name="mobile"><br><br>

Page ix of 15
veg:<select name="veg">

<option value="meals">meals</option>

<option value="idly">idly</option>

<option value="Dosa">Dosa</option>

<option value="pongal">pongal</option>

<option value="chappathi">chappathi</option>

<option value="poori">poori</option>

<option value="none">none</option>

</select><br><br>

Non_veg:<select name="non_veg">

<option value="Chicken Biriyani">Chicken Biriyani</option>

<option value="Mutton Biriyani">Mutton Biriyani</option>

<option value="prawn Biriyani">prawn Biriyani</option>

<option value="Crab Biriyani">crab Biriyani</option>

<option value="parotta">parotta</option>

<option value="Chicken Fried rice">Chicken Fried rice</option>

<option value="none">none</option>

</select><br><br>

Veg_Quantity:<input type="text" name="veg_quantity"><br><br>

Non-Veg_Quantity:<input type="text" name="non_veg_quantity"><br><br>

Page x of 15
Delivering_Type:<br><input type="radio" name="delivering_type"
value="fast">Fast<br>

<input type="radio" name="delivering_type"


value="superfast">superfast<br><br>

Feedback:<br>

<textarea rows="3" cols="30" name="feedback"


id="address"></textarea><br><br>

<input type="submit" name="submit" value="ORDER NOW">

</form>

</body>

</html>

3.2 PHP CODE:

<?php

mysql_connect("localhost","root","") or die ("not connected");

mysql_select_db("fabu")or die("no db found");

if(isset($_POST['submit'])){

$name=$_POST['name'];

$email=$_POST['email'];

$address=$_POST['address'];
Page xi of 15
$mobile=$_POST['mobile'];

$veg=$_POST['veg'];

$non_veg=$_POST['non_veg'];

$veg_quantity=$_POST['veg_quantity'];

$non_veg_quantity=$_POST['non_veg_quantity'];

$delivering_type=$_POST['delivering_type'];

$feedback=$_POST['feedback'];

$query="insert into
foo(name,email,address,mobile,veg,non_veg,veg_quantity,non_veg_quantity,deliv
ering_type,feedback)values('$name','$email','$address','$mobile','$veg','$non_veg','
$veg_quantity','$non_veg_quantity','$delivering_type','$feedback')";

if(mysql_query($query))

echo "<h2>THANK YOU FOR ORDERING.....!!!!!</h2>";

echo "<h2>YOUR FOOD WILL REACH YOU SOONNNNN!!!.....</h2>";

?>

3.3 SCREENSHOTS:
Page xii of 15
Page xiii of 15
Page xiv of 15
3.4 CONCLUSION:
In this fast moving life where people don't have time to shop
manually, online shopping has emerged as a time saving and convenient
way of shopping. Thus, Online Food Ordering System has become a
boon for the restaurant owners who do not want their customers to move
away just because of the scarcity of time. Customer is the king for every
business and no body wants to loose the profitable customers. The online
food ordering system provides various features to your customers so as
to keep in the list of your 'regular customers'.Customers can enjoy the
convenience of ordering food online while sitting at their homes/offices.
This results in a comfort for both restaurant owners as well as their
customers as there is no more annoying phone call or pamphlet/brochure
based food ordering.

Page xv of 15

You might also like