DWIT COLLEGE DEERWALK INSTITUTE OF TECHNOLOGY Tribhuvan University Institute of Science and Technology

SAHYOGI: LOCATE HOTELS A PROJECT REPORT Submitted to Department of Computer Science and Information Technology DWIT College

In partial fulfillment of the requirements for the Bachelor’s Degree in Computer Science and Information Technology

Submitted by Sunil Lamsal August, 2016

DWIT College DEERWALK INSTITUTE OF TECHNOLOGY Tribhuvan University

SUPERVISOR’SRECOMENDATION

I hereby recommend that this project prepared under my supervision by SUNIL LAMSAL entitled “SAHYOGI: LOCATE HOTELS” in partial fulfillment of the requirements for the degree of B.Sc. in Computer Science and Information Technology be processed for the evaluation.

………………………………………… RiturajLamsal Lecturer Deerwalk Institute of Technology DWIT College

DWIT College DEERWALK INSTITUTE OF TECHNOLOGY Tribhuvan University

LETTER OF APPROVAL This is to certify that this project prepared by SUNIL LAMSAL entitled “SAHYOGI: LOCATE HOTELS” in partial fulfillment of the requirements for the degree of B.Sc. in Computer Science and Information Technology has been well studied. In our opinion it is satisfactory in the scope and quality as a project for the required degree.

…………………………………… RiturajLamsal [Supervisor] Lecturer DWIT College

………………………………………… Hitesh Karki Chief Academic Officer DWIT College

………………………………………….. Jagadish Bhatta [External Examiner] IOST, Tribhuvan University

………………………………………….. SarbinSayami [Internal Examiner] Assistant Professor IOST, Tribhuvan University

i

ACKNOWLEDGEMENT I am highly indebted to Mr. Ritu Raj Lamsal for his esteemed guidance and constant supervision for providing necessary information regarding the project & also grateful to my teacher Mr Sarbin Sayami for his support in completing the project. I would like to express my sincere thanks to Mr Bijay Shrestha, for giving me this opportunity to undertake this project. I would also like to thank Mr. Hitesh Karki for whole hearted support. My thanks and appreciations also go to my colleague in developing the project and people who have willingly helped me out with their abilities. Last but not least, I would like to present a special thanks to my family, for their love, understanding, encouragement, and confidence in me.

Sunil Lamsal TU Exam Roll no: 1818/069

ii

DWIT College DEERWALK INSTITUTE OF TECHNOLOGY Tribhuvan University

STUDENT’S DECLARATION I hereby declare that I am the only author of this work and that no sources other than the listed here have been used in this work.

... ... ... ... ... ... ... ...

Sunil Lamsal

Date:

iii

ABSTRACT There are many difficulties in finding places to spend some spare time and vacation. Hotels and home stay are generally cheap and finding the right one is a troublesome activity. This project provides a platform to search hotels based on locations and price. User is provided with the interface with the options to search either by location through Google places API or budget, based on the input given by the user appropriate result would be shown. If the search is through location required hotels available in the destination would be shown else if the search is by budget then the list of hotels matching the user budget would be shown. Hence, this project aims to build a web application which would be a centralized information sharing platform which is focused to help students and teenagers know about hotels’ cost and locations of various beautiful places to explore Keywords: Web platform, Searching, Google places API, Affordable Hotels

iv

TABLE OF CONTENTS LETTER OF APPROVAL ................................................................................................... i ACKNOWLEDGEMENT ...................................................................................................ii STUDENT’S DECLARATION ........................................................................................ iii ABSTRACT........................................................................................................................ iv LIST OF FIGURES ...........................................................................................................vii LIST OF TABLES ........................................................................................................... viii LIST OF ABBREVIATIONS ............................................................................................. ix CHAPTER 1: INTRODUCTION ........................................................................................ 1 1.1

Problem Statement ................................................................................................ 1

1.2

Objectives .............................................................................................................. 2

1.3

Scope and Limitations ........................................................................................... 2

1.3.1

Scope .............................................................................................................. 2

1.3.2 Limitations ........................................................................................................... 2 1.4

Project Features ..................................................................................................... 3

