0% found this document useful (0 votes)
9 views12 pages

EventDriven 3A

The Restaurant Reservation System is designed to streamline table bookings in restaurants, providing an intuitive platform for customers and staff to manage reservations efficiently. It features functionalities for adding, updating, and deleting reservations, with a user-friendly graphical interface that connects to a MySQL database for persistent data storage. The system enhances operational efficiency and customer experience by ensuring real-time updates and validation of reservation data.

Uploaded by

joresapabalate65
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views12 pages

EventDriven 3A

The Restaurant Reservation System is designed to streamline table bookings in restaurants, providing an intuitive platform for customers and staff to manage reservations efficiently. It features functionalities for adding, updating, and deleting reservations, with a user-friendly graphical interface that connects to a MySQL database for persistent data storage. The system enhances operational efficiency and customer experience by ensuring real-time updates and validation of reservation data.

Uploaded by

joresapabalate65
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 12

Restaurant Reservation

System
Members:
Albert Ocampo
Antonio Emmanuel Serquillos
Jeia Jorolan
Joresa Pabalate
Introduction

The Restaurant Reservation System is designed to address the


challenges of managing table bookings in restaurants. This
system simplifies the reservation process for customers and staff
by offering an intuitive platform to book tables, check availability,
and manage customer reservations efficiently. Built using
Microsoft Visual Studio, the solution leverages robust
programming frameworks to ensure reliability and user-
friendliness.
Loading Reservations into the DataGrid

purpose: This method fetches all reservations from the database and populates the Reservations collection. The collection is then bound to the DataGrid
in the UI to display the reservation data. This ensures the data shown to the user is up-to-date with the database.
Adding a New Reservation

purpose: This event handler is triggered when the user clicks the "Add Reservation" button. It:

- Validates the input fields to ensure no invalid data is submitted.


- Inserts the new reservation into the database.
- Refreshes the reservation list and clears the input fields.
Updating an Existing Reservation

purpose: This method updates the details of a selected reservation. It ensures the updated information is applied to the correct reservation by using its
unique ID.
Deleting a Reservation

purpose: This method removes a reservation from the database based on the user's selection. It ensures only the selected reservation is deleted and
updates the UI to reflect the changes.
Validating Inputs

purpose: This method ensures the inputs provided by the user are valid before performing any database operation. It prevents empty or invalid data from
being added or updated.
Database Connection Helper

purpose: This helper method provides a reusable way to create and retrieve a connection to the database. It simplifies database interactions by
centralizing the connection logic.
Output

The output of this coding project is a Restaurant


Reservation Management System that provides a
graphical interface for users to manage reservations.
The user can add, update, and delete reservations
through the main window, which displays a DataGrid
containing reservation details such as customer name,
contact number, reservation date, and table number.
Upon adding a new reservation, the system displays a
success message and updates the DataGrid with the
new entry. Similarly, when updating or deleting a
reservation, the changes are reflected in real-time, and
the DataGrid updates accordingly. If a user attempts to
add or modify reservation data with missing or invalid
information, the system displays appropriate validation
messages. The application also ensures that changes
are stored persistently in a MySQL database, so
reservations remain accessible even after restarting the
application.
Data Base

The database in this project stores reservation


data in a MySQL database. It contains a table called
reservations with columns such as id,
customer_name, contact_number, reservation_date,
and table_number. The id is an auto-incremented
primary key that uniquely identifies each reservation,
while the other columns store the customer's details
and reservation information. The application
interacts with this database to add, update, and
delete reservations, ensuring that the data persists
even after the application is closed or restarted.
Conclusion

The Restaurant Reservation System serves as a vital tool for


modern restaurants seeking to optimize their reservation
processes. By integrating advanced features and maintaining
ease of use, it bridges the gap between customer expectations
and operational efficiency. With this system, restaurants can focus
on delivering exceptional dining experiences, while customers
enjoy the convenience of hassle-free bookings.
Progress Report Format:

Week/Day Date Name Assigned Tasks Tasks Challenges Solution


Role Completed Pending Faced Implemented
Day 1 12/09/24 Anton Frontend Designed GUI Code forms No connection to DB Implemented DB
Development layout, started and buttons yet connection
coding

Day 2 12/10/24 Albert Backend Set up Complete Issues with foreign Corrected foreign key
Development database API key constraints relationships and
schema, integration added database
created initial
tables (users,
orders)
Day 3 12/11/24 Jea Backend Configured Add Inconsistent data Implemented data
Development API endpoints validation format from format
for data to frontend standardization and
retrieval endpoints validation
Day 4 12/12/24 Joresa Database Optimized Set up Slow query Indexed critical
Administrator queries for backups execution times columns and
performance and optimized slow
monitoring queries for faster
data retrieval.

You might also like