MARCH 25, 2021 ONLINE RESERVATION SYSTEM HEMN RAFIQ & HUNER BAKHTYAR Page |1 Abstract Nowadays online reserving necessity becomes one of the needs for any person that wants to book anything, the online reservation system is one of the most important fields that make easiest for booking any requirement. The Online Booking System application is designed for booking tables in restaurants, rooms in hotels, and car rental. The main aim of this application is to reserve most easily. Any managers can add or update their product and the customers can see any tables, rooms, and cars that available in this application. Therefore, the Online Booking System was developed using the IOS and Androidbased platforms. To develop this application Xamarin C# was used as the main programming language, Firebase as the backend to store the data, and XML for user interface design. Keywords: Online Reservation System, reservation, ios, android, mobile application Page |2 Table of Contents Introduction .................................................................................................................................................. 5 1.1 Description of the proposed project and its content ......................................................................... 5 1.2 Aims and objective of the project ....................................................................................................... 5 1.3 Outline................................................................................................................................................. 6 Literature review .......................................................................................................................................... 6 2.1 Role of Reservation System in the industry ............................................................................................ 8 Methodology ................................................................................................................................................ 9 3.1 Software Development Method ......................................................................................................... 9 3.1.2 Waterfall Model ............................................................................................................................... 9 3.1.3 Agile Model ...................................................................................................................................... 9 3.3 Requirement analyses........................................................................................................................... 10 3.3.1 Functional Requirements ........................................................................................................... 10 3.3.2 Non- Functional Requirements .................................................................................................. 10 Design ......................................................................................................................................................... 11 4.1 Database ........................................................................................................................................... 11 4.1.1 Tables ......................................................................................................................................... 11 4.1.2 ER Diagram ................................................................................................................................. 13 4.2 System ............................................................................................................................................... 14 4.2.1 Initial layout and design ............................................................................................................. 14 4.2.1.1 Main Page ............................................................................................................................... 14 4.2.1.2Hotel Page ................................................................................................................................ 15 4.2.1.3 Restaurant Page ...................................................................................................................... 16 4.2.1.4 Car Rental ................................................................................................................................ 17 4.2.1.5 Sign in and Register ................................................................................................................. 18 4.2.1.6 Admin Page and Register Product .......................................................................................... 19 4.2.1.7 delete product and update Product ....................................................................................... 20 4.2.2 Navigation chart ......................................................................................................................... 21 4.2.3 Use Case ..................................................................................................................................... 22 4.2.4 Sequence Diagram ..................................................................................................................... 23 Page |3 4.2.5 Class Diagram ............................................................................................................................. 26 4.3 Implementation ........................................................................Ошибка! Закладка не определена. Reference .................................................................................................................................................... 28 Page |4 Acknowledgement We would like to thank my supervisor, Mr. Ardalan Hussein, for the valuable advice and support he has given us in the writing of this report and completing this project. We would also like to thank any person that helps us to complete this report and that gave any useful suggestions. Page |5 Introduction 1.1 Description of the proposed project and its content Online Reservation System is an application that is designed for android and ios mobile operating system, which is run on smartphones, and tablets. This way of reservation makes that no error occurs and the customer doesn’t need to come and reserve it personally, this process can be done online. Search for a set of research and papers in the field of the online reservation system led to achieving the data for writing this report, after a lot of research this application was created in a modern and different way. The customers can see any cars, Tables, or rooms shared in the application before sign in by the account (Google account) all information needed for the customer will be available about each item, after sign in the customer can book any items that available at this time. All the data that is needed for each item is stored in the database and similarly for each customer that wants to book an item. 1.2 Aims and objective of the project This project aims to make it easier for the customers to reserve the places or cars they want, and to change it from manually telephoning or personally reserve it to doing it online, the objectives are mentioned below: Provide customers with accurate information about what they want to reserve. Allows people to reserve without any errors and without creating conflicts. Give freedom to the customer to book a room, table, or car rental anytime they want. To make it easy for customers to make reservations. To fill as many rooms, tables, and cars as possible at a relatively higher rate. The efficiency in which customers can reserve. Page |6 1.3 Outline This application will be a good facility for people who want to book tables in restaurants, rooms in hotels, and car rental. Which is easily and beautifully designed to be available to customers. Literature review ONLINE HOTEL BOOKING SYSTEM the system that designed for electronically driven that enable the user to booking hotel from any place in the world, the main object in this project to payment securely and provide all information about hotels and prices before they can reserve it (IWUOHA JOSEPH IKECHUKWU) [1]. ONLINE HOTEL RESERVATION AND MANAGEMENT SYSTEM FOR THE COLLEGE OF INTERNATIONAL TOURISM AND HOSPITALITY MANAGEMENT (CITHM) include hotel online reservation and management system used System Development Life Cycle and Microsoft Web Development as programming language, the main object of this developed software is to student of CITHM to accustom them how to operate and manage online hotel reservation system (Glenda A. Delizo, Mischelle A. Esguerra) [2]. Restaurant Table Reservation System that enable costumer to reserve restaurant, and involve reservation, order, and gallery, the main object is enable the manager of restaurant to deal directly with the client (HafizaMahrukhShahzadi, Ms.ShaziaRiaz, Ms.AmnaNisar) [3]. Restaurant Booking and Ordering System this system is support only android, customers used this app for booking desired timing and table number, the main aim is to provide ordering and reservation service to the client [4]. RESTAURANT TABLE ORDER MANAGEMENT APPLICATION this application developed in android to keep everything related to restaurant or hotel as simple as possible, this application helps the client to find free tables or place orders, the Page |7 modules that are used in this project are customer registration, customer login table and food order, the technology that are used to develop this project is android studio, Jsp, php and SQLite [5]. Prof V. B. Dhore, Surabhi Thaka, Prajakta Kulkarni, Rasika Thorat[2014] discussed about rapid increase in the use of mobile phones for booking table and ordering food “Digital Table Booking and Food Ordering System Using Android Application” they said the goal of project first is to design and implement to ordering food and book table before visiting to a restaurant also pay money, second enables the staff to view orders, the platform that the system used is android[6]. L. Sriram Narayanan, A. Subhashree, P. Vaanishri, R. Akiladevi[2020] one of the newest project is about car rental “Car Rental Application using Mobile Application Development” this project include safety of both the renter and renters automobile, in this system the user selects the date ensure the trustworthy between both parties, when a user enters his information it will be verified with a database, this system support both platform (Android and IOS) [7]. Rismon John1, Nor Azizah Ali ‘s project is “CAR RENTAL MOBILE APPLICATION IN UNIVERSITI TEKNOLOGI MALAYSIA” is about car rental service the main aim of this application is create to the students or people that do not have their own vehicle, the customer can see any car or service that provided in this application and also give feedback, and the car rental company can share own car or service in this application the main programming language used in this system are JavaScript, HTML, and CSS (for Android-based platform) [8]. Joydeep Sarkar, Yadnesh Khode, Shubham Jadhav, Prof. Akshata Laddha4 they said users still need more relief system that helping them to select vehicle to be rent, the customer can rent any vehicle that provide in the system, all process can be done through online, this system enables all car rental companies based on security level to view or search user information in the database based on identification , this application support only android platform ” Car Rental System for Maharashtra (Android app)” [9]. The project of Acheampong Samuel is “Design and Implement An Online Restaurant Reservation System” the main goal of project is to implement and design an online restaurant reservation system that enable the user to ordering foo and booking tables, a successful implementation of Relationship Marketing by Page |8 winning confidence and loyalty of customers, developing customer-centric processes, customer information and knowledge generation capabilities, and selecting and implementing technology solutions using employee empowerment[10]. 2.1 Role of Reservation System in the industry As years goes by every industry will develop and try to outdo what is in the market. As we are living in a society that’s most of its news come from media and internet, we can say that one of the ways that the industry goes forward with is media and internet. In Kurdistan, as of now we can say that 90% of the reservations are done manually, in which customer must go there themselves to reserve or make phone call. As for this project what we have is a way in which customer can reserve in the simplest and easiest way possible. They can complete the reservation quickly, efficiently from the comfort of their own office or living room. Some of the benefits of this project are: Less work for front office. Reduced chances of losing a reservation Easily can gather data Some disadvantages of this project are: Need of internet access. Need to be ready for a stream of new customers. Page |9 Methodology 3.1 Software Development Method There are numerous ways in which to organize a project and writing code. These ways are called methodology, methodology is the way that project is designed and planned to execute. All these methodologies are called Software Development method. There are many Software Development method such as, Agile, waterfall, lean, traditional…etc. 3.1.2 Waterfall Model The waterfall model is a linear project management approach, where employee and customer requirements are gathered at the beginning of the project, and then a sequential project plan is created to accommodate those requirements. The waterfall model is so named because each phase of the project cascades into the next, following steadily down like a waterfall. 3.1.3 Agile Model The Agile approach to software development provides an iterative and flexible approach to the design and development of technology. This method has proven successful at improving responsiveness to customer demands with a more fluid and flexible style. Agile Modeling can be applied to the Agile development process in an effort to clearly depict the product goal to developers, stakeholders, and decision makers. P a g e | 10 In this project we have decided to use agile model because of these reasons: agile model is flexible in agile model we can go back to previous phase. In agile model we can make change easily. In agile we can see the result of the phase we finished. In agile model we don’t have to implement everything in the phase in first try, even if we missed something, we can easily implement it later. 3.3 Requirement analyses 3.3.1 Functional Requirements Requirements Costumer can display information about the place or car they want to reserve. User can search and find the place they want to reserve. User can cancel reservations. Calculate and display reservation charges and other utilities. User can online reserve only when they register. The system shall only allow managers to view customer data. Priority (L, M, H) H H H M H H 3.3.2 Non- Functional Requirements Requirements Usability Maintainability Security Reliability Accessibility Performance Priority (L, M, H) H H H H H H P a g e | 11 Design 4.1 Database Every organization or application needs database to collect data that are exchanged daily, so that it can be managed to accessed when needed. Database is a collection of data that is stored as files, these files information consist of records. Each record consists of one or more fields and each field typically contains information to one aspect or attribute of the entity described by the database. 4.1.1 Tables 4.1.1.1 User STRUCTURE Name Users Contained @UID, Username, Password, RID, Phone, Email ELEMENTS Name @UID Username RID Email Password Data type & limits 11{int} 34{varchar} 34{varchar} 34{varchar} 34{varchar} Phone 11{int} Data Integrity * Customer id ########### * Customer username $$$... * Customer permission $$$... * Customer email $$$... * Customer password $$$... Sha256 auth password * Customer contact number ########### P a g e | 12 4.1.1.2 Product STRUCTURE Name Products ELEMENTS Name @PID PName Location Image Detail Phone Typeid Contained @PID, PName, Images, Location, Typeid, Detail, Phone Data type & limits 11{int} 54{varchar} 34{varchar} 34{varchar} 250{varchar} 11{int} 11{int} Data Integrity * Product id ########### * Product address $$$... * Product location $$$... * Product image $$$... * Product Details$$$$$$$$ * Product contact number ########### * Product typeid ########### P a g e | 13 4.1.2 ER Diagram P a g e | 14 4.2 System 4.2.1 Initial layout and design 4.2.1.1 Main Page This is the main page that users will see when open this application. You can redirect from main page to hotel, car and restaurant to search and reserve. It also has sign up and sign in. P a g e | 15 4.2.1.2Hotel Page This is Hotel Page where all Hotels can be found you can reserve here. You can also search for what hotel you have in mind P a g e | 16 4.2.1.3 Restaurant Page P a g e | 17 4.2.1.4 Car Rental P a g e | 18 4.2.1.5 Sign in and Register P a g e | 19 4.2.1.6 Admin Page and Register Product P a g e | 20 4.2.1.7 delete product and update Product P a g e | 21 4.2.2 Navigation chart P a g e | 22 4.2.3 Use Case P a g e | 23 4.2.4 Sequence Diagram Hotel Reservation P a g e | 24 Restaurant Reservation P a g e | 25 Car reservation P a g e | 26 4.2.5 Class Diagram P a g e | 27 Implementation 5.1 Database For this project we have decided to implement it with Realtime Database Firebase. It’s an online firebase that’s using NoSQL database. 5.2 Sign in It’s the area in which users can register their account so that they can reserve. As users need to be registered then they can reserve. 5.4 Login It’s the area in which users can register as (costumer, admin, manager). Every user needs to have their email and password already registered so that they can enter. var user = await helper.GetUser(txtEmail.Text); if (user != null) if (txtEmail.Text == user.Email && txtPass.Text == user.Password && user.RID == 1) { Code here } P a g e | 28 Reference [1] IWUOHA JOSEPH IKECHUKWU (OCTOBER, 2012)” ONLINE HOTEL BOOKING SYSTEM” a thesis submitted to the postgraduate school of federal university of technology, OWERRI. [2] Glenda A. Delizo, Mischelle A. Esguerra (July 25, 2013) “ONLINE HOTEL RESERVATION AND MANAGEMENT SYSTEM FOR THE COLLEGE OF INTERNATIONAL TOURISM AND HOSPITALITY MANAGEMENT (CITHM)”, Instructor, College of Computer Studies, Lyceum of the Philippines University, Batangas City, Philippines. [3] HafizaMahrukhShahzadi, Ms.ShaziaRiaz, Ms.AmnaNisar (September 2018) “Restaurant Table Reservation System Using Android Mobile Application (RTRSMA)” Department of Computer Sciences, Government Collage Women University Faisalabad, Pakistan. [4] Shubham Rawool, Shrives Pujari, R.Malsawmkima, Prof.Vaishali Bodade “Restaurant Booking and Ordering System” Computer, Bharati Vidhyapeeth College of Engineering. [5] MOHAMED NAUFAL MOHAIDEEN.M, SATHIK ALI.I (2017) “RESTAURANT TABLE ORDER MANAGEMENT APPLICATION” Department of computer application, B.S AbdurRahumanCrescent University VandalurChennai-600048. [6] Prof V. B. Dhore, Surabhi Thakar, Prajakta Kulkarni, Rasika Thorat (October 2014)” Digital Table Booking and Food Ordering System Using Android Application” Department of Computer Engineering, RMD Sinhgad School of Engg, Pune, India. P a g e | 29 [7] L. Sriram Narayanan, A. Subhashree, P. Vaanishri; R. Akiladevi (May 2020) ” Car Rental Application using Mobile Application Development” Computer Science & Engineering, Rajalakshmi Engineering College, Anna University, Chennai. [8] Rismon John1, Nor Azizah Ali (2016) “CAR RENTAL MOBILE APPLICATION IN UNIVERSITI TEKNOLOGI MALAYSIA” Department of Software Engineering, Faculty of Computing, University Teknologi Malaysia. [9] Joydeep Sarkar1, Yadnesh Khode2, Shubham Jadhav3, Prof. Akshata Laddha4 (2019) “Car Rental System for Maharashtra (Android app)” 1,2,3B.E.Students, 4Assistant Professor B.E. Computer Engineering, D.R.I.E.M.S., University of Mumbai. [10] Acheampong Samuel (August 2018) “Design and Implement An Online Restaurant Reservation System” Department of Computer Science Nanjing University of Post and Telecommunication China.