1.5 Report Organization ................................................................................................... 4 CHAPTER 2: REQUIREMENT ANALYSIS AND FEASIBILITY .................................. 5 2.1 Literature Review ....................................................................................................... 5 2.2

Requirement Analysis ........................................................................................... 5

2.2.1 Functional requirement ...................................................................................... 5 2.2.2

Non-functional requirement ........................................................................... 7

2.3 Feasibility Analysis .................................................................................................... 8 2.3.1 Operational feasibility ......................................................................................... 8 2.3.2 Technical feasibility ............................................................................................ 8 2.3.3 Economical feasibility ......................................................................................... 8 2.3.4 Schedule feasibility.............................................................................................. 8 CHAPTER 3: SYSTEM DESIGN ....................................................................................... 9 3.1 Methodology .............................................................................................................. 9 3.1.1

Method ........................................................................................................... 9 v

3.1.2

Data collection ............................................................................................. 10

3.2 System Design .......................................................................................................... 11 Data Modeling: ER Diagram ...................................................................................... 11 Process Modeling: DFD ............................................................................................. 12 CHAPTER 4: IMPLEMENTATION AND TESTING ..................................................... 14 4.1 Implementation......................................................................................................... 14 4.1.1 Tools used .......................................................................................................... 14 4.2 Testing ...................................................................................................................... 15 CHAPTER 5: MAINTENANCE AND SUPPORT ........................................................... 17 5.1 Adaptive Maintenance.............................................................................................. 17 5.2 Corrective Maintenance ........................................................................................... 17 CHAPTER 6: CONCLUSION AND RECOMMENDATION ......................................... 18 6.1 Conclusion................................................................................................................ 18 6.2 Recommendations .................................................................................................... 18 APPENDIX I ..................................................................................................................... 19 APPENDIX II .................................................................................................................... 21 REFERENCES .................................................................................................................. 22

vi

LIST OF FIGURES

Figure 1- Outline of document ............................................................................................. 4 Figure 2- Use case diagram for user .................................................................................... 6 Figure 3- Use case diagram for admin ................................................................................. 7 Figure 4- Waterfall model .................................................................................................... 9 Figure 5- ER diagram......................................................................................................... 11 Figure 6- Context level diagram ........................................................................................ 12 Figure 7- Data flow diagram .............................................................................................. 13 Figure 8- Workflow diagram ............................................................................................. 14

vii

LIST OF TABLES

Table 1- Hotel search by location ...................................................................................... 15 Table 2- Hotel search by budget ........................................................................................ 16

viii

LIST OF ABBREVIATIONS DFD – Data Flow Diagram CLD – Context Level Diagram HTML – Hypertext Markup Language CSS – Cascading Styles Sheet PHP- Hypertext Preprocessor SQL- Structured Query Language ERD- Entity relationship Diagram NTB- Nepal Tourism Board SDLC- Software Development Life Cycle API- Application Programming Interface

ix

Sahyogi : Locate hotels

CHAPTER 1: INTRODUCTION Nepal yet being small country is rich in bio-diversity due to its unique geographical position and altitude variation. It has best places to explore natural resources, culture, tradition and religion. Natural attraction, scenic beauties, cultural monuments and temples are the ones which has given rise to tourism as well as domestic tourism Sahyogi is an information providing platform that focuses on internal tourism. Its targeted audience is students and teenagers to help them decide about the location to visit, budget to spend on hotels. If the user is planning to invest minimal budget for the tour, then the locations with minimal expenses would be provided, same goes with maximum budget. It actually helps users to plan their tour and would be able to know the route of destination too. According to the budget students and teenagers have, they can easily enjoy their tour without thinking about cost and services. Financing done overhand is always a nice step to take during tours. In order to maintain good health during a tour, a place to stay with healthy lodge, food and services is always good. So, this web platform will provide legitimate information about the locations and nearby hotels cost.

1.1 Problem Statement

There are various places in Nepal that is rich in natural beauty but the problem is we don’t know the location, specially students and teenagers, so in-order to visit and know about such places could be troublesome sometimes in student’s life as most of the time they are bound to concentrate on their studies. Therefore, finding about places to visit and nearby economical hotels to stay is very much important in student’s life since they cannot afford luxurious hotels. When they plan for a visit, they usually have small amount of savings to spend for a day or two. There are

