Project Document Sample
Project Document Sample
1. INTRODUCTION
The Food Order Management System is a web-based tool created to help
restaurants manage their daily operations. Built with PHP, HTML, CSS and JavaScript, and
powered by a MYSQL database, this system is designed to make the process more efficient.
With this system, admin can easily manage the orders, organize categories of
restaurants and keep track of payment. It also helps with processing sales by recording transactions
accurately and generating receipts. The system's user-friendly design ensures that both users and
admin can use it with ease.
The Food Order Management System is a tool that saves time and reduces
errors. It’s a scalable solution that can grow with the business, ensuring long-term reliability and
effectiveness.
2. SYSTEM STUDY
Present system is manual. People have to visit the Restaurant to have food. The records are
stored manually.
The following are the disadvantages of the existing system:
• Need of more resources to maintain efficiency since all processes are manual
• Requires more man power
• There are chances for the waiters to forget customer’s order.
• It is more time consuming
• There are chances that the user problems may not be solved since there is no monitoring.
The existing manual system is replaced to a web application changing the way of maintaining
the management which proves to be beneficial, improves efficiency and saves time.
The following are the advantages of the proposed system:
• The customers can register easily from anywhere at any time
• Previous orders can be viewed in need of time
• There is no chance for the orders to be unsolved since the progress are monitored
The project titled as “FOOD ORDER MANAGEMENT SYSTEM” is a web based application
which provides facilities for ordering food, view orders and search for desired restaurants.
Maintenance of all data using pen and paper is a tedious job. So to reduce the manual effort, the
“FOOD ORDER MANAGEMENT SYSTEM” will be of great help. This software has different
modules which enhances the proper working of the system and they are
▪ Admin
▪ User
ADMIN MODULE
USER MODULE
• Book an order.
• View the status of the order and can cancel the pending order.
• Manage profile.
• View available restaurants
• Make payment.
3. SYSTEM ANALYSIS
3.1 REQUIREMENTS SPECIFICATION
HARDWARE REQUIREMENTS
Processor : Intel
Hard disk : 40 GB
SOFTWARE REQUIREMENTS
A feasibility analysis is conducted to decide if the solution considered to meet the criteria is
feasible and workable in the software. During the feasibility study, information such as resource
availability, cost estimates for software production, advantages of the software to the enterprise after
its development, and cost to be expended on its maintenance is determined. The feasibility study
aims to ascertain why developing software is appealing to users, adaptable to change, and compliant
with applicable requirements. The system has been tested for feasibility in the following points:
• Technical Feasibility
• Operational Feasibility
• Economic Feasibility
TECHNICAL FEASIBILITY
Technical feasibility evaluates the available infrastructure (such as hardware and software)
and technologies needed to meet the user needs of software under time and budget constraints. The
following are the activities often performed by technical feasibility.
Examines whether there are technical guarantees of accuracy, reliability, ease of
access and data security.
Determines whether the application infrastructure is well-established.
OPERATIONAL FEASIBILITY
The proposed system is beneficial only if it can be turned out into information system which
will meet the operating requirements of the organization. The extent to which the required software
completes a sequence of steps to address challenges and requirements of the developer and users
respectively is measured by operational viability. The following are the operations carried out by
operational feasibility:
This Food Order Management System would ensure the optimal utilization of computer
resources and would help in the improvement of performance status.
ECONOMIC FEASIBILITY
A system can be developed technically and that will be used if installed must still be a good
investment for the organization. Economic feasibility needs to consider the expenses made on
purchasing, such as hardware purchasing and required activities to carry out software development.
It is also necessary to consider the benefits that can be achieved by developing the software. Software
is economically feasible when it focuses on the issues listed below.
This system is economically feasible. Since this system is developed using the existing
resources and technologies, there is nominal expenditure which ensures the economic feasibility of
the system.
4. SYSTEM DESIGN
4.1 ARCHITECTURAL DESIGN
ADMIN USER
Add/View
Restaurants Make payment
DFD Level 0
Admin
Food Order
Database
Management System
User
DFD Level 1
INDEX PAGE
Easy to Order
Icon
Icon
Choose a restaurant Pick up or Delivery
Icon
Choose a dish
RESTAURANTS
List of restaurants are displayed here and we can view the menu
using this button
View menu
Your Cart
Menus are displayed in detail Number of
and the rate of the food also item to add
TOTAL
displayed
Rs 0 Add to cart
Free Delivery!
Checkout
Login
User-name
Delivery Address
Register
Admin Panel
Profile
image
Username
Password
Login
ADMIN PAGE
= Admin
= Admin
Dashboard
List of User details are displayed here we can edit and
Log manage the details
Users
Restaurants
s
Menu
Order
s
= Admin
Dashboard Category
Log
Users Save Cancel
Restaurants
All Restaurants Listed Categories
Add Category List of Categories are displayed here we can edit and
Add Restaurants manage the categories
Menu
Order
s
= Admin
= Admin
ADD MENUES
= Admin
Log
Price Image
Users
Restaurant Select Restaurant
Menu -- Select Restaurant --
All Menues
Add Menues Save Cancel
Order
s
ORDER PAGE
= Admin
Home
Dashboard
List of users, dishes, quantity, prices, address of the
Log user, status of the food order and user registered date
are displayed here and Admin can manage the status
Users
of the food order
Restaurant
Menu
Order
s
Your Cart
Menus are displayed in detail Number of
and the rate of the food also item to add
TOTAL displayed
Rs 0 Add to cart
Free Delivery!
Checkout
PAYMENT PAGE
Cart Summary
Total Price
Online payment
Order Now
4.5 NORMALIZATION
✓ And, it should not have Partial Dependency. Partial Dependency occurs when a
5. SYSTEM TESTING
• Unit testing
• Integration testing
• Validation testing
• Output testing
UNIT TESTING
This is the first level of testing. In this different modules are tested against the
specification produced during the design of the modules. Unit testing is done for the
verification of code produced during the coding of single program module in an isolated
environment. Unit testing first focuses on the modules independently of one another to
locate errors.
INTEGRATION TESTING
After the modules are tested individually, they must be tested in combination with
each other to be sure that the interfaces are correct. This is known as integration testing.
Hence, we consider interfacing of various modules. Thus in the integration testing step, all
the errors uncovered are corrected for the next testing steps.
VALIDATION TESTING
Validation testing gives the final assurances that the software meets all functional,
behavioural and performance requirements. The software is completely assembled as a
package. Validation succeeds when the software functions in a manner in which the user
expects. Validation refer to the process of using software in a live environment in order to
find errors. If the password was given wrongly by users then it shows the check password
error. Then if the username and password are not typed correct then it shows check
username and password error. In the field, food quantity if the customers type any
character other than numbers then it displays a warning message to give only numbers.
OUTPUT TESTING
After performing the validation testing the next step is output testing of the proposed
system since no system could be useful if it does not produce the required output generated
or considered into two ways, one is on screen and another is printed format. The output
formation the screen is found to be correct as the format was designed in the system design
phase according to the user needs. If the user gives their correct username and password
then it logins to the corresponding page.
User acceptance of a system is the key factor for the success of any system. The
system under consideration is tested for user acceptance by constantly keeping in touch
with the prospective system users at the time of developing and making changes where
required.
RANGE VALIDATION
The Range Validator does exactly what the name implies; it makes sure that the user
input is within a specified range. It is used to validate numbers, strings and dates, which can
make it useful in a bunch of cases. In this project, range validator is assigned for checking
phone numbers.
6. USER MANUAL
If the browser shows the PHP version and other things, it means the PHP is successfully
installed.
7. SYSTEM IMPLEMENTATION
The standard PHP interpreter, powered by the Zend Engine, is free software released under
the PHP license. PHP has been widely ported and can be deployed on most web servers on
almost every operation system and platform, free of charge.
The PHP language evolved without a written formal specification or standard until 2014,
with the original implementation acting as the de facto standard which other implementations
aimed to follow PHP specification.
Loosely typed language: PHP encourages the use of variables without declaring its data
types. So this is taken care at the execution time depending on the value assigned to the
variable. Even the variable name can be changed dynamically.
Flexibility: PHP is known for its flexibility and embedded nature as it can be well integrated
with HTML, XML, Java script and many more. PHP can run on multiple operating systems
like Windows, Unix, Mac OS, Linux, etc. The PHP scripts can easily run on any device like
laptops, mobiles, tablets, and computer. It is very comfortably integrated with various
Databases. Desktop applications are created using advanced PHP features. The executable
PHP can also be run on command-line as well as directly on the machine. Heavyweight
applications can be created without a server or browser. It also acts as an excellent interface
with relational databases.
Open Source: All PHP frameworks are open sources, No payment is required for the users
and its completely free. User can just download PHP and start using for their applications
or projects. Even in companies, the total cost is reduced for software development providing
more reliability and flexibility. It supports a popular range of databases like MySQL,
SQLite, Oracle, Sybase, Informix, and PostgreSQL
Error reporting and exceptions: PHP supports more errors reporting constants to generate
errors and relevant warning at runtime. For example, E_ERROR, E_WARNING,
E_PARSE, E_STRICT.
Active community support: PHP is very rich with many diverse online community
developers to help beginners for web-based applications. These worldwide volunteers
contribute many features as well as new versions for PHP libraries. Even they contribute a
translation in different languages to help out programmers. There is a bundle of third-party
open-source libraries which provide basic functionalities. Even the documentation given by
the official site helps in implementing new features providing access to a variety of creative
imagination.
Maintenance: When dealing with big projects, maintenance of code is also an important
aspect of the web development process. There are many PHP frameworks for example
MVC (Model View Controller) which makes development and maintenance of code easier.
Files belonging to the different module are maintained separately.
PDO Class: PHP Data Objects are created by PDO class which gives a good abstraction
layer for database drivers. The PDO Classes are enriched with functions which are database
independent. It means the same functions are used for similar actions for different databases
without re-development as long as it supports PDO. In this way, the application becomes
more portable saving lot of time and effort. Use of PDO helps the application from SQL
injection attacks.
Memory and CPU usage information: PHP can provide memory usage information from
functions like memory_get_usage() or memory_get_peak_usage(), which can help the
developers optimize their code. In the similar way, the CPU power consumed by any script
can be retrieved for further optimization.
MySQL
MySQL is an open source relational database management system (RDMBS). It’s name
is a combination of “My”, the name of co-founder Michael Widenius’s daughter, and
“SQL”, the abbreviation for structured Query Language.
MySQL is free and open-source software under the terms of the GNU general public
license, and is also available under a variety of proprietary licenses. MySQL was owned
and sponsored by the Swedish company MySQL AB, which was bought by sun
Microsystems. In 2010 when oracle acquired sun, Widenius forked the open-source
MySQL project to create MariaDB.
MySQL is a component of the lamp web application software stack, which is an acronym
for Linux, Apache, MySQL, and Perl. MySQL is used by many database-driven web
applications, including drupal, joomla, phpBB, and Word Press. MySQL is also used by
many popular websites, including Google, face book, Twitter and You Tube. The main
features of MySQL includes
Easy to use: MySQL is easy to use. We have to get only the basic knowledge of SQL. We
can build and interact with MySQL by using only a few simple SQL statements.
It is secure: MySQL consists of a solid data security layer that protects sensitive data from
intruders. Also, passwords are encrypted in MySQL.
Free to download: MySQL is free to use so that we can download it from MySQL official
website without any cost.
8. FUTURE ENHANCEMENT
The project “Food Order Management System” can have the further updates.
• Payment module can be modified with multiple gateways for managing revenue and
providing hassle-free experience for users while ensuring transparency and accountability
in the financial aspect of delivery.
• Cash on delivery can be implemented and the application can be extended further by
connecting all the areas in the city.
9. CONCLUSION
The arrival of technology and the escalating use of internet have reduced our
burden of work. The orders can be posted and the status of those orders can be viewed
anywhere and at any time by the user. All the processes are transparent to the admin. In
comparison with the manual system, the benefit under a computer system is considerable
in saving man power, working hours and efforts.
Various validation techniques have been used to implement accuracy of data in all
formats of input. Updating of information becomes so easier. The system has produced all
the reports required for the management. It is concluded that the application works well
and satisfies the users.
The application is tested very well and errors are properly debugged. The project
works according to the restrictions provided to the users respectively. Further
enhancements can be made to the application, so that the “Food Order Management
System” can be functioned more efficiently than the present one.
10. BIBLIOGRAPHY
BOOK REFERENCES
WEBSITE REFERENCES
• www.tutorialspoint.com
• www.codexworld.com
• www.codecademy.com
• www.stackoverflow.com
11. APPENDIX
11.1 SAMPLE SCREEN LAYOUTS
INDEX PAGE
RESTAURANTS
VIEW MENU
PAYMENT PAGE
ADMIN DASHBOARD
index.php
<!DOCTYPE html>
<html lang="en" >
<?php
include("../connection/connect.php");
error_reporting(0);
session_start();
if(isset($_POST['submit']))
{
$username = $_POST['username'];
$password = $_POST['password'];
if(!empty($_POST["submit"]))
{
$loginquery ="SELECT * FROM admin WHERE username='$username' &&
password='".md5($password)."'";
$result=mysqli_query($db, $loginquery);
$row=mysqli_fetch_array($result);
if(is_array($row))
{
$_SESSION["adm_id"] = $row['adm_id'];
header("refresh:1;url=dashboard.php");
}
else
{
echo "<script>alert('Invalid Username or Password!');</script>";
}
}
}
?>
<head>
<meta charset="UTF-8">
<title>Admin Login</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css">
<link rel='stylesheet prefetch'
href='https://fonts.googleapis.com/css?family=Roboto:400,100,300,500,700,900'>
<link rel='stylesheet prefetch' href='https://fonts.googleapis.com/css?family=Montserrat:400,700'>