You are on page 1of 96

TOURIST+ 2021

ACKNOWLEDGEMENT
SHRI SHAMBHUBHAI V. PATEL COLLEGE OF COMPUTER
SCIENCE & BUSINESS MANAGEMENT, SURAT

VEER NARMAD SOUTH GUJARAT UNIVERSITY, SURAT

A PROJECT REPORT
ON

“TOURIST +”

AS A PARTIAL REQUIREMENT FOR THE DEGREE OF


BACHELOR OF COMPUTER APPLICATION
(B.C.A)

DURING 6TH SEMESTER


YEAR:2020-21

SUBMITTED BY: GUIDED BY:


Harikrushan Virani Prof. Ridhhi Joshi
Bansi Suhagiya
Harshid Vekariya

Page 1
TOURIST+ 2021

INDEX
SR.NO Particular Page no
1 Introduction 5
1.1 Project Profile 6

2 System Environment 7
2.1 Hardware Used 8
2.2 Software Used 8

3 Problem Specification 9
3.1 Introduction, Objective, Purpose 10
3.2 System model 12
3.3 Feasibility Study 13
3.3.1 Economic Feasibility 13
3.3.2 Technical Feasibility 13
3.3.3 Behavioural Feasibility 14

4 Risk Identification & Management 15


4.1 Risk Monitoring 16

5 Technology used for development 17

6 Planning 27
6.1System Planning 28
6.2 Timeline chart 29

7 System Analysis 30
7.1 Database Design 31
7.2ER-Diagram 32
7.3 Dataflow Diagram 33
7.4 Data Dictionary 46

8 Designing 53
8.1 User interface 54

9 Testing 78
9.1 Software Testing 79

Page 2
TOURIST+ 2021

9.2 Unit Testing 80


9.3 System Testing 80

10 Reference 88

Page 3
TOURIST+ 2021

1.INTRODUCTION
1.1) Project Profile

Page 4
TOURIST+ 2021

PROJECT PROFILE

Project Name: Tourist+.

Technology : PHP With XAMP (Cross-Platform Apache Mysql


Php) Server
Front End : Core PHP

Back End : MySQL

Internal Guide : Mrs. Riddhi Joshi

Submitted To : Shri Shambhubhai V. Patel College of Computer


Science & Business Management.
Developed By : Virani Harikrishana a.

Bansi Suhagiya n.

Vekariya Harshid h.

Page 5
TOURIST+ 2021

2.ENVIRONMENT DESCRIPTION

2.1) Hardware Used


2.2) Software Used

Page 6
TOURIST+ 2021

Hardware Used

Processor Intel(R) Core(TM) i3-6006U CPU @ 2.00 GHz

Hard Disk 1 TB

RAM 4 GB

Sofeware Used

Operating Windows10
System

Browser Google Chrome, Mozilla Firefox

Database MySQL

Page 7
TOURIST+ 2021

3.PROBLEM SPECIFICATION
3.1) Introduction, Objective
3.2) System model
3.3) Feasibility Study
3.3.1 Economic Feasibility
3.3.2 Technical Feasibility
3.3.3 Behavioural Feasibility

Page 8
TOURIST+ 2021

Introduction, Objective

Introduction
 The Tourist+ is a Web-based application for tours and travels.
 Main objective of Tourisum includes the activities of people
travelling and staying in a place away from their home environment
for vacation, business or other purposes.
 It provides various categories for tours and travels some common
are: family trip, Couple trip, General trip, business trip etc.
 As the customer ask for the details of a particular trip , “The hotel
& Traveller” system gives the details of the related place where
travellers wants to travel along with all the includes and excludes
services.
 Application also stores other details of traveller like date and time
of the trip , number of persons, fair of the trip , package and
personal details.
 The project “Tourist+” system is developed to replace the manual
system limitation for traveller. which helps in keeping records of
the customer details of destination as well as payment received.

Advantage of System
1. Admin earns when hotel and traveller select package
and pays for package.
2. Hotel and traveller earns when user pays for booking
hotels and tour.
3. User can get service by hotel and tour.

 Objective and Purpose

 The objective of our system is to provide fast, free, reliable and


detailed information to our users connect To Hotel And Tour
Provider.

Page 9
TOURIST+ 2021

System model
There are Four main component of Tourist+.
1. Admin
2. Hotel
3. Tour
4. User

 Admin
 Register
 Login
 Manage Contact
 Manage Email Subscriber
 Manage State City Area
 Manage Package
 Manage Place
 Manage Traveller
 Manage Active Hotel
 Manage Deactive Hotel
 Manage Active User
 Manage Deactive Use
 Manage Change Password
 Hotel
 Registration
 Login
 Manage Room
 Manage Review
 Manage Booking
 Edit Profile
 Tour
 Registration
 Login
 Manage Package
 Manage Tour Book
 Edit Profile

Page 10
TOURIST+ 2021

 User
 Registration
 Login
 Tour Book
 Hotel Book
 Hotel Review
 Contact
 Edit Profile
 Favourite Tour And Hotel
 Chage Password
 Email Subscriber
 Feedback

Page 11
TOURIST+ 2021

Feasibility Study

 Determine the feasibility of writing web application using PHP and


MYSQL.
 Build a near "real-world" proof of concept application to test
feasibility and to give some proof to the reader that it is at least
possible in some scenarios.
 Try to determine what is "easy" and what is "difficult" and build an
issues list for the reader.
Economic Feasibility

 We had planned to use latest web application like sublime and web