1

Sahyogi : Locate hotels various prevailing situations where students and teenagers run out of money during their visit due to wrong selection of hotels and route to locations. Many couldn’t enjoy their visit like they wished, due to poor planning and knowledge. This dependency on money and appropriate knowledge on location and hotels for doing everything sets forth a question.

1.2 Objectives 

To build a web platform that can be used by users to know location and hotels cost.



To help in promoting locally located home-stay, hotels and resorts.

1.3 Scope and Limitations 1.3.1

Scope

Although domestic tourism is not only about earnings and promoting places it is also about employment generation. It provides users the ability to search for hotels either by location as well by budget without creating any account. User can search and view the information of the hotels. This web application helps users to search hotels easily.

1.3.2 Limitations

The limitations of this project are mentioned below: 

GPS tracking has not been incorporated.



Limited to Web Application only.



User cannot rate hotels.

2

Sahyogi : Locate hotels

1.4 Project Features

The main features of this application are: 

Users can search by locations and budget.



If search is by location, then the name of location being searched would be shown.



If search is by budget then, the hotels and location with matching budget would be shown.

The project can be divided into two main modules: 

Search Module



Administrator Module

3

Sahyogi : Locate hotels

1.5 Report Organization

  

Title Page List of Figures, Tables Table of Contents

  

Problem Statement and Objectives Scopes and Limitations Project Features

 

Requirement Analysis Feasibility Analysis

  

Data Collection and system design Data Modeling Process Modeling

Preliminary Section

Introduction Section

Literature Review Section

Research Methodology Section

Implementation and Testing

 

Test Cases Tools Used

Maintenance

 

Adaptive Maintenance Corrective Maintenance

 

Conclusion Recommendation

and Support

Discussion and Conclusion Section

Figure 1- Outline of document

4

Sahyogi : Locate hotels

CHAPTER 2: REQUIREMENT ANALYSIS AND FEASIBILITY 2.1 Literature Review

Trivago is a web as well as Android application. Basically, it is a hotel search engine useful to find out which hotels are in a city and a target price. We can book hotels, compare hotel prices over booking sites all over the world [1]. Booking is also a web as well as Android application that helps to book hotels and provides hotel costs [2]. TripAdvisor is the world's largest travel site, enabling travelers to unleash the full potential of every trip [3]. TripAdvisor offers advice from millions of travelers and a wide variety of travel choices and planning features with seamless links to booking tools that check hundreds of websites to find the best hotel prices. TripAdvisor branded sites make up the largest travel community in the world, reaching 350 million unique monthly visitors, and reached 385 million reviews and opinions covering more than 6.6 million accommodations, restaurants and attractions. The sites operate in 48 markets worldwide and have become the Google of the travel world, where people go for honest, unbiased reviews of hotels, restaurants, sights and activities by fellow travelers.

2.2 Requirement Analysis 2.2.1 Functional requirement



Admin needs to log into system. 5

Sahyogi : Locate hotels 

Admin will keep and update information of hotels and routes to destination.



User can search for hotels by budget, name/location.



Users can view the searched information.



Users can see the Google map of nearby hotels form searched hotels.

Users

Figure 2- Use case diagram for user

6

Sahyogi : Locate hotels

Admin

Figure 3- Use case diagram for admin

2.2.2

Non-functional requirement



The data about the hotels is fetched from Google Places API.



The search information regarding hotels by cost is fetched from the database.

7

Sahyogi : Locate hotels

2.3 Feasibility Analysis

The following result was obtained while performing a feasibility analysis:

2.3.1 Operational feasibility

This application is designed to run on personal computers having windows as well as Linux operating system. System’s user interface is easy to learn and to use. The application is not compatible for mobile devices. Maximum numbers of personal computers available in the market right now are able to run the application.

2.3.2 Technical feasibility

This application is designed to work on web platform. It can be developed using the available technology for which PHP, HTML, CSS, SQL, Google maps will be used. Proposed Technology is certainly going to provide practical solution.

2.3.3 Economical feasibility

The cost associated while building would be for data collection on hotels visiting various economic class hotels.

2.3.4 Schedule feasibility

