Vision Document: For Hotel Reservation System (HRS)

Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 7

Vision Document

For Hotel Reservation System (HRS) Version 1.0

Submitted in partial fulfillment of the requirements of the degree of MSE

Cem Oguzhan CIS 895 MSE Project Kansas State University

Table of Contents
Introduction.......................................................................................................................3 Motivation........................................................................................................................3 Project Overview.............................................................................................................3 2.1 Introduction................................................................................................................3 2.2 Goal............................................................................................................................4 2.3 Purpose......................................................................................................................4 Requirements Specification.............................................................................................4 3.1 Main Requirements....................................................................................................4 3.2 External Interfaces Requirements..............................................................................4 3.3 Critical Use Cases Requirements...............................................................................5 3.2.1 Use Case 1: Search Room Requirements..............................................................5 3.2.2 Use Case 2: Login Requirements...........................................................................5 3.2.3 Use Case 3: Generate Report Requirements .........................................................5 3.2.3 Use Case 4: Register Requirements.......................................................................5 3.2.4 Use Case 5: Reservation Requirements.................................................................6 3.2.5 Use Case 6: Cancel a Reservation Requirements..................................................6 3.2.6 Use Case 7: Update Hotel Information Requirements..........................................6 3.2.7 Use Case 8: Update Room Information Requirements..........................................6 3.2.8 Use Case 9: Update Travel Agent Information Requirements..............................7 3.2.9 Use Case: Generate Report Requirements.............................................................7 3.4 Performance Requirements........................................................................................7 3.5 Assumptions..............................................................................................................7 3.6 Constraints.................................................................................................................7 3.7 Environment..............................................................................................................7 7

Introduction Motivation Internet has become available almost anywhere. Now, we can research, shop, play games, and communicate with others around the world without leaving our computers. For many businesses, the Internet has become very crucial for their daily operations. It has become one of the most important marketing tools, which generates revenue for many businesses. Behind the scenes of web sites are web developers. Developers responsibility is to ensure that user get best possible experiences while surfing web-sites. Recently, web development tools have changed in a better way. One of these tools is Microsoft .NET framework. Today, .NET framework makes available to create complex Web applications easier and faster than ever before. The motivation of the Hotel Reservation System (HRC) is to develop a web application that helps online customers and travel agents to make a reservation without leaving their place or making a phone call and save valuable time and as a developer I want to learn and gain experience on the .NET framework. Project Overview

Figure 1. Overview of HRS 2.1 Introduction The HRC is a chain hotel reservation system. There are three types of users. These are online customers, travel agencies and the hotel manager. The hotel reservation system will provide service to on-line customers, travel agents, and the hotel manager. On-line customers and travel agents can make searches, reservations and cancel existing reservation on the hotel reservations web site. The travel agent will take ten percent commission for each reservation its made. The manager can update the hotel, room and travel agent information. Also, the manager can generate monthly report for occupancy rate of each hotel. Figure1 shows a high level of the HRS system. The HRS system will interact as follow: 1. Client sends HTML form inputs over network 2. Internet Information Server (IIS) receives HTML form inputs 3. IIS Web Server a. Processes inputs

b. 5.

If requires, queries to the database and retrieved data

4. IIS Web server sends back processed output as a web page over network
Client receives the output as a web page 2.2 Goal To provide a web site that can allow a user to search and reserve a hotel room or cancel his/her reservation over the internet at any time. 2.3 Purpose To learn and gain experience on .NET framework. Requirements Specification 3.1 Main Requirements

1. Based on 3-tier architecture. Figure 2 shows 3-tier architecture. 2. Use of Microsoft Visual Studio .NET IDE, ASP.NET, C #, MSSQL in developing the system.
3. 4. The final product will be run on Internet Information Server (IIS). Internet Explorer will be used as a main browser.

Figure 2. 3-tier Architecture 3.2 External Interfaces Requirements

All user interfaces will consist of web pages. The user can search a room, make reservation, confirm and cancel existing reservation from home page of the HRS. A web page will be displayed according to the user choice. The manager can update hotel and travel agent information on web site of the HRS. A web page will be displayed according to the managers choice.

3.3 Critical Use Cases Requirements

Figure 3. Critical Use Case 1