technologies such as CSS, JavaScript, JQuery and HTML5 and
CodeIgniter.
 You must also consider the feasibility of such a design with respect
to licensing. Current licensing guidelines prevent Office
Applications from being used on a server to service client requests,
unless those clients themselves have licensed copies of Office.
Using server-side Automation to provide Office functionality to
unlicensed workstations is not covered by the End User License
Agreement.
 Upon the initiation of the project you should prepare a feasibility
analysis that provides an assessment of the business and technical
quality of the application.

Technical Feasibility

 Your operational practices must be well-defined so that your


application integration environment can continue to operate
effectively and reliably over time. It is important to prioritize
application features supporting operations requirements early in the
life cycle so these tradeoffs and decisions can be factored into the
application implementation from the start.
 This section discusses the various operational management
considerations involved. Implementing the capabilities listed in this

Page 12
TOURIST+ 2021

section should help to ensure that your architecture continues to


function as smoothly as possible.
 Without backups of other data, the instance configuration,
application operational definitions, subscription management
interfaces, custom components, and any other files required by your
applications, you will not be able to fully recover an instance of
Notification Services.
 When any guest user visit links from our site, then the analytics
operation also be done.

Behavioural Feasibility

 Prototype can be a convincing sales tool to alleviate the customer's


concerns about the feasibility of a certain feature or to highlight the
speed of the development process.
 In most cases, the only way to determine the feasibility of a specific
application is to test it in the Terminal Services environment.
 However, there are some application behaviours and origins that are
known to be incompatible with or detrimental to the Terminal
Services environment.
 Local resource access and downstream calls are made using the
current process identity. The feasibility of this approach depends on
the boundary being crossed, because the process identity must be
recognized by the target system.

Page 13
TOURIST+ 2021

4.RISK IDENTIFICATION & MANAGMENT

4.1) Risk Monitoring

Page 14
TOURIST+ 2021

Risk Monitoring

Risk Probability Effect Risk Planning


Strategy

Inappropriate version High Serious Carefully select the


of packages and specific versions of
development tool tools and components
to use and ensure that
every member will
adhere to the choice
throughout the entire
project.

Failure to meet dead High Serious Setup milestones


lines for deliverable ahead of the final due
date for each
deliverable.

If a suitable place for Moderate Tolerable Use email as the


meeting the team backup communication
cannot be found channel to avoid this
risk

Page 15
TOURIST+ 2021

5.TECHNOLOGY USE FOR DEVLOPMENT

Page 16
TOURIST+ 2021

Technology used for development

 CodeIgniter
 Ajax
 JQuery
 MySQL
 CSS
 Java-Script
 Xamp server

1. CodeIgniter
 CodeIgniter is an application development framework, which can
be used to develop websites, using PHP.
 It is an Open Source framework. It has a very rich set of
functionality, which will increase the speed of website development
work.
 If you know PHP well, then CodeIgniter will make your task easier.
 It has a very rich set of libraries and helpers.
 By using CodeIgniter, you will save a lot of time, if you are
developing a website from scratch.
 Not only that, a website built in CodeIgniter is secure too, as it has
the ability to prevent various attacks that take place through
websites.

 CodeIgniter Features:

 Free to use
 It is licensed under MIT license, so it is free to use.
 Follows MVC Pattern
 It uses Model-View-Controller which basically separates
logic and presentation parts. Request comes to controller,
database action is performed through model and output is
displayed through views.
 But in normal PHP scripting, every page represents MVC
which increases complexity.
 Light weight

Page 17
TOURIST+ 2021

 It is extremely light-weighted. CodeIgniter core system


requires very small library, other libraries may be added
upon dynamic request based upon your needs. That is
why it is quite fast and light weighted.
 Generate SEO friendly URLS
 URLs generated by CodeIgniter are search-engine
friendly and clean. It uses a segment based approach
rather than standard query based approach.

 Built-in libraries

 It comes with full packet libraries that enable all the web
needed tasks like database, form validation, sending
email, manipulating images, sending emails, etc.

 Some other Features:


 Security and XSS Filtering
 File uploading, session management, pagination, data
encryption
 Flexible URI Routing
 Zip encoding class
 Error logging
 Full page caching
2. Ajax
 Ajax refers to JavaScript and XML, technologies that are widely
used for creating dynamic and asynchronous web content.
While Ajax is not limited to JavaScript and XML technologies,
more often than not they are used together by web applications.
 The focus of this tutorial is on using JavaScript based Ajax
functionality in Java Server Faces web applications.
 JavaScript is a dynamic scripting language for web applications.
 It allows users to add enhanced functionality to user interfaces
and allows web pages to interact with clients asynchronously.
 JavaScript runs mainly on the client side (as in a browser) and
thereby reduces server access by clients.
 When a JavaScript function sends an asynchronous request from
the client to the server, the server sends back a response that is
used to update the page's Document Object Model (DOM).

Page 18
TOURIST+ 2021

 This response is often in the format of an XML document. The


term Ajax refers to this interaction between the client and
server.
 The server response need not be in XML only, it can also be in
other formats, such as JSON. This tutorial does not focus on the
response formats.
 Ajax enables asynchronous and partial updating of web
applications.
 Such functionality allows for highly responsive web pages that
are rendered in near real time.
 Ajax-based web applications can access server and process
information and can also retrieve data without interfering with
the display and rendering of the current web page on a client
(such as a browser).

 Some of the advantages of using Ajax are as follows:


 Form data validation in real time, eliminating the need