The total estimated time for the development of the application was tentatively five months. The application development was completed in a time period of four months.

8

Sahyogi : Locate hotels

CHAPTER 3: SYSTEM DESIGN 3.1 Methodology

3.1.1

Method

Waterfall Model is used to build this system since it works well for smaller projects where requirements are very well understood. In this model each phase will define starting and ending point, with identifiable deliveries to the next phase. It starts from the existing situation, this system proceeds towards the desired solution in a number of steps. At each of these steps the Waterfall Model is followed.

Figure 4- Waterfall model

9

Sahyogi : Locate hotels 3.1.2

Data collection

Information is collected from a range of sources. Likewise, there are a variety of techniques to use when gathering primary data. Listed below are some of the most common data collection techniques used for collecting data for this project.



Interviews

a. Face to face:

In-order to get per day information about hotels costs and services hotel personnel was inquired face to face and collected data.

b. Telephone:

In-order to get per day information about hotels costs and services hotel administration was inquired and collected data. 

Online Websites

Various websites were taken into consideration to collect the data. 

From friends and relatives

Data were collected from friends and relatives since the person visiting the place would actually provide legitimate information so they were included as a source of information. Data is entered by admin, as the application requires data for providing information when users search. In this application user can either enter the location name or the budget to invest for the hotels. If the search is through location then the appropriate hotels for the location would be provided else the search is though budget then the hotels with entered budget would be listed from all over the location. 10

Sahyogi : Locate hotels

3.2 System Design

For the system analysis of this application, following two methods have been used: 

Data Modeling



Process Modeling

Data Modeling: ER Diagram

Figure 5- ER diagram

In the given ER diagram: 

location is an entity.



Admin is an entity



hotel_price is an entity



hotel_price has 3 attributes: 11

Sahyogi : Locate hotels







id is a primary key



name



price

location has 4 attributes: 

id is a primary key



address



minimum price



image

Admin has 2 attributes: 

email is a primary key



password

Process Modeling: DFD 

Context Level Diagram (0 Level DFD)

The figure below describes context diagram for the application. There are two process working: 

User searches hotel information via internet.



Actual application built in to send the response getting the information from the database.

Figure 6- Context level diagram

12

Sahyogi : Locate hotels Data Flow Diagram (DFD) 

1 Level DFD

The figure below shows a 1 level DFD for the application. The application has two devices functioning: 

User searches hotel information via internet.



Actual application built in to send the response getting the information from the database. Application admin inserts and updates hotel cost, image gallery and location of hotels.

In the figure, the application receives a search request from user. It responds the search by providing appropriate information to the user. Application searches the database and returns the matching hotel info as output to the requesting user. Also, as shown in the figure the application admin inserts and updates hotel cost, image gallery and location of hotels.

Figure 7- Data flow diagram

13

Sahyogi : Locate hotels

CHAPTER 4: IMPLEMENTATION AND TESTING 4.1 Implementation

At first, the data collection was done through interviews, web portals also through friends and relatives. Then, admin will store the collected data in the database using admin module. Similarly, User would be provided with the interface with the options to search either by hotel name or budget, based on the input given by the user appropriate result would be shown. If the search is through hotel name required hotels would be shown else if the search is by budget then the list of hotels matching the user budget would be shown.

Figure 8- Workflow diagram

4.1.1 Tools used

Tools and technologies used are:

14

Sahyogi : Locate hotels 

HTML and CSS

HTML and CSS have been used to define the structure and layout of the Web page by using a variety of tags and attributes.



PHP

PHP has been used to add functionality to this application that HTML alone can't achieve. Also, to interact with MYSQL databases to write and retrieve information from database as well as create pages using the contents of database. 

MYSQL

MYSQL has been used to store the information of the hotels such as location, price and photos.

4.2 Testing

Testing has been done to find and fix the issues of this application and test cases are given below.

Test Case- I Table 1- Hotel search by location

S.N Search location Result

Test pass/fail

1

Nagarkot

Club Himalaya

Pass

2)

Nagarkot

Hotel At The End Of Universe Pass

3)

Dhulikhel

Tashidelek guest lodge house

Pass

4)

Bhaktapur

Nyatapola Guest House

Pass

15

Sahyogi : Locate hotels

