Professional Documents
Culture Documents
CHAPTER 1
INTRODUCTION
A database management system (DBMS) refers to the technology for creating and
managing databases. Basically DBMS is a software tool to organize (create .retrieve, update
and manage) data in a database.
The main aim of a DBMS is a to supply a way to store up and retrieve
database information that is both convenient and efficient. By data, we mean known facts
that can be recorded and that have embedded meaning. Normally people use software
such as DBASE IV or V, Microsoft ACCESS , or EXCEL to store data in the form of
database.
Database systems are meant to handle large collection information .
management of data involves both defining structures for storage of information and
providing mechanisms that can do the manipulation of those stored and providing
database system must ensure the safety of the information stored ,despite system crashes
or attempt at unauthorized access.
1.2. History
Following the technology progress in the areas of processors, computer memory,
computer storage, and computer networks, the sizes, capabilities, and performance of
databases and their respective DBMSs have grown in orders of magnitude. The
development of database technology can be divided into three eras based on data model
or structure: navigational, SQL/relational, and post-relational.
The two main early navigational data models were the hierarchical model,
epitomized by IBM's IMS system, and the CODASYL model (network model),
implemented in a number of products such as IDMS.
The relational model, first proposed in 1970 by Edgar F. Codd, departed from
this tradition by insisting that applications should search for data by content, rather than
by following links. The relational model employs sets of ledger-style tables, each used
for a different type of entity.
By the early 1990s, however, relational systems dominated in all large-scale data
processing applications, and as of 2015 they remain dominant: IBM DB2, Oracle,
MySQL, and Microsoft SQL Server are the top DBMS. The dominant database language,
standardized SQL for the relational model, has influenced database languages for other
data models.
Object databases were developed in the 1980s to overcome the inconvenience of
object-relational impedance mismatch, which led to the coining of the term
"post-relational" and also the development of hybrid object-relational databases.
The next generation of post-relational databases in the late 2000s became known as
NoSQL databases, introducing fast key-value stores and document-oriented databases. A
competing "next generation" known as New SQL databases attempted new
implementations that retained the relational/SQL model while aiming to match the high
performance of NoSQL compared to commercially available relational DBMS.
Nowadays DBMS are used in almost all the areas ranges from science, engineering,
medicine, business, industry, government, art, entertainment, education and training .
DBMS in Banking
We make thousands of transactions through banks daily and we can do this without going
to the bank. That is all possible just because of DBMS that manages all the bank transactions.
Examinations are done online today and universities and colleges maintain all these
records through DBMS. Student’s registrations details, results, courses and grades all the
information are stored in database.
Online shopping has become a big trend of these days. No one wants to go to shops and
waste his time. Everyone wants to shop from home. So all these products are added and sold
only with the help of DBMS. Purchase information, invoice bills and payment, all of these
are done with the help of DBMS.
DBMS in Military
Military keeps records of millions of soldiers and it has millions of files that should be
keep secured and safe. As DBMS provides a big security assurance to the military
information so it is widely used in militaries. One can easily search for all the information
about anyone within seconds with the help of DBMS.
DBMS in Telecommunications
Any telecommunication company cannot even think about their business without DBMS.
DBMS is must for these companies to store the call details and monthly post paid bills.
CHAPTER 2
EXISTING SYSTEM
The current system is paper based. Papers are used in restaurants for displaying the
traditional menu cards, writing down the orders of customers, storing the records of
customers. The disadvantages of paper based system are that papers can get easily damaged
by stain marks; they can be lost due to fire or accidents or can get lost in general.
Hence, time and money is wasted. As traditional menu cards are paper based, any
changes that need to be made in the menu will require reprinting of the entire menu card,
leading to wastage.
For small changes, reprinting the entire menu card is impossible. Changes in the menu
card cannot be made dynamically. It is inefficient to access a particular record from the stack
of papers. This system is time consuming. One has to call a waiter number of times till he
notices it, and wait for him to arrive at their table to take their order.
Also the waiter can misinterpret the customer’s order since he is writing the order on
paper, and the case of serving a wrong dish is possible. · For placing any orders customers
have to visit hotels or restaurants to know about food items and then place order and pay. In
this method time and manual work is required. · While placing an order over the phone,
customer lacks the physical copy of the menu item, lack of visual confirmation that the order
was placed correctly. ·
Every restaurant needs certain employees to take the order over phone or in-person,
to offer a rich dining experience and process the payment. In today’s market, labor rates are
increasing day by day making it difficult to find employees when needed.
2.2 OBJECTIVES
To develop android application for restaurant ordering system and provides facility to
update menu.
To develop a software at kitchen and cashier to receive order from server.
To establish network for kitchen , cashier and android device and print the bill a
customer side.
Customer should be able to the feedback about the service and the food served by
e-restaurant android applications.
2.3 MODULES
Module 1: Login Module In login module the customer and restaurants login will be
taken while they already registered on the application. Every manager/user will have
login id and password to login to the application.
·
Module 2: Registration Module This module is displayed to the visitors if they need to
perform some order placements, and new registration for restaurants who wants to do
business with us on our online restaurant management application.
·
Module 3:Add/Update/remove Menu This module is for admin. Admin have rights to
insert, update (modify) and delete the data in database as per his/her necessary
requirements.
Module 4:Account Management Module There will be an account manager who will
manage all the online order transaction and he/she will be responsible for issuing printed
copy of customers payment receipts.
Module 5: Station Tracking Module This module describes the current location of any
particular area over the usage of internet connectivity and GPS. This module is useful to
find the location of order placed and for estimated time delivery.
·
Module 6: Place Order Module The activity is performed by customer itself whose
registration is already done. Once the verification is done by application, the order gets
confirmed and delivery will be given to the dedicated customers address.
·
Module 7: Carting Module This is additional feature given to add the food items in
customer’s virtual basket just like pending orders or the orders which customer wants to
do later. But, if the customer is first time visiting then he/she will unable to place order
until he/she do registration to our application.
·
Module 8: Order Manage Module In case, the customer come to know that the food or
service of restaurant is not good and estimated delivery time is too much as expected
then he/she can manage his/her orders under order manage module.
·
Module 9: Messaging Module The private window for conversation between customer
and customer executives will be given inside the application where they can ask about
any kind of queries to the executives 24/7.
Module 10: Logout Module The last module describes that after placing order or
performing some actions on the application the customer will click logout profile.
2.4 REQUIREMENTS
Hardware Requirements
Software Requirements
CHAPTER 3
3.1 WORKING
Our main aim is to increase the efficiency of the food ordering and reduce human errors
and provide high quality services to the customers of the restaurants. The application on the
tablets must be able to communicate with the other devices.
firstly the customer or visitor will open the application and searches for food item menus
from nearby available location of customer. The customer sees the categorized menu card on
the android app. The selection of food items is done by person if he/she visiting our
application with or without login and registration module. At this stage, the registered and
non- registered persons can add food items in their shopping kart for temporary purpose.
If the customer wants to buy selected items then condition will be checked weather
customer login is done or not. If login is not done then application will force customer to
login first before ordering something. For performing all activities in project we will create
one database consists of all restaurants listed along with their daily food items and costs.
Once completing login task, the customer will place order from his nearest searched local
restaurants searched via server. After this the verification of customer order will be done by
making call given by customer at the time of login registration. After successful verification
admin will check is the order is confirmed by customer if not the whole Process begins from
start.
3.2 SCOPE OF THE PROJECT
Scope of the project in building a computerized system for silk route to handle billing
restaurant record was to handle to include the employees who are in the process of billing of
a customer storage of restaurant records and enables to view the records as desired. records.
The employees are given limited access in order to safe guard the privacy and security of
the records. The database in maintained in the whole project.
CONVERSION :
Step 1: Mapping of Regular Entity Types
For each regular (strong) entity type E in the ER schema, create a relation R that
includes all the simple attributes of E. Include only the simple component attributes of a
composite attribute. Choose one of the key attributes of E as the primary key for R. If the
chosen key of E is a composite, then the set of simple attributes that form it will together
form the primary key of R. If multiple keys were identified for E during the conceptual
design, the information describing the attributes that form each additional key is kept in
order to specify secondary (unique) keys of relation R. Knowledge about keys is also kept
for indexing purposes and other types of analyses.
Step 2: Mapping of Weak Entity Types
For each weak entity type W in the ER schema with owner entity type E, create a
relation R and include all simple attributes (or simple components of composite attributes)
of W as attributes of R. In addition, include as foreign key attributes of R, the primary key
attribute(s) of the relation(s) that correspond to the owner entity type(s); this takes care of
mapping the identifying relationship type of W. The primary key of R is the combination
of the primary key(s) of the owner(s) and the partial key of the weak entity type W, if any.
If there is a weak entity type E2 whose owner is also a weak entity type E1, then E1
should be mapped before E2 to determine its primary key first.
Step 3: Mapping of Binary 1:1 Relationship Types
For each binary 1:1 relationship type R in the ER schema, identify the relations S and
T that correspond to the entity types participating in R. There are three possible
approaches:
The first approach is the most useful and should be followed unless special conditions
exist, as we discuss below.
attributes (or simple components of composite attributes) of the 1:N relationship type as
attributes of S.
ROLES ASSIGNED:
The restaurant will be consisting of the employees working for different roles. This
application will also helps to maintain the information regarding it.
The restaurant management system allows the owner of the restaurant to manage all the
details of the employees without much effort.
It can also store the details of the available time and money for managing the
restaurant well.it can give some suggestions to managing the restaurant well and how to
run it smoothly and efficiency.
CHAPTER 4
DATABASE DESIGN
4.1 Database Tables
The database is very important for all the system, because if we want store any kind
of information related to the system then this can be done only when there is a database
created for the system. Usually database is used to store the information of all the users
which may include usernames and their passwords and so on. It is also helps to perform
crude operations. In this project database design did not included any primary key and
foreign key instead tables are created separately for storing the data and retrieving from
the database.
1.CUSTOMER TABLE
2.FOOD
3.MANAGER
4.ORDERS
5.RESTAURANT
email
email contact
email
Full name contact
R_ID name
name
User name username
contact
Restaurant
Manager Customer
HAS TELLS
address passwor
addre
CON d
address password GIVE ss
TAI S
M_ID NS
R_ID
quantity
name
ORDER_ID
date
description price
price F_ID
R_ID
F_NAME
CHAPTER 5
IMPLEMENTATION
if (isset($_POST['submit'])) {
if (empty($_POST['username']) || empty($_POST['password'])) {
$error = "Username or Password is invalid";
}
else
{
// Define $username and $password
$username=$_POST['username'];
$password=$_POST['password'];
// Establishing Connection with Server by passing server_name, user_id and
password as a parameter
require 'connection.php';
$conn = Connect();
// SQL query to fetch information of registerd users and finds user match.
$query = "SELECT username, password FROM CUSTOMER WHERE
username=? AND password=? LIMIT 1";
5.2 Screenshots.
4.About us page
5.contact us
6.Mail us
7.Food_items
8.Cart
9.customer payment
10.online payment
11.cash on delivery
12.manager work
FUTURE SCOPE
LIMITATIONS
CONCLUSION
The “ ONLINE RESTAURANT MANAGEMENT SYSTEM” is successfully
designed and developed to fulfill the necessary requirements, as identified in the
objectives. All the process are automated and systematically done consuming less
time.The users of the system also include employee who handle into related product
addition and assigning vehicle to placed the order.The system records the details in
MYSQL database so that it will be easy to retrieve later.The system will also
automatically calculate and displays the final bill so the bills will ready to print without
having any error because the information for that item is already inserted.