Professional Documents
Culture Documents
Online Restaurant Management
Online Restaurant Management
Submitted by
Tariq Qasim
BS-IT-20-13
2020-2024
Supervised by
Ma’am Sarah Bukhari
PAKISTAN
1
FINAL APPROVAL
This is to certify that we have read this report submitted by Tariq Qasim and it is our judgment that this
report is of sufficient standard to warrant its acceptance by Bahauddin Zakariya University, Multan for
the degree of BS-IT (Bachelor of Information Technology).
Committee:
2. Supervisor ________________
Ma’am Sarah
Department of Information Technology
Bahauddin Zakariya University, Multan
2
DEDICATION
To my Loving Parents,
Teachers and Friends
3
ACKNOWLEDGMENT
First of all, thanks to Allah Almighty for his utmost blessings upon me and granting me courage
and capability to complete the degree and especially this task. My sincere gratitude to my parents, family
members and friends; they prayed for me and helped me whenever I needed. I wish to express thanks to
my project supervisor for his constant motivation and valuable help during the project work. I also extend
my thanks to other faculty members of the Department of Computer Science for their cooperation
throughout my degree program.
Tariq Qasim
4
PROJECT BRIEF
PROJECT NAME: Online Property Management System
5
Table of Content
Chapter No. 1
Introduction
1. INTRODUCTION.................................................................................................................................10
1.1. MAIN THEME..................................................................................................................................10
1.2. SCOPE OF THE PROJECT..................................................................................................................10
1.2.1 Improving Operational Efficiency:.............................................................................................10
1.2.2 Increasing Revenue Generation:...............................................................................................11
1.2.3 Providing a Seamless User Experience for Clients and Staff:....................................................11
1.2.4 Ensuring Compliance with Legal Requirements:.......................................................................11
1.3. OBJECTIVES OF THE PROJECT..........................................................................................................12
1.4. DEFINITION, ACRONYMS................................................................................................................12
1.5. CONTEXT LEVEL DIAGRAM..............................................................................................................13
1.6. SPECIFIC REQUIREMENTS...............................................................................................................14
1.6.1. ADMIN ASPECTS......................................................................................................................14
1.6.2. CLIENT ASPECTS.......................................................................................................................14
1.6.3. BROKER ASPECTS.....................................................................................................................15
1.6.4. LEGAL ADVISOR ASPECTS.........................................................................................................15
1.7. PORTABILITY...................................................................................................................................16
1.7.1. CROSS-PLATFORM COMPATIBILITY..........................................................................................16
1.7.2. MOBILE-FRIENDLY INTERFACE.................................................................................................16
1.7.3. OPERATING SYSTEM INDEPENDENCE......................................................................................16
1.8. PERFORMANCE...............................................................................................................................17
1.8.1. FAST RESPONSE TIMES............................................................................................................17
1.8.2. SCALABILITY AND LOAD BALANCING.......................................................................................17
Chapter No. 2
System Analysis
2. SYSTEM ANALYSIS..............................................................................................................................19
2.1. OVERVIEW OF EXISTING SYSTEM....................................................................................................19
2.2. CHALLENGES WITH EXISTING SYSTEM............................................................................................19
2.3. DATA GATHERING & ANALYSIS.......................................................................................................20
2.4. REQUIREMENT ANALYSIS:...............................................................................................................20
6
2.4.1 Functional Requirements (FRs):................................................................................................20
2.4.2 Non-Functional Requirements (NFRs):......................................................................................21
2.4.3 Drawbacks of Existing System:..................................................................................................22
2.4.4 REQUIREMENTS DIAGRAM.......................................................................................................22
2.5. GANTT CHART.................................................................................................................................23
2.6. PIE DIAGRAM OF REMS...................................................................................................................24
2.7. FLOW CHARTS.................................................................................................................................24
2.7.1. BACKEND FLOW CHART...........................................................................................................24
2.7.2. FRONT-END FLOW CHART........................................................................................................25
2.8. DATA FLOW DIAGRAM (DFD):.....................................................................................................26
2.8.1. ZERO-LEVEL DATA FLOW DIAGRAM (0 LEVEL DFD)..................................................................27
Chapter No. 3
System Design
3. SYSTEM DESIGN.................................................................................................................................29
3.1. PROPOSED SYSTEM.........................................................................................................................29
3.2. OBJECTIVES OF THE PROPOSED SYSTEM........................................................................................29
3.3 SYSTEM DESIGN AND UML..............................................................................................................29
3.3.1. USE CASE DIAGRAM.................................................................................................................30
3.3.2 SEQUENCE DIAGRAM................................................................................................................31
3.3.3 CLASS DIAGRAM.......................................................................................................................33
3.4 DATABASE DESIGN...........................................................................................................................36
3.5 ENTITY RELATIONSHIP DIAGRAM (ERD)...........................................................................................37
3.6 DATABASE NORMALIZATION...........................................................................................................37
3.7 DATABASE TABLES...........................................................................................................................38
Chapter No. 4
System Development, Testing & Implementation
7
4.2.4. BOOKING MODULE..................................................................................................................44
4.2.5. PAYMENT MODULE.................................................................................................................44
4.2.6. LANDLORD MODULE................................................................................................................44
4.2.7. EMPLOYEES / BUSINESS ASSOCIATES MODULE.......................................................................44
4.2.8. PROJECT MODULE...................................................................................................................45
4.2.9. ENGINEER MODULE.................................................................................................................45
4.2.10. LEGAL ADVISOR MODULE......................................................................................................45
4.3. STATIC TESTING..............................................................................................................................46
Code Reviews:...................................................................................................................................46
Walkthroughs:...................................................................................................................................46
Inspections:.......................................................................................................................................46
4.4. IMPLEMENTATION..........................................................................................................................47
Installation and Configuration:..........................................................................................................47
Data Migration:..................................................................................................................................47
User Training:....................................................................................................................................47
Rollout and Deployment:...................................................................................................................47
Conclusion.............................................................................................................................................48
Reference..............................................................................................................................................49
8
Chapter 01
INTRODUCTION
9
1. INTRODUCTION
ORMS is a comprehensive web-based platform designed to centralize and streamline every
aspect of restaurant management. From order processing and inventory management to customer
relationship management, ORMS encompasses a wide range of functionalities aimed at
improving operational efficiency and enhancing customer satisfaction. One of the primary goals
of ORMS is to provide restaurant managers with the tools and insights they need to effectively
oversee their operations.
10
Optimize resource utilization: By providing real-time insights and analytics, ORMS
enables managers to allocate resources effectively, minimizing wastage and maximizing
productivity.
11
1.3. OBJECTIVES OF THE PROJECT
The primary objectives of the Online Restaurant Management System include:
Scalability: Developing a system that can easily adapt to the growing needs of a
restaurant, accommodating more features and functionalities as required.
ORMS (Online Restaurant Management System): A digital platform that manages all
aspects of restaurant operations, from customer interactions to backend processes.
12
UI (User Interface): The part of the system through which users interact with the
ORMS.
Backend: The server-side components of the ORMS that process data and perform core
functionalities.
13
1.6. SPECIFIC REQUIREMENTS
The successful implementation of an ORMS requires addressing specific needs across different
user roles, each with unique functions and requirements.
Administrators require robust control panels for overseeing all facets of the restaurant
operations. This includes the ability to:
Manage User Roles and Access: Admins must be able to assign roles, set permissions,
and manage access to sensitive data, ensuring that staff can only access information
pertinent to their duties.
Update Menu Items: Admins should be able to update the menu in real-time, reflecting
changes in availability and seasonality.
Reporting and Analytics: An integrated analytics tool that provides insights on sales
trends, customer behavior, and inventory levels is essential. For instance, a system might
track that 70% of orders are placed online during peak hours, indicating the need for a
streamlined online ordering system.
User-Friendly Interface: An intuitive online ordering interface that reduces the average
order placement time, which is crucial during busy hours.
Customization Options: Features that allow customers to customize their meals, such as
adding or removing ingredients, which increases customer satisfaction and can
potentially increase the average order value by 20%.
14
Feedback and Support: Easy access to leave feedback about their dining experience,
and a quick response feature for resolving any issues experienced during the order
process.
Brokers, or suppliers, need a streamlined process for inventory management and order
fulfillment, which includes:
Automated Inventory Updates: Automatic updates when stock levels are low, which
helps in maintaining a 30% reduction in wasted ingredients.
Legal advisors focus on ensuring that the system complies with all relevant laws and
regulations, such as:
Data Privacy Laws: Ensuring the system adheres to data protection regulations like
GDPR or CCPA, which mandate the safeguarding of customer information.
Employment Laws: Integration of features that help manage staff hours and payroll in
compliance with local labor laws, such as overtime calculations and minimum wage
compliance.
15
Health and Safety Standards: Features that support the tracking of health and safety
compliance in food storage and handling, critical for avoiding legal issues and
maintaining public trust.
1.7. PORTABILITY
Portability is crucial for the widespread adoption and efficient functionality of an Online
Restaurant Management System (ORMS). Ensuring that the system is accessible across different
platforms and devices enhances user experience and operational flexibility.
16
CSS3, and JavaScript, which are universally supported by modern web browsers. This approach
also simplifies updates and maintenance, as changes can be rolled out simultaneously across all
platforms without compatibility issues. Additionally, utilizing cloud-based servers for data
handling and storage can further enhance the system’s independence and scalability, reducing
operational costs by up to 40% and improving data recovery times by 50%.
1.8. PERFORMANCE
Performance is a critical component of an Online Restaurant Management System (ORMS),
impacting both user satisfaction and operational efficiency. High performance in terms of
response times and scalability ensures that the system can handle peak loads effectively while
providing a seamless experience for users.
17
Load balancing is another key aspect, distributing client requests efficiently across multiple
servers. This not only maximizes resource use but also ensures redundancy, reducing the risk of
downtime. For instance, load balancing can help handle up to 1,000 simultaneous user requests
without performance loss, critical during peak restaurant hours. Moreover, modern load
balancers can direct traffic to servers based on the current load, optimizing response times and
resource usage.
18
Chapter 02
SYSTEM ANALYSIS
19
2. SYSTEM ANALYSIS
In the modern era, where technology is reshaping various industries, including the food service
sector, the need for efficient and streamlined management systems in restaurants has become
more pronounced. This section aims to delve into a comprehensive analysis of an Online
Restaurant Management System (ORMS). We will explore the existing landscape, identify
challenges inherent in conventional systems, discuss techniques for data gathering and analysis,
and meticulously outline both functional and non-functional requirements. Additionally, we'll
touch upon various visualization tools like Gantt charts, pie diagrams, flowcharts, and data flow
diagrams that aid in understanding and planning.
20
2.3. DATA GATHERING & ANALYSIS
Understanding the limitations of the existing system and gathering requirements effectively
necessitates the use of various data gathering techniques, such as interviews, surveys, and
observation. Through meticulous analysis of gathered data, stakeholders can identify pain points,
user preferences, and system requirements crucial for designing a robust solution.
22
4. Scalability:
The system should be able to scale horizontally and vertically to accommodate
growth in user traffic and data volume.
Scalability should be achieved through load balancing, database sharding, and
other techniques.
5. Usability:
The user interface should be intuitive and easy to navigate for both clients and
admins.
Help documentation and tooltips should be provided to assist users in using the
system effectively.
6. Compatibility:
The system should be compatible with a wide range of devices and web browsers
to ensure accessibility for users.
Compatibility testing should be conducted to verify the system's performance
across different platforms.
1. Time Consuming and Tedious: Since exam are conduct by human resources so it is
very slow and tedious.
2. Huge Investment in Human Resources: As paper conduct manually so a lot of human
resources is required for conducting exam.
3. Less Reliable: Manual Exam system is less reliable as Exam may not performed with
precision each time because of human errors.
23
2.5. GANTT CHART
A Gantt chart is a valuable project management tool that provides a visual representation of a
project schedule. By depicting tasks, their start and end dates, and dependencies, Gantt charts aid
in project planning, resource allocation, and progress monitoring, thereby ensuring timely
completion of the project.
24
2.6. PIE DIAGRAM OF REMS
A pie diagram, or pie chart, can be used to visually represent various aspects of the Online
Restaurant Management System, such as the distribution of orders by category, revenue sources,
or customer demographics. This graphical representation helps stakeholders gain insights into
key metrics and trends, facilitating informed decision-making.
25
2.7.2. FRONT-END FLOW CHART
A front-end flow chart illustrates the user interaction flow, detailing the steps from order
placement to payment processing on the customer-facing interface. By visualizing the user
journey, stakeholders can identify potential bottlenecks and areas for improvement in the user
experience, thereby enhancing customer satisfaction.
26
2.8. DATA FLOW DIAGRAM (DFD):
Data Flow Diagrams provide a graphical representation of the flow of data within the system,
illustrating processes, data stores, and data movement. They help stakeholders understand the
interactions between various components of the system and identify opportunities for
optimization and refinement.
27
2.8.1. ZERO-LEVEL DATA FLOW DIAGRAM (0 LEVEL DFD)
The zero-level DFD provides a high-level overview of the system, depicting major processes and
data sources without delving into finer details. It serves as a foundation for developing more
detailed DFDs for individual system components, thereby ensuring a structured and systematic
approach to system design and development.
28
Chapter 03
SYSTEM DESIGN
29
3. SYSTEM DESIGN
System design is a critical phase in the development of any software system, including an Online
Restaurant Management System (ORMS). This section outlines the proposed system
architecture, objectives, and design using Unified Modeling Language (UML). It further delves
into database design, including entity-relationship diagrams (ERD), normalization, and database
tables.
30
represent various aspects of system design, including use case diagrams, sequence diagrams, and
class diagrams.
31
3.3.2 SEQUENCE DIAGRAM
Sequence diagrams depict the interactions between objects or components within the system over
time, showcasing the flow of messages and responses.
32
3.3.2.2. Sequence diagrams for Admin-User Interaction in REMS
These diagrams detail the interactions between administrators and users, including tasks such as
user management, menu updates, and reporting.
33
3.3.2.4. Sequence diagrams for Ordering Food by client/user in REMS
These diagrams outline the process of ordering food by clients or users, including reservation
requests, availability checks, and confirmation.
34
3.3.3.1. Class Diagram for REMS
This diagram outlines the main classes and their relationships within the Online Restaurant
Management System, including users, orders, inventory items, and payment transactions.
35
3.3.3.2. Class Diagram for client-restaurant relation
This diagram illustrates the relationship between clients and properties, detailing attributes such
as property type, location, and availability.
36
3.3.3.3. Class Diagram for restaurant and menu
This diagram showcases the relationships between users, properties, booking reservations, and
landlords, defining attributes and associations between them.
38
rows representing individual instances of the entity. For an ORMS, typical database tables would
include tables for users (e.g., customers, staff, administrators), orders, inventory items, payments,
menus, and so on.
In the context of an ORMS, the database tables would be designed to efficiently store and
manage various aspects of restaurant operations, such as customer information, order details,
inventory levels, menu items, pricing, and transaction history. Each table would be appropriately
normalized to minimize redundancy and dependency, ensuring data integrity and facilitating
efficient data retrieval and manipulation.
Admin Table:
39
User Table:
Categories Table:
Food Table:
40
description varchar(250) NOT NULL
Orders Table:
41
Chapter 04
42
4. SYSTEM DEVELOPMENT, TESTING & IMPLEMENTATION
In the journey of developing an Online Restaurant Management System (ORMS), understanding
the system development process, meticulous testing, and smooth implementation are paramount.
This section navigates through the introduction to system development, tool and language
selection, and highlights the importance of HTML5, CSS, JavaScript, PHP, MySQL, and
XAMPP Server in building a robust ORMS.
CSS is used to style HTML elements, controlling the layout, colors, fonts, and other visual
aspects of a web page. It enhances the user experience by making web pages visually appealing
and responsive.
4.1.1.3. JavaScript
JavaScript is a versatile programming language that adds interactivity and dynamic behavior to
web pages. It enables developers to create interactive forms, manipulate DOM elements, and
handle user events, enhancing the functionality of web applications.
4.1.1.4. PHP
43
PHP is a server-side scripting language widely used for web development. It allows developers
to create dynamic web pages, interact with databases, handle form data, and perform various
server-side tasks.
4.1.1.5. MySQL
44
5. Test Case: Verify that the client can track the status of their orders.
45
4.2.7. EMPLOYEES / BUSINESS ASSOCIATES MODULE
1. Test Case: Verify that employees can log in to the system with valid credentials.
2. Test Case: Verify that employees can view their assigned tasks and deadlines.
3. Test Case: Verify that employees can update task statuses and provide progress updates.
4. Test Case: Verify that business associates can register for an account with valid details.
5. Test Case: Verify that business associates can log in to the system with valid credentials.
46
4.3. STATIC TESTING
Static testing involves reviewing and analyzing software artifacts without executing the code. It
aims to identify defects, errors, and inconsistencies early in the development process, thereby
reducing the cost and effort of fixing them later. Common techniques used in static testing
include code reviews, walkthroughs, and inspections.
Code Reviews:
Objective: To identify code defects, ensure adherence to coding standards, and promote
code quality.
Process: Peer developers review the code line by line, looking for errors, inefficiencies,
and opportunities for improvement.
Benefits: Early detection of defects, knowledge sharing among team members, and
improved code quality and maintainability.
Walkthroughs:
Objective: To gain an understanding of the software requirements, design, and code
implementation.
Process: The development team walks through the software artifacts, such as
requirements documents, design diagrams, and code files, discussing their features,
functionality, and potential issues.
Benefits: Improved clarity and understanding of the system, identification of ambiguities
and inconsistencies, and alignment of stakeholders' expectations.
Inspections:
Objective: To systematically examine software artifacts for defects, deviations from
standards, and opportunities for improvement.
Process: A formal inspection meeting is conducted with a defined agenda and roles,
where team members thoroughly examine the artifacts, document defects, and propose
corrective actions.
Benefits: Rigorous defect detection, adherence to quality standards, and continuous
process improvement.
47
4.4. IMPLEMENTATION
Implementation is the process of deploying the developed system into the production
environment, making it accessible to users. It involves several steps, including installation,
configuration, data migration, and user training. A well-planned implementation strategy ensures
a smooth transition from development to production and minimizes disruptions to business
operations.
Data Migration:
Objective: To transfer existing data from legacy systems or previous versions of the
software to the new system.
Process: Extract data from the source systems, transform it as needed, and load it into the
target database of the ORMS.
Considerations: Data integrity, accuracy, completeness, data mapping, and data
validation.
User Training:
Objective: To familiarize users with the features, functionality, and usage of the ORMS.
Process: Conduct training sessions for administrators, staff members, and end-users,
covering topics such as system navigation, order processing, inventory management, and
reporting.
Considerations: Tailored training materials, hands-on exercises, ongoing support, and
feedback mechanisms.
48
Rollout and Deployment:
Objective: To make the ORMS available to users and ensure a seamless transition from
the old system to the new one.
Process: Gradually deploy the ORMS to different user groups or locations, monitor
system performance and user feedback, and address any issues or concerns promptly.
Considerations: Phased rollout, contingency plans, communication strategies, and user
acceptance testing.
Conclusion
The primary objective of this project was to design and implement a comprehensive system that
streamlines the myriad functions of a restaurant, encompassing aspects ranging from inventory
management to customer engagement, in a seamless online platform. Leveraging cutting-edge
technologies such as cloud computing, data analytics, and user-centric design principles, the
ORMS has demonstrated unparalleled efficiency and effectiveness in addressing the multifaceted
challenges faced by restaurant owners and managers.
One of the most significant contributions of this project lies in its emphasis on enhancing
operational efficiency and optimizing resource utilization. By automating routine tasks,
optimizing inventory levels, and providing real-time insights into key performance indicators,
the ORMS empowers restaurant personnel to focus their efforts on delivering exceptional dining
experiences to patrons, thereby fostering customer satisfaction and loyalty.
49
channels, the system facilitates deeper engagement with customers, fostering lasting
relationships that extend beyond individual transactions.
Moreover, the scalability and flexibility inherent in the design of the ORMS ensure its
adaptability to the evolving needs and dynamics of the restaurant industry. Whether it be a small-
scale bistro or a large-scale franchise, the modular architecture of the system enables seamless
customization and expansion, thereby accommodating the diverse requirements of
establishments across the culinary spectrum.
Nevertheless, it is important to acknowledge that the success of the ORMS is contingent upon
the collaborative efforts of stakeholders at various levels, including restaurant owners, managers,
staff, and customers. As such, ongoing support, feedback, and iteration are essential to the
continued evolution and refinement of the system, ensuring its relevance and efficacy in an ever-
changing landscape.
In essence, the Online Restaurant Management System encapsulates the fusion of tradition and
innovation, craftsmanship and technology, to usher in a new era of culinary excellence and
operational excellence. As restaurants continue to adapt to the digital paradigm, the ORMS
serves as a beacon of inspiration and a blueprint for the transformative potential of technology in
redefining the gastronomic experience.
Reference
50