Test Case- II Table 2- Hotel search by budget

S.N Search Budget Result

Test pass/fail

1)

1600

Hotel At The End Of Universe

Pass

2)

1600

Tashidelek guest lodge house

Pass

16

Sahyogi : Locate hotels

CHAPTER 5: MAINTENANCE AND SUPPORT Maintenance and Support Strategies of this application are:

5.1 Adaptive Maintenance

The data for hotels budget may be changed over time so admin have to update hotel prices accordingly.

5.2 Corrective Maintenance

As application could be sold or deployed for public use. May be there could be unresolved issues and if user complains about it, the maintenance have to done. For user enhancement we need to add login feature in this application.

17

Sahyogi : Locate hotels

CHAPTER 6: CONCLUSION AND RECOMMENDATION 6.1 Conclusion

The project has been successful in providing information about the hotels such as cost and route to reach the hotels with the help of Google map. This application provides the search facility along with images and information about the hotels. Cheap and economical hotels have been especially targeted for students and teenagers. This project successfully fulfills the need of platform to search and gain information about various location and hotels of different places of Nepal.

6.2 Recommendations

As for now the project is only able to provide limited information regarding economical hotels cost and routes to reach the hotels. If we add the login feature we could provide extra feature like explore places nearby suggestion in the email. Another add up in the application can be recommending the hotels by analyzing the pattern of users who have searched the location and hotels mostly. Also, another feature would be to give user the rating the hotels, feedback and suggestions to hotel owners through application.

18

Sahyogi : Locate hotels

APPENDIX I Search interface

Location info

19

Sahyogi : Locate hotels About page

Admin page

20

Sahyogi : Locate hotels

APPENDIX II Admin Table

Location Info Table

Hotel price info Table

21

Sahyogi : Locate hotels

REFERENCES [1] "Trivago Reviews - Is it a Scam or Legit?" HighYa, 2016. [Online]. Available: http://www.highya.com/trivago-reviews. [Accessed: 02- Aug- 2016]. [2] "About us - Working at Booking.com", Working at Booking.com, 2016. [Online]. Available: https://workingatbooking.com/about-booking/. [Accessed: 02- Aug2016]. [3] "About

TripAdvisor",

Tripadvisor.com,

2016.

[Online].

https://www.tripadvisor.com/PressCenter-c6-About_Us.html.

Available:

[Accessed:

02-

Aug- 2016]. [4] NTB homework on internal tourism - The Himalayan Times", The Himalayan Times, 2010. [Online]. Available: http://thehimalayantimes.com/business/ntbhomework-on-internal-tourism/. [Accessed: 30- June- 2016]. [5] "NTB

homework

on

internal

Sportsnepaltour.com,

tourism

2016.

-

Sports

Tour

and

[Online].

Travel", Available:

http://www.sportsnepaltour.com/ntb-homework-on-internal-tourism.html. [Accessed: 22- June- 2016]. [6] DATA

COLLECTION

Available:

METHODS",

People.uwec.edu,

2016.

[Online].

https://people.uwec.edu/piercech/ResearchMethods/Data

collection

methods/DATA COLLECTION METHODS.htm. [Accessed: 02- Aug- 2016]. [7] "Internal Tourism in Nepal | Domestic and International", Glorioushimalaya.com, 2016. [Online]. Available: http://glorioushimalaya.com/hello-world/. [Accessed: 12- July- 2016]. [8] [13]2016.

[Online].

Available:

https://www.expedia.co.in/Hotel-

Search?#&destination=Bhaktapur, Nepal&startDate=01/09/2016&endDate=02/09/2016®ionId=6351250&latLon g=27.672660,85.430877&adults=2. [Accessed: 12- July- 2016]. [9] How to use PHP string in mySQL LIKE query?", Stackoverflow.com, 2016. [Online]. Available: http://stackoverflow.com/questions/10133450/how-to-usephp-string-in-mysql-like-query. [Accessed: 30- June- 2016].

22

sahyogi: locate hotels - GitHub

Hence, this project aims to build a web application which would be a centralized ... Keywords: Web platform, Searching, Google places API, Affordable Hotels ...

1MB Sizes 8 Downloads 186 Views

Recommend Documents