to submit the form for verification.
 Enhanced functionality for web pages, such as user
name and password prompts.
 Partial update of the web content, avoiding complete
page reloads.
3.JQuery
 JQuery, at its core, is a Document Object Model (DOM)
manipulation library.
 The DOM is a tree-structure representation of all the elements of a
Web page jQuery simplifies the syntax for finding, selecting, and
manipulating these DOM elements.
 For example, jQuery can be used for finding an element in the
document with a certain property (e.g. all elements with an h1
tag), changing one or more of its attributes (e.g. color, visibility),
or making it respond to an event.
 JQuery also provides a paradigm for event handling that goes
beyond basic DOM element selection and manipulation.
 The event assignment and the event callback function definition
are done in a single step in a single location in the code.

Page 19
TOURIST+ 2021

 JQuery also aims to incorporate other highly used JavaScript


functionality.

 The principles of developing with jQuery are:

 Separation of JavaScript and HTML


 The jQuery library provides simple syntax for adding
event handlers to the DOM using JavaScript, rather than
adding HTML event attributes to call JavaScript
functions.
 Thus, it encourages developers to completely separate
JavaScript code from HTML mark-up.
 Brevity and clarity
 JQuery promotes brevity and clarity with features like
chainable functions and shorthand function names.

 Elimination of cross-browser incompatibilities


 The JavaScript engines of different browsers differ
slightly soJavaScript code that works for one browser
may not work for another.
 Like other JavaScript toolkits, jQuery handles all these
cross-browser inconsistencies and provides a consistent
interface that works across different browsers.
 Extensibility
 New events, elements, and methods can be easily added
and then reused as a plugin.
4. MySQL
 MySQL is a relational database management system
(RDBMS) released under the GNU General Public License
(GPL).
 It is one of the most widely used open-source database
systems, and is compatible with a multitude of website
applications.
 Dream Host also offers SQLite on Dream Host VPS and
Dedicated servers.
 MYSQL is written in Cand C++. Its SQL parser is written in
yacc, but it uses a home-brewed lexical analyzer. MySQL
works on many system platforms, Including AIX, BSDi,

Page 20
TOURIST+ 2021

FreeBSD, HP- UX, eComStation, i5/OS, IRIX, Linux, macOS,


Microsoft Windows, NetBSD, Novell NetWare, OpenBSD,
OpenSolaris, OS/2 Warp. QNX, Oracle Solaris, Symbian,
SunOS, SCO OpenServer, SCO UnixWare, Sanos and Tru64.
A port of MySQL to OpenVMS also exists.
 The MySQL server software itself and the client libraries use
dual- licensing distribution.
 They are offered under GPL version 2,beginning from 28 June
2000 (which in 2009 has been extended with a FLOSS License
Exception) or to use proprietary license.
 Support can be obtained from the official manual. Free support
additionally is available in different IRC channels and forums.
 Oracle offers paid support via its MySQL Enterprise products.
 They differ in the scope of services and in price. Additionally,
a number of third party organizations exist to provide support
and services, including MariaDB and Percona.
 MySQL has received positive reviews, and reviewers noticed it
"performs extremely well in the average case" and that the
"developer interfaces are there, and the documentation (not to
mention feedback in the real world via Web sites and the like)
is very, very good".
 It has also been tested to be a "fast, stable and true multi-user,
multi-threaded sql database server".

 MYSQL Features

 Relational Database Management System (RDBMS)


 MySQL is a relational database management system.

 Easy to use
 MySQL is easy to use. You have to get only the basic
knowledge of SQL.
 You can build and interact with MySQL with only a few
simple SQL statements.
 It is secure
 MySQL consist of a solid data security layer that protects
sensitive data from intruders.
 Passwords are encrypted in MySQL.
 Client/ Server Architecture

Page 21
TOURIST+ 2021

 MySQL follows a client /server architecture.


 There is a database server (MySQL) and arbitrarily many
clients (application programs), which communicate with the
server, that is, they query data, save changes, etc.
 Free to download
 MySQL is free to use and you can download it from
MySQL official website.
 It is scalable
 MySQL can handle almost any amount of data, up to as
much as 50 million rows or more.
 The default file size limit is about 4 GB. However, you can
increase this number to a theoretical limit of 8 TB of data.
 Compatible on many operating systems
 MySQL is compatible to run on many operating systems,
like Novell NetWare, Windows* Linux*, many varieties of
UNIX* (such as Sun* Solaris*, AIX, and DEC* UNIX),
OS/2, FreeBSD*", and others.
 MySQL also provides a facility that the clients can run on
the same computer as the server or on another computer
(communication via a local network or the Internet).
 Allows roll-back
 MySQL allows transactions to be rolled back, commit and
crash recovery.
 High Performance
 MySQL is faster, more reliable and cheaper because of its
unique storage engine architecture.
 High Flexibility
 MySQL supports a large number of embedded applications
which makes MySQL very flexible.
 High Productivity
 MySQL uses Triggers, Stored procedures and views which
allows the developer to give a higher productivity.

Page 22
TOURIST+ 2021

5. CSS

 CSS stands for Cascading Style Sheets. CSS describes how


HTML elements are to be displayed on screen, paper, or in other
media.CSS saves a lot of work.
 It can control the layout of multiple web pages all at once,
External style sheets are stored in CSS files.
 Cascading Style Sheets (CSS) is a simple mechanism for adding
style (e.g., fonts, colors, and spacing) to Web documents. These
pages contain information on how to learn and use CSS and on
available software.
 Cascading Style Sheets (CSS) is a style sheet language used for
