Documente Academic
Documente Profesional
Documente Cultură
BY
NWADIOBI FRANCIS C.
IMT/CS/H2014/200
SUPERVISED BY
OCTOBER, 2016.
CERTIFICATION PAGE
I certify that this is an original project work carried out by me NWADIOBI FRANCIS. C.
IMT/CS/H2014/200 under the supervision and guidance of
SUPERVISOR
APPROVAL PAGE
BY
NWADIOBI FRANCIS C
IMT/CS/H2014/200
My heart full of joy and fulfillment, I dedicate this project research work to God Almighty for
being my guidance and inspiration.
ACKNOWLEDGEMENTS
I thank God Almighty for the sense of vision to carry-out this project research work to be a
positive one. My gratitude goes to my supervisor ENGR. NWACHUKWU V.C. for his advice
and corrections and also to my honorable Head of Department (HOD) MR UGWUANYI G.O.C.
I also thank my family members, friends and well-wishers for their support, financially, morally
and spiritually.
ABSTRACT
The project Online Hotel Booking System is a system based on accessing the internet to book
for rooms in a hotel. The purpose of this study is to develop and implement an online hotel
reservation system for hotels, that will replace the manual method of booking for hotel rooms.
The previous system for booking rooms were faced with so many problems like, delay in
processing the customer booking or paying for rooms that is below or beyond his standard,
causes difficulty for emergency booking.
The objects-oriented analysis and design methodology (OOADM) was therefore used to
analyse the system in order to discover the various objects involved and how they interact with
one another so that a new and improved system can be defined.
The use of online view of room rates and uploading of available rooms and facilities was
used for the new system so that the customer can view and make his choice before arrival, and
also in the case of emergency travelling. This new system assisted the hotel owners in managing
their hotels, because they can also regulate the receptionist moves and avoid fraudulent activities.
It also increased the efficiency of the hotel managers and also their profit margin, once they have
a better and good facilities.
TABLE OF CONTENT
Title Page
Certification Page
Approval Page
Dedication
Acknowledgement
Abstract
Table Of Content
CHAPTER ONE
1: Introduction
1.1:Objectives Of Study
1.2:Scope Of Study
1.3:Significance Of Study
CHAPTER TWO
2.1: Introduction
CHAPTER THREE
3.1: Introduction
3.2: Description Of The Existing System
CHAPTER FOUR
4.1: Introduction
4.2: Architecture Of The System
CHAPTER FIVE
5.1: Summary
5.2: Conclusions
5.3: Recommendations
References
INTRODUCTION
The manual method of booking for hotel rooms in Nigeria is characterized with
numerous problems. Some of these are :customers having little or no information about the
hotels within their vicinity; A guest checking into a hotel room that is either too expensive or too
unbefitting for his/her personality;Prolonged delay by the receptionist in retrieving certain
information about any particular guest that checked into the hotel whenever such information
being demanded by the manager;The foul play that sometimes occurs when information about
the guest that checked into a hotel are not officially documented by the receptionist etc. All these
problems and more would definitely mke a hotel experience a down turn in business
The main purpose of this work is therefore to develop a web application program that
would circumvent all those problems encountered in the manual hotel booking system,so that
customers can easily go online with their mobile phones,tablets or laptops in order to browse the
relevant information they need about the hotels within their locality so that they can book for the
appropriate suite that is within their budget.
OBJECTIVE OF STUDY
Customers can easily go online with their mobile phones or laptops to browse about
hotels within their vicinity.
Guests can be able to book for rooms within their budgets after seeing and accessing
these hotels within their vicinity.
Receptionists can easily access customers information online without delay or with little
delay.
Fraud done by the receptionist by not regiustering every customer will not occur because
the customers details will be online and can be accessed by the managers too.
SCOPE OF STUDY
This study is aimed at finding out how effective the online room reservation or booking system
will improve the operations of room reservations in hotels. However ,out of the several
departments that makes up the hotel, this research project is restricted to only one section ( room
reservation) section.
SIGNIFICANCE OF STUDY
Guests, Receptionist, Managers and hotel owners would benefit immensely when the new
system is implemented, in the sense that:
Guests would experience faster access time with the system.
The managers can easily carryout an inventory to know the total number of
guests that checked in or out of the rooms,and those that booked in advance.
STATEMENT OF PROBLEM
A guest checking into a hotel room that is either too expensive or too unbefitting for his
or her personality.
Prolonged delay by the receptionist in retrieving certain information about any particular
guest on demand.
I was faced with the following constraints which also limited the researchers effort in the
developing of a comprehensive software needed in room reservation.
TIME CONSTRAINT: This project work has one semester time limit,it would have been
desirable for a longer period of time, for the development of a software for hotels.
DEFINITION OF TERMS
1. GUEST: This guest are used in the contest of the work refers to individual, companies or
cooperate bodies who ends some time in the hotel either as permanent, temporary or
casual guest.
2.
CHAPTER TWO
LTERATURE REVIEW
2.1 INTRODUCTION
This chapter talks about the theoretical background of my study explains the technologies
required for a web based application and also reviews the related literature of the project.
As we all know that necessity is the mother of all inventions. The need to share information in a
so called global network and mans desire to communicate from long distances called for the
birth of the World Wide Web (formaly known as APRANET) with the advent of the internet,
many of the mundane tasks and businesses that people conducted were made feasible. Things
like buying and selling various product can now be done online. The consumer no longer needs
to move from his location. A few clicks from his mouse will suffice enough to do the job. You
can now also earn a degree by taking an online education.
It is no wonder that booking hotel rooms can now be done in a more convenient way
today. If a certain traveller is planning to visit a foreign place, it would be hard for him if he does
not have a hotel or residence to reside in that country. Before , booking for a certain hotel room
required a long processes such as talking to a hotelier either in person or through the phone. Just
imagine the disposition of the hotelier is multiple clients came to ask questions about
reservations at the same time. Through an online hotel reservation system, hoteliers and travelers
will both be benefitted. Hotels have minimal need of travel agents to look for clients because
information about their business establishment is richly available online.
2.2.1 TECHNOLOGIES REQUIRED FOR THE WEB APPLICATION.
The following technologies are required for the web application of an online hotel booking
system.
This is a standard markup language used to create web pages. Web browsers can read Html files
and render them into visible and audible webpages, it describes the structure of a website
semantically along the cues for presentation, making it a markup language, rather than a
programming language. It allows images and objects to be embedded and can be used to create
interactive forms.
This a style sheet language used for describing the look and formatting of a document written in
a markup language. It can be used to change the style of webpages and users interfaces written in
HTML. It is a cornerstone technology used by most websites to create usualy engaging
webpages user interfaces for web applications and user interfaces for many mobile applications.
It is used to enable the separation of document content from document presentation, including
elements such as the layout, colors and fonts.
It can be applied to HTML or XHTML using three methods ; linked ,embedded and inline.
LINKING: <HEAD>
Href =style.css>
</head>
EMBEDDED: <head>
P{
</style>
</head>
This is a server side scripting language designed for web development but also used as a
general purpose programming language. PHP code is usually processed by a php interpreter
usually implemented as a web servers native module or a common gateway interface (CGI)
executable. It has also evolved to include a command line interface (CLI) capability and can be
used in stand alone graphical application.
<html>
Tittle></hand>
<?php
?>
</body>
</html>
Rooms Price
Room code number Room type
Room type Room code
Vacancy Book rate
This is a special purpose programming language designed for managing data held in a
relational database management system. It consists of a data definition language, data
manipulation language and data inserts, Query, Update, and Delete Schema creation and
modification and access control. Although it is a declarative language, It also includes procedural
elements, it has language elements like ; classes, expression, predicate, queries, statement,
insignificant white space.
JAVASCRIPT-
Also known as ECMA script. It is a dynamic programming language commonly used as part of
web browsers,whose implementation allow client side script to interact with the user, control the
browser, communicate asynchronously,and alter the document content that is displayed. It is an
assembly language of web. It is a prototype based scripting language with dynamic typing and
first class functions. This features makes it a multiparadigm language supporting object oriented
imperative and functional programming style.
An example of a javascript
Function (
Return this
Replace (|^ls*.~)
Replace (^st$l,~);
The application of the internet in the business world has become a major trend in practice and
generated a hot stream of research in the recent literature. Hotels are also aware of this trend in
the internet and also chose to adapt to the innovations.
Bituin Abi, (August 2010), 6 58 Apartelle Online Reservation System. Short term
Base lodging is the main reason that a hotel has been established. In the
Philippines, wherein many foreign people go and have a vacation hotel is always
their first destination to have relaxation after long hours of travel in an airplane.
Because of the rapid increase of foreigners visiting the philipine for vacation, a
common sight is the establishment and sophisticated hotels for competitive
advantage. The current problem observed is the manual guest list records the
manual reservation of guests, the manual booking of rooms for the guests which
takes along time to accomplish. This is not only a database for guest list, but also
an online reservation system.
Fernandez , E & Yuan, X (1999). An Analysis Pattern for Reservation and Use of
Reusable Entities. An analysis pattern for reservation and use of reusable entities
is an article that focuses on the pattern for making a reservation for hotel. This
article is written by ferdinandez and Yuan. First it goes through the problem then
solution, requirements and consequencies. The article is supported with some
diagrams that made the understanding more clear. The problems occur when the
users needs to reserve a hotel room or a vehicle for the system needs a table for
hotel rooms and vehicle in order to avoid duplicated reservation so the system has
a table for reservation.
In the solution, the article describes the use case in making reservation, in this
case, the user make research for available demand by using date when the demand
is available, the customer can then reserve. This system can be used for flight
reservations, it can record the history of reservation but might differ in
environment, and also differ in the people responsible in reservation, flight for
guest, hotel for the receptionist
Chains for Shangrila cooperation. The official website for Shangrila Sentosa,
Singapore is very powerful website, which consist for many useful functions. Its
purpose is to provide hotel information and online room reservation. Visitors can
also get the rooms information from this website.
Hotel Swiss Garden Kuala Lumpur(2008): The main function of hotel swiss
Gracia Resort and Hotel. A resort is a place used for relaxation or recreation,
where visitors are being attracted to take their holiday or vacations. It refers to
places, towns or sometimes commercial establishment operated by a single
person/company, while a hotel offers paid lodge for a short term. They introduced
this system with a billing system for Hacienda Gracia Resort and Hotel to
improve its reservation and billing system.
Society. The author wrote a paper to describe the functional requirement for
hotels and the hospitals, these functional requirement indicates what the system
shall do, data requirements indicate what it shall store and quality requirement
how quickly or how easily it shall perform. This article focuses on functional
requirement which usually described a systems input, output and relationship
between the two. The article has three Unified Modeling Language, use case
diagram between the receptionist and the hotel system. Also, the article includes
figures, each figure describes subtasks. The first figure is a task description for a
hotels reception work area. The second figure is a tasks and support description of
hotel check in and last figure describes high level tasks for innovation and
business process redesign.
This system is similar to our system in the solution that is going to provide to the
users, such as finding a room for a guest and receive service.
Louw, Door Janne.(2006, May 10), Description with UML Hotel Reservation
System. Developed a hotel management system that can be used online, this
system allows a guest to do their booking online by themselves. Some of the task
that the system can do are providing a query for arriving date and the length of
staying, providing the number of rooms, view all available rooms and provide the
user the ability to choose two or more of them, recording kinds of guest and how
many they are going to be a room, providing the cost of booking, asking the users
if they want additional service, such as dinner or breakfast, storing the guest
details , asking the user for confirmation, final confirmation views with the detail
of booking and the guests can review or cancel the booking. He went ahead to
show the relationship between end-user and the web server and how the interface
starts and the application is done step by step, and also the relationship between
the user and the screen.
Internet.
The Philippine Digital Strategy Transformation 2:0 Digital Empirical Nation 2011)
Its main objective is to have a competitive society where everyone has a reliable,
affordable and secure information access. Online hotel reservation system is an
easy to use arrangement that enables agents and guests to reserve rooms directly
via the internet once they have confirmed availability of rooms in accordance with
the urinary. It is a brilliant and efficient software and its easy and uncomplicated
to use. It grants complete authority and power on hotel or motel room booking
over the internet.
CHAPTER THREE
3.1 INTRODUCTION
The observational technique was used to analyze the present system. The various information
gathered from it was used to prepare the requirement for our new system. These requirements are
contained in a special document .The object oriented analysis and design methodology will be
used to design the system. Also, the accompanying database design and user-interface design for
the system will be developed.
It is observed that the main objective of the existing system was aimed at giving the customers
maximum satisfaction, and to attract the attention of the other intending customers. From my
study ,I found out that the operations carried out on hotels are been done manually by the
receptionists, they register customers on arrival by collecting their data and allocating them their
rooms, checking them in and when the guest wants to check out, they will sign out and also want
to get information on their outstanding bills.
The existing system has a lot of problems which leads to justification of the new system. The
problems are; Time Consuming, due to the manual method of registering customers, it consumes
a lot of time, which always upsets the customers who usually waits up to 30mins and above
before been checked in. Waste of financial resources, due to the fact that the hotel will always try
to purchase materials for writing and registering customers. It also gives the receptionist an
avenue for some fraudulent activities, thereby causing loss to the hotel management. Bulky
nature of files also occurs which consumes time when the manager or receptionist tries to access
some information.
Having mentioned the problem above, the introduction of an online hotel booking system is
suggested. This will eliminate these errors discovered on the existing mode of operation with
such a system, the problem of time wasting, fraud bulky nature of documents will not be
encountered in the future. The operations will then be performed with efficiency speed and
increased productivity with little or no extra cost incurred.
The user of the system is the customer/guest. The system should be able to allow the customer to
This methodology uses real world objects like persons, places, things or event to model a system.
It views a system as being made up of so many objects which leave both attributes (date) and
methods (action). An industry graphical standard technique used in designing a system, using
ODA is called the unified modeling language (UML). The UML is made up of 14 tools that can
be used to design a system. The three prominent ones are:
The figure below shows the use case diagram for our proposed system
View general
information about the
Hotel
Post
comments
3.3.2.2 CLASS DIAGRAM
This is a type of static structure diagram that describes the structure of a system by showing
the systems classes, their attributes, operations (or methods) and the relationships among
objects. Classes are represented with boxes which contain three parts.
Top part contains the name of the class. It is printed in bold and centered, and the first
letter is capitalized
The middle part contains the attribute of the class
The bottom part contains the methods the class can execute
The diagram below shows the class diagram for An Online Hotel Booking System
1 tblRoomType
LngRoomtype
strRoomtype
Tbllinkroomfacility tblRoom
Tbl facility list 1 11
lngfacilityID lngroomID tblRoomBand
lngfacilityID c strfacilityDetails lngroomtypeID
1 lngRoomBandID
strngfacilityDesc c lngroombandID
strBandDesc
c lngroompriceID
c strfloor tblRoomprices
c memaddressnot lngRoomPriceID
e curRoomPrice
c
c
Tbllinkbookingroom
Tblbooking ID LngbookingID
LngbookingID LngroomID
1
LngcustomerID LngGuestID
Dtedatebookingmade
tblGuests
tmeTimeBookingmade 1
dteBookedstartdate LngguestID
Txtguesttittle
dteBookedEndDate
Tbl customers Txtguestforenames
1 dtetotalpaymentduedat
S
LngcustomerID Txtguestsurnames
e
Txt customertittle dteguestDOB
curtotalpaymentdueamt
Txt customerforenames dtetotalpaymentmadeo txtguestaddressstrt
Txt customersurnames txtguestaddresstown
n
Dte customerDOB Tblpayment txtguestaddresscountry
Membookingscomment
Txt customeraddressstrt LngpaymentID txtguestadresspostalcode
Txt customeraddresstown LngbookingID txtguestcontactphone
Txtcustomeraddresscountry LngcustomerID
Txtcustomeraddresspostalcode LngpaymentmethodID
Txt customerhomephone Tblpaymentmethod CurpaymentAmount
Txt customermobilephone LngpaymentmethodID Mempaymentcomments
Hyp customeremail Txt Paymentmethod
3.3.2.3 ACTIVITY DIAGRAM
This is another graphical tool that shows the various steps required for accomplishing a given use
case of a system. It resembles flowchart
Initial state
Display a form containing all the available rooms and their prices for the
customer to make a choice <make a choice>
N YES
Choice of Display a form to collect the
O
payment=onl following card details
in? Credit card no.
Expiry date<submit>
Use a form to display
the following hotel a/c
detail to the customer Verify credit card details and
for payment a/c balance
A/c name,
a/c number,
NO
type of A/c Display the
<click ok> Correct
message
details?
Display a form for the invalid credit
customer to enter the card details
deposit slip number of the YES
amount paid. <submit>
Display the message room number xxxx has been reserved for you, from date; dd/mm/yyyy to date
dd/mm/yyyy
3.4 DESIGN OF THE PROPOSED SYSTEM
In this page, everything about proposed system will be designed, both the database, input design,
output design and interface design
In database design, we show how our new system will operate in terms of
This refers to the structure of the data that will be stored in the database tables. Every
database table contains the following data structure
i. Table Name
ii. Attribute Name
iii. Type of Data
iv. Length Of Data
v. Type Of Key
Type Of ID Varchar 10
Heater Varchar 15
AC Varchar 15
Security Varchar 15
Others Varchar 40
Capacity Varchar 10
Price Integer
Security Varchar 20
Gender Varchar 20
Occupation Varchar 20
Address Varchar 40
Phone No Varchar 15
Email Varchar 40
Room No Varchar 15
Hall No Varchar 15
Staff No Varchar 20
Location Varchar 40
Staff size Varchar 20
Gender Varchar 20
Phone No Varchar 15
Address Varchar 40
Rank Varchar 20
Level Varchar 10
Hometown Varchar 40
Phone No Varchar 15
THE FIG ABOVE SHOWS THE DATA DICTIONARY FOR OUR PROPOSED
SYSTEM
3.4.1.2 TABLE RELATIONSHIP
Database needs to be properly related, to enable them share data. They are related through their
foreign keys. A foreign key is actually a primary key of one table that is included in one of the
fields of another table in order to establish a relationship between the two tables
Hall Hotel
Room Hall picture Hotel picture
Room picture Hall No. Hotel name
Room No Hall type Location
Suite type Capacity Staff size
Price Price Email
Cable to service Type of seat Phone No.
Heater Total seats Packing space
Ac Type of table Swimming pool
Water supply Total tables Recreation park
Power supply Power supply Dry cleaning
Security Toilet facility service
Room service Water supply Car park
Toilet facility Total AC Car wash
Others Security Total suites
Others Total halls
Others
Booking
Customer name
Gender
Occupation
Address Staff
Phone number Staff No.
Email Staff name
Room number Gender
Hall number Phone No.
Amount paid for room Address
Amount paid for hall Rank
Check in date Level
Departure date Hometown
Next of kin name Parent name
Next of kin phone No. Phone No.
Staff No.
3.4.1.3 DATA STORAGE
In data storage, we use relational database software such as MySQL to do the following:
SQL is the structured query language used for retrieving information from a database various
kinds of queries can be made with SQL commands, such as SELECT, INSERT, DELETE
and UPDATE, depending on the kind of information we want. The implementation aspect of
the work contained all these.
For every use case of a system, we design the appropriate input forms that will collect input data
from the end-user, for instance, for the use case Book for room online the first input form that
will appear once the quest enters the website and chose the room reservation option, as shown
below.
EXPIRY DATE
CANCEL SUBMIT
The above input form is displayed when a customer wants to make payments with a credit card.
This is the response we get from a system after supplying the correct or incorrect input data to it.
If the input data is incorrect or if the requested option of the customer is not available. For
instance, when a guest tries to book for a room and supplies the correct information, and also
made his choice of room, the following output form will be displayed.
The following output form is displayed when a customer has successfully paid for the room
he/she booked for.
THANK YOU!!! OK
Here, we design a general form (that is, a window) to show how an end user or guest would
interact with the system when it starts executing. The form can be designed with any object
oriented programming language, Java, Visual Basic.net etc.
The figure below shows the user interface design for our proposed system
WELCOME TO THE PORTAL FOR ONLINE HOTEL
RESERVATION SYSTEM
NEXT
Once the user selects an option and clicks NEXT, the input form for the option selected
appears on the screen. Else the form will be dismissed.
CHAPTER FOUR
SYSTEM IMPLEMENTATION
4.1 INTRODUCTION
This is the stage you use any object oriented programming language, such as java, Visual
basic.net, PHP, MySQL, etc., to implement your system. After the implementation, you testrun it
for correctness and then document it properly for the intended end users.
This shows the major computer components involved in the implementation of the system.
The figure below shows the system architecture of our proposed system.
User interface
Php Program MySQL
developed with Internet
database
Html, Css, and
Javascript
The user runs the application software in his/her PC to see the user interface. He then uses the
user interface to make appropriate input request which the PC sends to the database server
through a database connected for processing the feedback from the server is sent back to the
application software which then performs the final processing, and generate the output form on
the screen.
4.3 PROCEDURAL DESIGN
Here, we use a pseudo code or flowchart to describe how our system would operate.
The figure below shows the program flowchart for our proposed system
START
YES
Option = 1? Perform the activity diagram for
option 1
NO
YES
Option =2 ? Perform the activity diagram for
option 2
NO
YES
Option =3 ? Perform the activity diagram for
option 3
NO
YES
Option =4 ? Perform the activity diagram for
option 4
NO
YES
Option =5 ? Perform the activity diagram for
option 5
NO
YES
Option= 6 ? Perform the activity diagram for
option 6
4.4 DEPLOYMENT ENVIRONMENT
DREAMWEAVER ENVIRONMENT:
PHP, MYSQL
CHAPTER FIVE
5.1 SUMMARY
The manual method of booking for hotel rooms in Nigeria has been characterized with several
problems like guests not having a prior knowledge of a particular hotel before arrival, delay in
registering a customer , some foul plays that the receptionists normally get themselves involved
in by not officially documenting some customers that checked in.
With respect to all this problems, this system is then introduced in order to tackle and
profer a better service to the customers checking into a hotel. With this new design , the
customer can access the hotels website anywhere in the world, see their location, book for room
prior to their arrival and be able to make a better choice from all the available hotels, within a
stipulated period of time.
5.2 CONCLUSION
The research work was carried out to develop a functional design that could be used in
the hotels everywhere. It is a general system that can be applied, it can also serve as a guideline
to educate students in the form of simulation. This system also this requires a knowledge in
computer use and internet accessibility.
This online system also presents features and online security to protect privacy and
financial information of clients/customers. It therefore holds a better benefit in helping customers
and making them have an easy access to any website of their choice.
5.3 RECOMMENDATION
(a) This system should also be used in schools to give students a futher and deeper
training to give further knowledge about online reservation and hotel management.
(b) That future researchers and developers can add modules and additional features as
this system is open for further improvements and developments because of the fast
pacing changes in technology
(c) A follow up study should be conducted to determine the usefulness and effectiveness
of the developed system upon implementation.
REFERENCES