Colchester Hotels Audit.pdf
This page should load quicker. Reduce the page size. The number of file requests is acceptable. www.wivenhoehouse.co.uk/. URL is SEO friendly. Exact keyword not found in this URL. No underscores in URL. Page is close enough to top-level domain. SPEED

regency hotels & apartments -
2 Bed-Room and 3 Bed-Room, Executive, Fully Furnished & Fully Serviced Apartments are immediately available in either Area 9 or Area 3: Area 9: 2 minutes ...

Limited, Royal Orchid Hotels Limited and - NSE
Nov 30, 2017 - Sub: Listing of further issues of Idea Cellular Limited, Mindteck (India) Limited, Royal Orchid. Hotels Limited and Tech Mahindra Limited. In pursuance of Regulation 3.1.1 of the National Stock Exchange (Capital Market) Trading Regulat

2013 LOCATE Annual Report.pdf
Page. 1. /. 34. Loading… Page 1 ... There was a problem loading this page. 2013 LOCATE Annual Report.pdf. 2013 LOCATE Annual Report.pdf. Open. Extract.

The Leading Hotels of the World - LunaMetrics
LHW uses Google Analytics 360 to measure its website performance, ... Certified Partner, LHW took advantage of their data from Analytics 360 to do just that.

The Leading Hotels of the World - LunaMetrics
also provides the ability to access detailed, unsampled, hit-level data for analysis through a connection to Google BigQuery, a cloud database tool. To understand the different types of touchpoints, LunaMetrics assigned each page on the site to categ

pdfmaker cannot locate the adobe pdf printer driver
Whoops! There was a problem loading more pages. pdfmaker cannot locate the adobe pdf printer driver. pdfmaker cannot locate the adobe pdf printer driver.

Meliá Hotels International multiplies mobile ... services
world with 350 hotels across 35 countries. Goals. • Transforming mobile into a real distribution channel. • Providing free applications to fulfill clients expectations ...

Web Flights Hotels l'u'lore ' Help ' -
IEWanticketsd a Amazon.co. ... May 23 1 F El Tue_ M33127 1 r Lowest Prices Guaranteed. ... Stops ' F'rlce ' Airline ' Times ' More ' '9 I“ Dam“: $136 Round-m.

Chania Hotels 19-5-2015.pdf
Sign in. Loading… Whoops! There was a problem loading more pages. Retrying... Whoops! There was a problem previewing this document. Retrying.

Cost leadership and innovation effects on firm performance hotels ...
Cost leadership and innovation effects on firm performance hotels Malaysia article.pdf. Cost leadership and innovation effects on firm performance hotels ...

Choose From The Best Mansfield Hotels For Comfortable Stay.pdf ...
Page 1 of 1. Choose From The Best Mansfield Hotels For Comfortable Stay.pdf. Choose From The Best Mansfield Hotels For Comfortable Stay.pdf. Open. Extract.

Best hotels in Ooty | Book a best deal with fairstay
Fairstay hotles with green surrounding in Ooty, Lets enjoy your holidays packages with fairstay at pleasing cost. Book a Best deals in Online

Choose From The Best Mansfield Hotels For Comfortable Stay.pdf ...
Page 1 of 1. Choose From The Best Mansfield Hotels For Comfortable Stay.pdf. Choose From The Best Mansfield Hotels For Comfortable Stay.pdf. Open. Extract.

Starwood Hotels & Resorts achieves 20x increase ... - Think with Google
guests' mobile behavior so we can communicate with them in the right place at the right time.” Working together, the Starwood Hotels & Resorts and Razorfish ...

Hotels+places list_Athens 22-10-2015.pdf
(Μόνο εκδόσεις City Contact). 9 AREOS Μπουμπουλίνας 19 Μουσείο 40 Info Stand®. 10 ARETHUSA Μητροπόλεως 6-8 & Νίκης 12 Σύνταγμα 158 Info Stand®.

Starwood Hotels & Resorts achieves 20x increase in mobile paid ...
Working with digital marketing agency Razorfish, Starwood Hotels & Resorts began running hyperlocal ... and iterate approach to achieve the best results. “We slowly ... ad campaigns, we gained precise insight into the number and duration of calls t