describing the presentation of a document written in a markup
language Although most often used to set the visual style of web
pages and user interfaces written in HTML and XHTML, the
language can be applied to any XML document, including plain
XML, SVG and XUL, and is applicable to rendering in speech, or
on other media.
 Along with HTML and JavaScript, CSS is a cornerstone
technology used by most websites to create visually engaging
web pages, user interfaces for web applications, and user
interfaces for many mobile applications.
 Separation of formatting and content makes it possible to present
the same mark-up page in different styles for different rendering
methods, such as onscreen, in print, by voice (via speech-based
browser or screen reader), and on Braille-based tactile devices.
 It can also display the web page differently depending on the
screen size or viewing device. Readers can also specify a
different style sheet, such as CSS file stored on their own
computer ,to override the one author specified.
 Changes to the graphic design of a document (or hundreds of
documents) can be applied quickly and easily, by editing a few
lines in the CSS file they use, rather than by changing mark-up in
the documents.
 The CSS specification describes a priority scheme to determine
which style rules apply if more than one rule matches against a
particular element.
 In this so-called cascade. priorities (or weights) are calculated
and assigned to rules, so that the results are predictable.

Page 23
TOURIST+ 2021

 CSS is designed primarily to enable the separation of


presentation and content, including aspects such as the layout,
colors, and fonts.
 This separation can improve content accessibility, provide more
flexibility and control in the specification of presentation
characteristics, and enable multiple HTML pages to share
formatting by specifying the relevant CSS in a separate.
 CSS file, and reduce complexity and repetition in the structural
content.

6. Java-Script
 JavaScript is a multi-paradigm, dynamic language with types and
operators, standard built-in objects, and methods. Its syntax is based
on the Java and C languages - many structures from those languages
apply to JavaScript as well.
 JavaScript supports object-oriented programming with object
prototypes, instead of classes (see more about prototypical
inheritance and ES2015 classes).
 JavaScript also supports functional programming - functions are
objects, giving functions the capacity to hold executable code and
be passed around like any other object.
 Let's start off by looking at the building blocks of any language: the
types. JavaScript programs manipulate values, and those values all
belong to a type.

 JavaScript's types are:


 Number
 String
 Boolean
 Function
 Object
 Symbol

 Array, which is a special kind of object and Date and Range, which
are objects that you get for free.
 And to be technically accurate, functions are just a special type of
object.

Page 24
TOURIST+ 2021

 So the type diagram looks more like this:


 Number
 String
 Boolean
 Symbol (new in ES2015)
 Object
 Function
 Array
 Date
 RegExp
 null
 undefined

7. XAMP SERVER
 Xamp Server refers to a software stack for the Microsoft
Windows operating system, created by Romain Bourdon and
consisting of the Apache web server, OpenSSL for SSL
support, MySQL database and PHP programming language.
 XampServer is a Web development platform on Windows that
allows you to create dynamic Web applications with Apache2, PHP,
MySQL and MariaDB. Xamp Server automatically installs
everything you need to intuitively develop Web applications. You
will be able to tune your server without even touching its setting
files. Best of all, XampServer is available for free (under GPML
license) in both 32 and 64 bit versions. XampServer is not
compatible with Windows XP, SP3, or Windows Server 2003.

Features

 Manage your Apache, MySQL and MariaDB services


 Install and switch Apache, MySQL, MariaDB and PHP
releases
 Manage your servers settings
 Access your logs
 Access your settings files
 Create alias
 Use VirtualHost as hosters

Page 25
TOURIST+ 2021

6.PLANNING
6.1) System Planning
6.2) Timeline Chart

Page 26
TOURIST+ 2021

System Planning
 To develop a web application it is most important to identify the user
requirements in very specific manner. The correct system is that
satisfied all users requirements. Therefore it is very important to
analyze the existing system and to document the software requirement
specification for proposed system, which in turn provides the base for
development of the proposed system.
 Along with our technical training, we simultaneously started the
system study and analysis. During this phase, initially, we started with
studying the system specification documents to understand the system
and unveil the basic system elements involved.

Requirement
Gathering

Requirement
Analysis

Analyze Determine
gathered Scope of the
Information System

Planning & Risk


Analysis

Coding &
Designing Integrating
Module

Testing
Page 27
TOURIST+ 2021

Timeline Chart

Date 10 12 1 1 2 2 4 13 29 3 6 1 6 1
3 6 4 9 2 5
Decemb January February March April
Month er

Activity
Domain
Understandi
ng
Further
Analysis

Learning
Process
Design

Coding

Testing

Final Doc &


presentation

Page 28
TOURIST+ 2021

7.SYSTEM ANALYSIS

7.1) Database Design


7.2) ER-Diagram
7.3) Dataflow Diagram
7.4) Data Dictionary

Page 29
TOURIST+ 2021

Database Design

Page 30
TOURIST+ 2021

ER-Diagram

Page 31
TOURIST+ 2021

Dataflow Diagram

 One of the tools of the structure analysis is the Data flow Diagram.
 A DFD is a graphical representation of the system.
 The data flow Diagram is used by the System analysis to explain the
flow of the data in the system.
 A DFD uses some elements as its building blocks.
 The following is a brief description of these elements.

 External entity

 The external entities a source and/or destination of the data for the
system as the name suggest, it lies outside the context of the
system. It is represented by solid rectangles.

 Process
 A process represents some amount of word being performed on