3.2.1 Use Case 1: Search Room Requirements Purpose: The purpose of this part of the application is to check an available room at the hotel. Inputs: The user will enter six inputs (city, state, country, check-in date, check-out date, and number of guests) through the keyboard. Processing: The user inputs will be validated at client side. The validation will verify that user enter valid format into the required fields. Outputs: If the user inputs are not valid, the appropriate error message will be displayed. If the inputs are valid, the hotel(s) informations will be displayed for the particular search. 3.2.2 Use Case 2: Login Requirements Purpose: The purpose of this part of the application is to provide user authentication. Inputs: The user will enter two inputs (user name and password) through the keyboard. Processing: The system then checks user name and password to see if they are valid. Outputs: If the user name or password is not valid, the appropriate error message will be displayed and the user needs to re-enter user name and password. If the user inputs are valid, the reservation and billing information page will be displayed. 3.2.3 Use Case 3: Generate Report Requirements Purpose: The purpose of this part of application is to provide a sales report to the travel agent. Inputs: The travel agent will enter some data such as starting date and ending date through the keyboard. Processing: The system checks the inputs to see if they are in correct format and valid. Output: If the input is in correct format and valid, the sales report web page will be displayed. If the input is not in the correct format or valid, the appropriate message will then be displayed. 3.2.3 Use Case 4: Register Requirements Purpose: The purpose of this part of the application is registration of a new customer which allows to a new customer to become a member of the HRS system. Input: The customer will be entered some data, which is required by the HRS. E.g. Name, Address, User Name, Password.

Processing: The system then checks user name to see if it is valid. If the user name already exists, the user needs to re-enter a new user name. Otherwise, the customer information will be saved appropriate format into the database. Output: For correctness, the customer inputs will be validated. If the customer inputs violets any input format, the appropriate error message will be displayed. If the customer inputs valid, the confirmation web page will be displayed. 3.2.4 Use Case 5: Reservation Requirements Purpose: The purpose of this part of the application is to reserve a room. Input: The user already enter required data such as check-in and check-out date, when the user was searching a room. Processing: The related reservation data will be saved into the database. Output: The reservation confirmation web page or related error message will be displayed. 3.2.5 Use Case 6: Cancel a Reservation Requirements Purpose: The purpose of this part of the application is to cancel existing reservation. Input: The user will enter user name and password through the keyboard. Processing: The system checks user name and password to see if they are valid. Output: If the user successfully logged in, then all the users valid reservations will be displayed for canceling.

3.2.6 Use Case 7: Update Hotel Information Requirements Purpose: The purpose of this part of the application is to enter new hotel information or update information on the existing hotel. Input: The manager will enter some data such as hotel ID, location and facilities through the keyboard. Processing: The system checks the inputs to see if they are in correct format and valid. Output: If the inputs are in correct format and valid, the inputs will be saved into the database and the confirmation web page will be displayed. If the input is not in the correct format or valid then the appropriate error message will be displayed. 3.2.7 Use Case 8: Update Room Information Requirements Purpose: The purpose of this part of the application is to enter new room information or update information on the existing room.

Input: The manager will enter some data such as Hotel ID, type and price of the room through the keyboard. Processing: The system checks the inputs to see if they are in correct format and valid. Output: If the inputs are valid and in correct format, the inputs will be saved into the database and the confirmation web page will be displayed. If the input is not in correct format or valid then the appropriate error message will be displayed. 3.2.8 Use Case 9: Update Travel Agent Information Requirements Purpose: The purpose of this part of the application is to enter new travel agent or update information on travel agents. Input: The manager will enter or update some data such as the travel agent id, company name and location through the keyboard. Processing: The system checks the inputs to see if they are in correct format and valid. Output: If the input is valid and in correct format, the inputs will be saved into the database and the confirmation web page will be displayed. If the input is not valid or in the correct format, then the appropriate message will be displayed. 3.2.9 Use Case: Generate Report Requirements Purpose: The purpose of this part of the application to generate monthly report on total revenue and occupancy rate of each hotel. Input; The manager will enter some data such as hotel ID, starting date and ending date through the keyboard. Process: The system checks the inputs to see if they are in correct format and valid. Output: If the input is in correct format and valid, the report web page will be displayed. If the input is not in correct format or valid then the appropriate message will be displayed. 3.4 Performance Requirements The application will be used client side validation for user inputs to reduce load of the web server. The application will use JavaScript to validate user inputs. 3.5 Assumptions

The users have internet connection when ever he/she is using the HRS.

3.6 Constraints Since developing web applications on .NET frame work is platform dependent, which is Windows, the final product will be deployed on IIS web server.

3.7 Environment The HRS will be written in C#. Microsoft Visual Studio .NET will be the development environment. The HRS will be tested on Windows XP platform

You might also like