the data. A process does transformation of the data from one form
to another.
 A circle represents a process.
 The process must be named and numbered appropriately.

 Data flow
 A data flow designates an interface among different component in
the DFD. It represent the path of data as it flow through the

Page 32
TOURIST+ 2021

system. An arrow represents a data flow. The name of the data


flow is written along the line.

 Data source
 A data source is a repository of data. An open ended rectangle or
two horizontal parallel lines represent it.

 A DFD which describes the system at a very general level, is


called the context diagram. It contains a single process, but it plays
a very important role in studying the system.

Page 33
TOURIST+ 2021

Context Level DFD

Page 34
TOURIST+ 2021

First Level DFD

Page 35
TOURIST+ 2021

Secound Level DFD

Registration

Login & Forget Password

Page 36
TOURIST+ 2021

Location

Hotel

Page 37
TOURIST+ 2021

Tour

Booking

Page 38
TOURIST+ 2021

Payment

Feedback

Page 39
TOURIST+ 2021

Inquiry

Page 40
TOURIST+ 2021

Process Specification

Process name Registration process


Process No 1.0
Input Registartion Detail
Output Current Registartion Detail
Logic For The register user the data like
firsname,lastname,email id and other will accepted and
stored it into userregistrationmst and same process will
repeate other users, admin, hotel, traveller.

Process name Login process


Process No 2.0
Input Login Detail
Output valid/invalid logindetail
Logic for the login user will enter it's username and password
it's fatched from userregistrationmst.if the data invalid it's
show error message if valid then redirect to it's respected
page.same process repeate for other user, admin, hotel
and traveller.

Process name Manage Package Process


Process No 3.0
Input Package Detail
Output Current package Detail
Logic Admin will add Package and that stored it in package
table.

Process name Payment Process


Process No 4.0
Input Payment Detail
Output Current Payment Detail
Logic Provider will Payment and then user data store hotelbook
and tourbook table.

Page 41
TOURIST+ 2021

Process name Inquiry process


Process No 5.0
Input Inquiry Detail
Output Inquiry response Detail
Logic Provider will inquiry about business and seeker will
inquiry related service and inquiry message is stored in
Contact_us table.

Process name Paid Package process


Process No 6.0
Input Paid Package Detail
Output Current Paid package Detail
Logic Admin will add package and that package hotel and
traveller select package and pay money.

Process name State process


Process No 7.0
Input State Detail
Output Current State Detail
Logic Admin will add State and hotel and traveller select that
state.

Process name City process


Process No 7.1
Input City Detail
Output Current City Detail
Logic Admin will add State and hotel and traveller select that
City.

Process name Area process


Process No 7.2
Input Area Detail
Output Current Area Detail
Logic Admin will add State and hotel and traveller select that
Area.

Page 42
TOURIST+ 2021

Process name Review process


Process No 8.0
Input Detail for review wise hotel
Output Current review Detail
Logic User send review for perticuler hotel and than review are
store in review table.

Process name Email Subscriber


Process No 9.0
Input Detail for email subscriber .
Output Current Email subscriber Detail
Logic User subscriber email for website

Process name Facility


Process No 10.0
Input Detail for Facility.
Output Current Active Hotel And Traveller Admin.
Logic Active Hotel And Traveller Admin Add Facility Show
User Silde.

Process name Favourite


Process No 11.0
Input Current User Add Favourite Hotel Tour Packge.
Output Current User Find Select Fvourite Hotel Tour And
Package .
Logic Active User Selected Favourite Hotel ,Tour ,Package and
then user show in profile and admin store in favourite
table.

Process name Feedback


Process No 12.0
Input Current User Send feeback Hotel ,Tour And Packge.
Output Feedback Visible Admin, Hotel And Traveller Side.
Logic For The feedback user the data like
firsname,lastname,email id and other will accepted and
stored it into Feedback Table.

Page 43
TOURIST+ 2021

Process name Hotel Book


Process No 13.0
Input Hotel Book Detail
Output Current Hotel Book Detail
Logic For The hotelbook the data like firsname,lastname,email
id,hotelname and other will accepted and stored it into
hotelbook Table.

Process name Place


Process No 14.0
Input Place Detail
Output Current Place Detail
Logic Admin will add Place And User ,Traveller Select Those
Place.

Process name Room


Process No 15.0
Input Room Detail
Output Current Room Detail
Logic Hotel Admin Add Hotel Room Category Wise , The Data
Store In room table. User Select Hotel Room Category
Wise.

Page 44
TOURIST+ 2021

Data Dictionary

1.Table Name: Admin_package


Column name Data Data Constraint Description
type size
Admin_package_ Int 5 Primary Unique id of Admin pkg.
id Key table
Name Varchar 100 Not null Name of package
Duration Varchar 100 Not null Time of package
Amount Varchar 100 Not null Amount of package
Discription Varchar 500 Not null Package discription

2.Table Name: Tbl_Admin_login


Column name Data Data Constraint Description
type size
Login_id Int 5 Primary Unique id of admin login
Key table
Name Varchar 200 Not null Name of admin
password Varchar 2000 Not null Admin password
Email Varchar 50 Not null Admin email
Last_login datetime Not null Seen last login

3.Table Name: Tbl_Contact_us


Column name Data Data Constraint Description
type size
Contact_id Int 5 Primary Unique id of
Key Contect_us table
Name Varchar 20 Not null Name of contect user
Email Varchar 25 Not null Contect user email
Phno_number Varchar 12 Not null Contect user ph.no
Subject Varchar 50 Not null Inquiry of web
msg Varchar 250 Not null Contect user send msg.

Page 45
TOURIST+ 2021

4.Table Name: tbl_email_subscriber


Column name Data Data Constraint Description
type size
Email_id Int 10 Primary Unique id of
Key Email subscriber table
email Varchar 50 Not null User email

5.Table Name: tbl_facility


Column name Data Data Constraint Description
type size
Facility_id Int 5 Primary Key Unique id of facility table

Faclility Varchar 250 Not null Facility of hotel


Type Varchar 20 Not null Type of hotel and tour
Hotel_id Int 5 Foreign Key Id of hotel table

6.Table Name: tbl_favourite


Column name Data Data Constraint Description
type size
Favourite_id Int 11 Primary Key Unique id of favourite
table
Register_id Int 11 Foreign Key Id of register table
Type_id Int 11 Foreign Key Favourite place ,hotel ,pkg
type Varchar 20 Not null Type place ,hotel ,pkg.

7.Table Name: tbl_feedback


Column name Data Data Constraint Description
type size
F_id Int 5 Primary Key Unique id of feedback
table
Fname Varchar 20 Not null Name of user first name
Lname Varchar 20 Not null Name of user last name
Email Varchar 30 Not null User email
discription Varchar 500 Not null Feedback description

Page 46
TOURIST+ 2021

8.Table Name: tbl_hotel


Column name Data Data Constraint Description
type size
Hotel_id Int 5 Primary Unique id of hotel table
Key
Location_id Int 5 Foreign Id of location table
Key
Name Varchar 50 Not null Name of hotel
Star Varchar 100 Not null Star of hotel
Address Varchar 250 Not null Hotel address
Iframe Varchar 500 Not null Hotel location
Website Varchar 1000 Not null Hotel website
Mobile Varchar 10 Not null Hotel number
Email Varchar 50 Not null Hotel email
Photos Varchar 1000 Not null Hotel photo
Description Varchar 1000 Not null Hotel disruption
Facility Varchar 500 Not null Hotel facility
Policy_id Varchar 500 Not null Hotel policy
password Varchar 1000 Not null Hotel password
Admin_packag Int 5 Foreign Id of admin package table
e_id Key
Status Varchar 100 Not null Status of hotel
sname Varchar 100 Not null Name of state

9.Table Name: tbl_hotelbook


Column name Data Data Constraint Description
type size
Hotel_book_id Int 5 Primary Unique id of hotel table
Key
Email Varchar 200 Not null User email
Hotel_id Int 5 Foreign Id of hotel table
Key
Room_type Varchar 100 Not null Types of room
Checking_date Datetime Not null Hotel checking date
Numberday Varchar 100 Not null Number of day
Person Int 10 Not null How many person
Book _date date Not null Booking date
status Varchar 50 Not null Status of hotel

Page 47
TOURIST+ 2021

10.Table Name: tbl_package


Column name Data Data Constraint Description
type size
Package_id Int 5 Primary Unique id of hotel table
Key
Name Varchar 50 traveller name
Location_id Int 50 Foreign Id of location table
Key
Hotel_id Int 5 Foreign Id of hotel table
Key
Travel_type Varchar 100 Not null Type of travel
Traveller_id Int 50 Foreign Id of traveller table
Key
Facility text Not null Travel facility
Description Varchar 100 Not null Travel description
Photos text Not null Travel photos
place_id Int 11 Foreign Id of place table
Key
Days Int 11 Not null Travel day
Night Int 11 Not null Travel night
price Int 11 Not null Travel price

11.Table Name: tbl_packagebook


Column name Data Data Constraint Description
type size
Booking_id Int 10 Primary Unique id of hotel table
Key
Email Varchar 100 Not null User email
Place_id Int 10 Foreign Id of place table
Key
Traveller_id Int 10 Foreign Id of travelller table
Key
Traveller_pack Int 10 Foreign Id of traveller package table
age_id Key
Price Int Not null Package price
Bookdatetime datetim 10 Not null Packge book time
e
status Int 10 Not null Package status

Page 48
TOURIST+ 2021

12.Table Name: tbl_place


Column name Data Data Constraint Description
type size
Place_id Int 5 Primary Unique id of place table
Key
Name Varchar 50 Not null Place name
Photo Varchar 100 Not null Place photos
discription Varchar 500 Not null Place description

13.Table Name: tbl_policy


Column name Data Data Constraint Description
type size
Policy_id Int 5 Primary Unique id of policy table
Key
Policy Varchar 500 Not null Hotel policy
Hotel_id Int 5 Foreign Id of hotel table
Key

14.Table Name: tbl_register


Column name Data Data Constraint Description
type size
Register_id Int 5 Primary Unique id of hotel table
Key
Name Varchar 50 Not null User name
Email Varchar 50 Not null User email
Phone Varchar 50 Not null User phone
Password Varchar 2500 Not null User password
Datetime Datetime Not null User datetime
Gender Varchar 10 Not null User gender
Location_id Int 10 Foreign Id of location table
Key
Status Int 11 Not null Status of user
address Varchar 200 Not null User address

Page 49
TOURIST+ 2021

15.Table Name: tbl_review


Column name Data Data Constraint Description
type size
Review_id Int 5 Primary Unique id of review table
Key
Review Varchar 100 Not null Hotel review
Email Varchar 100 Not null User email
Date Datetime Not null Review date
Hotel_id Int 5 Foreign Id of hotel table
Key

16.Table Name: tbl_room


Column name Data Data Constraint Description
type size
Room _id Int 5 Primary Unique id of room table
Key
Hotel_id Int 5 Foreign Id of hotel table
Key
Room_type Varchar 100 Not null Room type
Capacity Varchar 100 Not null Room capacity
Price Varchar 100 Not null Room price
photos Varchar 100 Not null Room photos

17.Table Name: tbl_state


Column name Data Data Constraint Description
type size
State_id Int 5 Primary Unique id of state table
Key
name varchar 20 Not null State name

Page 50
TOURIST+ 2021

18.Table Name: tbl_traveller


Column name Data Data Constraint Description
type size
Traveller_id Int 50 Primary Unique id of traveller table
Key
Title Varchar 20 Not null Travel title
Fname Varchar 20 Not null Travel first name
Lname Varchar 20 Not null Travel last name
Email Text Not null Travel email
Contact Varchar 12 Not null Travel contact
Dob date Not null Travel dob
Address Varchar 100 Not null Travel address
Location_id Int 100 Foreign Id of location table
Key
Profile Varchar 100 Not null Travel profile
Password text Not null Travel password
Admin_packag Int 20 Foreign Id of admin package table
e_id Key
status Int 11 Not null Status of travel

19.Table Name: tbl_area


Column name Data Data Constraint Description
type size
Area_id Int 50 Primary Unique id of hotel table
Key
Sname Varchar 20 Foreign Name of state table
Key
Cname Varchar 20 Foreign Name of city table
Key
aname Varchar 20 Not null Area name

Page 51
TOURIST+ 2021

8.DESIGNING

8.1) User interface

Page 52
TOURIST+ 2021

User Side
1. User Register

2. Login Page

Page 53
TOURIST+ 2021

3.login after redirect editprofile page

4.User Home Page

Page 54
TOURIST+ 2021

5. User About-us.

6. Tour View

Page 55
TOURIST+ 2021

7. Tour Book

8. Package Book

Page 56
TOURIST+ 2021

9. Tour Book Payment

10. Tour Payment Detail

Page 57
TOURIST+ 2021

11. Tour Payment Successfully

12. Tour Book Detail

Page 58
TOURIST+ 2021

13. Tour Bill Download

14. User Email Send Tour Detail.

Page 59
TOURIST+ 2021

15. Hotel Result

16. Hotel Room Detail

Page 60
TOURIST+ 2021

17. Room Book

18. Hotel Payment

Page 61
TOURIST+ 2021

19. Payment Detail

20. Payment Successfully

Page 62
TOURIST+ 2021

21. Hotel Book Bill Dwonload

22. User Email Send Hotel Booking Detail.

Page 63
TOURIST+ 2021

23. Hotel Book Cancel

24. Inquery

Page 64
TOURIST+ 2021

25. Email Subscriber

26.Favourite Place

Page 65
TOURIST+ 2021

27. Favourite Pakage

28. Favourite Hotel

Page 66
TOURIST+ 2021

29. Change Password

Page 67
TOURIST+ 2021

Admin Side
1. Admin Register

2. Login

Page 68
TOURIST+ 2021

3. Admin Dashboard

4. Edit Profile

Page 69
TOURIST+ 2021

5. Inquery Detail

6. Email Subscriber

Page 70
TOURIST+ 2021

7. Feedback

8. Add Sate

Page 71
TOURIST+ 2021

9. Add City

10. Add Area

Page 72
TOURIST+ 2021

11. Update Area

12. Delete Area

Page 73
TOURIST+ 2021

13. Add Package

14. Add Place

Page 74
TOURIST+ 2021

15. Total Traveller Show

16. Active Hotel List

Page 75
TOURIST+ 2021

17. Deactive Hotel List

18. Active User

Page 76
TOURIST+ 2021

19. Deative User

Page 77
TOURIST+ 2021

Travelller Side Admin

1.Traveller Register

2.Traveler Login

Page 78
TOURIST+ 2021

3.Package Select Traveller

4.Payment Package Selected

Page 79
TOURIST+ 2021

5. Edit Profile

6.Traveller Dashboard

Page 80
TOURIST+ 2021

7.Traveller Add Package

8.Manage Tour Booking Detail

Page 81
TOURIST+ 2021

Hotel Side Admin


1. Hotel Register

2 .Hotel Login

Page 82
TOURIST+ 2021

3.Hotel Select Package

4.Hotel Payment Package

Page 83
TOURIST+ 2021

5. Edit Profile

6.Hotel Dashboard

Page 84
TOURIST+ 2021

7.Manage Room

8.forget password

Page 85
TOURIST+ 2021

9.Testing

9.1) Software Testing


9.2) Unit Testing
9.3) System Testing

Page 86
TOURIST+ 2021

Software Testing

 Software testing is a critical element of software quality assurance and


represents the ultimate review of specification design and coding. Testing
is an exposure of a system to trial input to see whether it produces correct
output.
 In our project, we had to test each unit to make sure worked properly and
there were no bugs.
 Testing finds errors, it does not correct errors. Software success is a
quality of service, on time and within cost. Though testing can level
critical (costly) mistakes. Testing should therefore:

 Validate Performance
 Detects Errors
 Identify Inconsistencies

 Test Objective
 There is strong evidence that effective requirement management
leads to overall project cost savings.
 The system presented here is titled as " tourist +". Various reports
and data used for the same are the core of the system. The testing,
therefore, becomes important in order to maintain the cost as well
as improve performance and consistency.
 The testing procedure for the system has been divided in to various
parts ranging for single unit testing to entire system testing.

 Test Planning
 Test planning was actually to test all the individual modules and
then to make the system work flawless and shouldn't create any
minor bugs and errors.

 Generating Test Cases


 A test case is a unit of testing activity. Test cases have three parts:
 The aspect of the system being tested.
 Input and System State data provided to the system under stated
conditions.

Page 87
TOURIST+ 2021

 Expected Behavior the output or action the system should take


according to these requirements.

 Test Case Selection


 The presented system "tourist +" is tested using white-box
testing which is based on the internal structure of the system,
may also called as testing to code, path-oriented testing, or
logical-driven testing A common goal of white-box testing is to
have a test case to exercise every path through a program. This
may become exhaustive.

 White Box Testing Case Selection


 Because exhaustive white-box testing is infeasible, test or code
coverage metrics are used to select test cases, which measure
the fraction of code exercised by test cases. Test cases are
selected to achieve target test coverage levels.

 Test Coverage Metrics


 Statement Coverage: The fraction of statements executed at
least once is running a collection of test cases.
 Branch Coverage: The fraction of total branch directions that
have been taken at least once in running a collection of test
cases.
 Path Coverage: The fraction of paths taken at least once in
running a collection of test cases, where a "path" is defined in
some way to limit the totals of feasible collection.

Page 88
TOURIST+ 2021

Unit Testing

 The presented system is tested first using unit testing. Unit testing is
test of code written by a single programmer. A unit is a portion of a
system implemented by a single programmer.
 Unit testing is exercising a unit in isolation from the rest of the system.
The system, then, is tested using Integrating Testing.

Page 89
TOURIST+ 2021

System Testing

 Top-Down: Combine, test and debug top-leveled routines that


become the integration test that harms for lower-level units.

 Bottom-Up: Combine, test low-level routines into progressively


larger modules and subsystems.

 Sandwich: Mainly top-down with bottom-up integration and testing


applied to certain widely used components.

 Test Completion

 White-box test coverage targets are met.


 Rate of error discovery reduced the target value.
 Measured reliability of the system achieves its target
value.

Test cases-Registration Module:


No Field Input Valid/I Expected Actual Result
Name nvalid output Output
1 Name Null Invalid Please Please Pass
Enter Enter
Name Name
Bansi123 Invalid Numeric Numeric Pass
Value Value
Not Not
Allowed Allowed
Bansi Valid - - Pass
2 Email Null Invalid Please Please Pass
id Enter Enter
Email id Email id
Bansi123.com Invalid Enter Enter Pass
Valid Valid
Email id Email id
Bansi123@gmail.com Valid - - Pass
3 Passwor Null Invalid Please Please Pass

Page 90
TOURIST+ 2021

d Enter Enter
Password Password
Less than 5 character Invalid Password Password Pass
Must be 5 Must be
character 5
character
Bansi123 Valid - - Pass
4 Phone Null Invalid Please Please Pass
no Enter Enter
Phone Phone
Number Number
Greater than 10 number Invalid Phone no. Phone Pass
Must be no.
10 Must be
number 10
number
6353134843 Valid - - Pass

Test cases-Login Module:

N Field Input Valid/Invali Expecte Actual Resul


o Name d d Output t
output
1 Email id Null Invalid Please Please Pass
enter enter
email id email id
Bansi123@gmail.co Valid - - Pass
m

2 Passwor Null Invalid Please Please Pass


d Enter Enter
Passwor Passwor
d d
Wrong Password Invalid Enter Enter Pass
Valid Valid
Passwor Passwor
d d
Right Password Valid Login Login Pass

Page 91
TOURIST+ 2021

Test cases-Change Password Module:

No Field Input Valid/Invalid Expected Actual Result


Name output Output
1 Current Null Invalid Please Please Pass
Password enter enter
current current
password password
bansi Valid - - Pass
2 New Null Invalid Please Please Pass
password enter newenter
password new
password
Bansi123 Valid - - Pass
3 Reenter Null Invalid Please Please Pass
password re_enter re_enter
new new
password password
Bansi Invalid Doesn’t Doesn’t Pass
Match Match
password password
with new with new
password password
Bansi123 Valid - - Pass

Test cases- State Module:

No Field Input Valid/Invalid Expected Actual Result


Name output Output
1 Sname Null Invalid Please Please Pass
select select
country country
first first
Gurat Valid - - Pass

Page 92
TOURIST+ 2021

Test cases- City Module:

No Field Input Valid/Invalid Expected Actual Result


Name output Output
1 Sname Null Invalid Please Please Pass
select select
country country
first first
Gujrat Valid - - Pass
2 Cname Null Invalid Please Please Pass
select select
state first state first
Surat Valid - - Pass

Test cases- Area Module:

No Field Input Valid/Invalid Expected Actual Result


Name output Output
1 Sname Null Invalid Please Please Pass
select select
country country
first first
Gujrat Valid - - Pass
2 Cname Null Invalid Please Please Pass
select select
state first state
first
Surat Valid - - Pass
3 Aname Null Invalid Please Please Pass
select select
city first city first
Varachha Valid - - Pass

Page 93
TOURIST+ 2021

10.REFERENCES

10.1) References

Page 94
TOURIST+ 2021

References

https://www.draw.io/
https://www.w3schools.com/css/
https://www.w3schools.com/php/
https://github.com/
https://msg91.com/
https://www.payumoney.com/merchant-dashboard/

Page 95
TOURIST+ 2021

Page 96

You might also like