Cs PROJECT
Cs PROJECT
DILSUKHNAGAR, HYDERABAD
(Affiliated to Osmania University)
PRESENTED BY
JATOTH.RAKESH (119119468030)
(2019 – 2022)
o J.RAKESH (119119468067)
o N.SOMLA (119119468042)
o R.HUMLA (119119468075)
o U.VENKATESH (119119468058)
o G.SHARATH (119110468021)
2
SPHOORTHY DEGREE & PG COLLEGE DILSUKHNAGAR
DEPARTMENT OF COMPUTER SCIENCE
CERTIFICATE
The results embodied in this report have not been to any other University
or Institution for the award of any degree.
I also thankful to teaching and non-teaching staff of computer science department for their
kind co-operation and all sorts of help brining out this project successfully.
4
DECLARATION
I hereby declare that the project report entitled “AIRLINE TICKET RESERVATION”
using “HTML ,CSS, JavaScript, PHP, mySQL ,APACHE2” and the work done by us
in the campus at “SPOORTHY Degree & PG college, Dilsukhnagar during the
academic year 2019-2022 and is submitted in partial fulfillment of the requirements for
the degree of bachelor of (MPCs) by the Osmania university, Hyderabad.
5
INDEX
6
TITLE
AIRLINE TICKET RESERVATION
7
ABSTRACT
The project is to book the airline ticket through the website. This project is internet based
application.In this application,all the customer data is stored in the database and we can
retrieve data based on the required seat .The proposed system will be available and
function 24/7 this systemwill be used to manage customers and flight information is
highly reliable for airlines . The passenger is pay at the website and airlines responsible
for payment . The core of this system is the computer will be used to manage and store
data in a database which will be highly beneficial for th3e administration.also,we can
edit the passenger details.The purpose of this project is to crate afunctional application
for a airlines to reserve or boolk the tickets.
8
INTRODUCTION
Online Airline reservation system is to allocate an option to customers to book the tickets
online and to check the testimony online. This system will help company to dispose of
the flight tickets online. Before the ARS people find many problems that the people come
to the airport and save their seats and as well as inquire the time of flight from
representative. To overcome these difficulties the “Online Airline Reservation System”
was introduced.
purpose
The purpose of the ARS is to eliminate the many difficulties/problems that occur to the
people in the ARS and as well as make it easy for the customers that save the flights and
they will able to utilize the project to make their reservations modify reserve seat and cancel
that reserved seat.
Scope
The Online Airline Reservation System provide many facilities to the customers that find many
problems in the early systems for reserving their seats.This type of systems and software provide
the facilities to the passengers and customers to see the flights and their allocated time.As well as
it will provide the facility to preserve the ticket or modify and cancel that particular reservation .
Overview
The airline reservation system contains airline schedule, fare tariff, passengers’ reservations and
ticket records. An airline inventory contains all flights with their available seats. Inventory data is
imported and maintained though a scheduled distribution system over standardize interfaces. In
combination with the fares and booking conditions stored in fare Quote system the price for old
seat is determined.
9
FEASIBILITY REPORT
A preliminary investigation examines project feasibility, and the likelihood -hood the
system will be useful to the organization. The main objective of the feasibility study is to
test the technical operational and economically feasibility of adding new modules and
debugging old running system. All system is feasible if they are unlimited resources are
infinite time there are aspects in the feasibility study portion of the preliminary
investigation
Technical Feasibility
Operational Feasibility
Economic Feasibility
TECHNICAL FEASIBILITY
The technical issue usually raised during the feasibility stage investigation includes
the following
Does the necessary technology exist to do, what is suggested?
Do the proposed equipment have the technical capacity to hold the data required to
use the new system?
Will the proposed system provide an adequate response to inquiries, regardless of the
number or location of users?
In the system update if developed?
Are they technical guarantees of accuracy, reliability, ease of access, and data
security?
OPERATIONAL FEASIBILITY
Proposed projects and benefits and only they can be turned out into an information
system. that will be meet the organizations operating requirements operational feasibility
aspects of the project are to be taken as an important part of the project implementation
some of the important issues raise to test the operational feasibility of a project includes
the following
10
Is there sufficient support for the management from the user?
Will the system be used and work properly if it is being developed and
implemented?
Will there be any result from the user that will undermine the possible application
benefits?
The system is targeted to be in accordance with the above-mentioned issues. Beforehand,
the management issues and the user requirements have been taken into consideration. So,
there is no question of resistance from the users that can be undermining the possible
application benefits. The well-planned design would ensure the optional utilization of the
computer resource and would help the improvement of performance status.
ECONOMIC FEASIBILITY
A system that can be developed and technology that will be used if installed must still be
a good investment for the organization. In the economic feasibility, the development cost
in creating the system is evaluated against the ultimate benefit arrived from the new
system. Financial benefits must equal or exceed the costs.
The system is economically feasible. It does not require any additional hardware or
software. Since the interface for the system is used to develop the existing resource and
technology available at NIC, there is normal expenditure and economic feasibility for
certain.
WATERFALL METHOD
Software products are oriented towards customers like any other engineering product. It
is either driven by the market. Customer satisfaction was the main aim in the 1980s.
Customer Delight is today’s logo and customer Ecstasy is the new Buzzword of the
millennium. Products that are customer-oriented have no place in the market thought they
are designed using the best technology. The fronted of the product is a crucial as the
internal technology of the product.
A market study is necessary to identify a potential need. This process is also called
market research. The already existing need and the possible future needs are combined
together for study. A lot of assumptions are made during the market study. Assumptions
are the very important factors in the development or start of a product. The assumptions
which are not really can cause a nosedive in the entire venture. Although assumptions are
conceptual, there should be a move to develop tangible assumptions to move towards a
successful product.
Once the market study is done, the customer’s need is given to the research and
development of a cost-effective system that could potentially solve the customer’s needs
better than the competitors. Once the system is developed and tested in the hypothetical
environment, the development team takes control of it. The development team adopts the
software development to develop the proposed system and gives it to the customers.
11
THE BASIC POPULAR MODELS USED BY MANY
SOFTWARE DEVELOPMENT FORMS ARE AS
FOLLOWS:
System development life cycle(SDLC) model
Prototyping model
Rapid application development model
Component assemble model
SYSTEM DEVELOPMENT LIFE CYCLE MODEL(SDLC)
MODEL:
This is also called as Classic Life Cycle Model or Linear Sequence Model or Waterfall
Method.
THIS MODEL HAS THE FOLLOWING ACTIVITIES:
System/information Engineering Modelling.
Software Requirement Analysis
System Analysis and Design
Code Generation
Implimentation
Maintenance
12
SYSTEM ANALYSIS AND DESIGN
In the system analysis and design phase, the whole software development process, the
overall software structure, and its outlay are defined. In the case, pf the client/server
processing technology, the number of tiers required for the package architecture, the
database design, the data structure design, etc. are all defined in this phase. After the
designing part software development model is created. Analysis and design are very
important in the whole development cycle process. Any fault in the design phase could be
very expensive to solve in the software development process. IN this phase, the logical
system of the product is developed.
13
REQUIREMENTS
ABOUT SOFTWARES
HTML
The Hypertext Markup Language or HTML is the standard markup language for a
document designed to be displayed in a web browser. It can be assisted by technologies
such as Cascading Style Sheet (CSS) and a scripting language such as JavaScript.
The first version of HTML was written by Tim Berners-Lee in 1993. Since then, there
have been many different versions of HTML. The most widely used version throughout
the 2000s was HTML 4.01, which became an official standard in December 1999.
Another version, XHTML, was a rewrite of HTML as an XML language .
HTML
HTML can be integrated easily with java script, jQuery and CSS.
Easy to understand due to relevant and memorable HTML tag.
HTML supported by all browsers (i.e., Google Chrome, Opera Mini, Mozilla Firebox and
many more browser
HTML is light weighted and fast to load.
HTML is a free and open-source markup language; you don’t need to buy a single line of
code to design your website.
HTML has many tags and attributes which will short your line of codes.
Cascading Style Sheet (CSS) is a style sheet language used for describing the
presentation of a document written in a markup language such as HTML. CSS is a
cornerstone technology of the world wide web, alongside HTML and javascript.
14
CSS was first proposed by Hakon Wium Lie in 1994. At the time, lie was working with
Tim Berners-Lee at CERN. Sheets have existed in one form or another since the
beginnings of standard generalized Markup Language (SGML) in the 1980s, and CSS
was developed to provide a style sheet for the web.
CSS
CSS plays an important role, by using CSS you simply got to specify a repeated style for
an element once & use it multiple times because CSS will automatically apply the
required styles.
The main advantage of CSS is that style is applied consistently across a variety of sites.
One instruction can control several areas which are advantageous.
Web designer needs to use a few lines of programming for every page improving site
speed.
Cascading sheet not only simplifies website development but also simplifies the
maintenance as a change of one line of code affects the whole website and maintenance
time.
It is less complex therefore the effort is significantly reduced.
It helps to form spontaneous and consists changes.
CSS changes are devices to access the website over the web, there’s a requirement for
responsive web design.
It has the power for re-positioning. It helps us to determine the changes within the
position of web elements that are there on the page.
these bandwidth savings are substantial figures of insignificant tag that are indistinct from
a mess of pages.
*Easy for the users to customize the online pages.
It reduces the file transfer size.
PHP
PHP is an acronym for "PHP: Hypertext Preprocessor"
15
What is a PHP File?
PHP files can contain text, HTML, CSS, JavaScript, and PHP code
PHP code is executed on the server, and the result is returned to the
browser as plain HTML
PHP can create, open, read, write, delete, and close files on the server
With PHP you are not limited to output HTML. You can output images, PDF
files, and even Flash movies. You can also output any text, such as
XHTML and XML.
Why PHP?
PHP runs on various platforms (Windows, Linux, Unix, Mac OS X, etc.)
PHP is compatible with almost all servers used today (Apache, IIS, etc.)
16
SYSTEM DESIGN
UML DIAGRAMS:
UML stands for Unified Modeling Language. UML is a way of visualizing evolved from
the work of Grady Booch, James run Baugh, Ivor Jacobson, and Rational software
corporation to be used for object-oriented design, but it has been extended to cover a
wider variety of software engineering projects. Today, UML is accepted by the Object
Management Group (OMG) as the standard for modelling software development.
A UML diagram is based on the UML with the purpose of visually representing a system
along with its main actors, roles, actions, artefacts or classes, in order to better
understand, alter, maintain, or document information about the system.
Mainly, UML has been used as a general-purpose modelling language in the field of
software engineering. They provide both a more standardized way of modeling
workflows as well as a wider range of features to improve readability and efficiency.
UML offers a way to visualize a system’s architectural blueprints in a diagram, including
elements such as any activities (jobs), individual components of the system, how the
system will run, and, how entities interact with others (components and interfaces),
external users interface.
Although originally intended for object-oriented design documentation, UML has been
extended to a larger set of design documentation and has been found useful in many
contexts.
UML diagrams are organized into two distinct groups: structural diagrams and behavioral
diagrams. Structure diagrams show the things in the modeled system. In more technical
terms, they show different objects in a system. It includes class, component, deployment,
object, package, and composite structure. Behavioral diagrams show what should happen
in a system. They describe how the objects interact with each other to create a
functioning system. These diagrams include use case, activity, state machine, sequence,
communication, interaction, overview, and timing.
The following are the types of diagrams drawn in this project are:
*Use-case Diagram
*Activity Diagram
*Sequence Diagram
*Class Diagram
As the most known diagram type of the behavioral UML types, use case diagrams give a
graphics overview of the actors involved in a system, the different functions needed by
those actors, and how these different functions interact. It’s a great starting point for any
project discussion because you can easily identify the main actors involved and the main
processes of the system.
17
The purpose of the use case diagrams is simply to provide a high level of the system and
convey the requirements. It only summarizes some of the relationships between use case,
actor, and system. It does not show the order in which steps are performed to achieve the
goals of each case. The use cases are represented by either circles or ellipses.
ACTIVITY DIAGRAM
Activity diagrams illustrate the dynamic nature of the system by modeling the flow of
control from activity to activity. Any activity represents an operation on some class in the
system that results in a change in the state of a system. Typically, activity diagrams are
used to model workflow or business processes and internal operations. Sometimes
activity diagrams are used as an alternative to state machine diagrams.
Activity Diagram Notation
SEQUENCE DIAGRAM:
CLASS DIAGRAM:
In software, a class diagram in the UML is a type of static structure diagram that
describes the structure of a system by showing the system class, attributes, operations,
and relationships among objects.
The class diagram is the main building block of object-oriented
modeling. It is used for general conceptual modeling of the structure of the application,
and for detailed modeling translating the models into programming code. Class diagrams
18
can also be used for data modeling. The processing of a class diagram represents both the
main elements, interactions in the application, and the class to be programmed.
This section contains use cases of the Online Air Ticket Booking System .
Passenger Login
Passenger Login
19
Working Diagram
20
Data Flow Diagram
21
ER Diagram
ER Diagram
22
Sequence Diagram
Sequence Diagram
23
Class Diagram
24
COMPONENT DESIGN
At the front side the entire interface is outline by the visual studio. Furthermore, at the backend the Sql database
playing out its assignments. These two segments of the framework will deal with the entire application. The framework
is keep running on the premise of these two segments.
25
CODE GENERATION:
In the code generation phase, the design must be decoded into a machine-readable form.
If the design of a software product is done in a detailed manner, code generation can be
achieved without much complication. For a generation of code, programming tools like
computers, interpreters, and debuggers are used. For coding purposes, different high-level
programming languages like c, c ++, pascal, and java are used. The right programming
language is chosen according to the type of application.
SAMPLE CODE
Home_page
###########################################################
<?php
session_start();
?>
<html>
<head>
<title>
Welcome to Airlines
</title>
<link rel="stylesheet"
type="text/css" href="css/style.css"/>
<link rel="stylesheet"
href="font-awesome-4.7.0\css\font-awesome.min.css">
</head>
<body>
<img class="logo"
src="images/irctc.jpg"/>
<h1 id="title">
IRCTC Airways
</h1>
<div>
<ul>
<li><a
href="home_page.php"><i class="fa fa-home" aria-hidden="true"></i> Home</a></li>
<li>
<?php
26
if(isset($_SESSION['login_user'])&&$_SESSION['user_type']=='Customer')
else
if(isset($_SESSION['login_user'])&&$_SESSION['user_type']=='Administrator')
else
}
?>
</li>
<li><a
href="home_page.php"><i class="fa fa-plane" aria-hidden="true"></i> About
Us</a></li>
<li><a
href="home_page.php"><i class="fa fa-phone" aria-hidden="true"></i> Contact
Us</a></li>
<li><a href="pnrall.php"><i class="fa fa-ticket" aria-hidden="true"></i> Check PNR
</a></li>
<li>
<?php
if(isset($_SESSION['login_user'])&&$_SESSION['user_type']=='Customer')
27
echo "<a href=\"customer_homepage.php\"><i class=\"fa fa-sign-in\" aria-
hidden=\"true\"></i> Login</a>";
else
if(isset($_SESSION['login_user'])&&$_SESSION['user_type']=='Administrator')
else
}
?>
</li>
</ul>
</div>
<div class="container">
<div
class="welcome_text">Welcome to IRCTC !</div>
<img
src="images/maxx.jpg" width=100%>
</div>
<!--check out addling local
host in links and other places
shift login/logout
buttons to right side
-->
</body>
</html>
28
Database
DataBase Connection
/*!40101 SET
@OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET
@OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET
@OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
--
-- Database: `airline_reservation`
--
DELIMITER $$
--
-- Procedures
--
CREATE DEFINER=`Harry`@`localhost` PROCEDURE `GetFlightStatistics`(IN
`j_date` DATE)
BEGIN
select flight_no,departure_date,IFNULL(no_of_passengers, 0) as
no_of_passengers,total_capacity from (
select f.flight_no,f.departure_date,sum(t.no_of_passengers) as
no_of_passengers,j.total_capacity
from flight_details f left join ticket_details t
on t.booking_status='CONFIRMED'
and t.flight_no=f.flight_no
and f.departure_date=t.journey_date
inner join jet_details j on j.jet_id=f.jet_id
group by flight_no,journey_date) k where departure_date=j_date;
29
END$$
DELIMITER ;
-- --------------------------------------------------------
--
-- Table structure for table `admin`
--
--
-- Dumping data for table `admin`
--
-- --------------------------------------------------------
--
-- Table structure for table `customer`
--
--
-- Dumping data for table `customer`
--
30
('aadith', 'aadith007', 'aadith_name', 'aadith_email', '12345', 'aadith_address'),
('Apple', 'abhishek', 'Abhijeeth', 'gmail@gmail.com', '+9185564764', 'hgsjhgdjfdjdgf'),
('blah', 'blah blah', 'blah', 'blah@gmail.com', '993498570', 'blah'),
('charles', 'charles_pass', 'Charles', 'charles@gmail.com', '9090909090', 'Bangalore'),
('chirag008', 'chirag', 'Chirag G', 'chirag@gmail.com', '8080808080', 'Kuldlu Gate'),
('harryroshan', 'passpasshello', 'Harry Roshan', 'harryroshan1997@gmai', '9845713736',
'#381, 1st E Main,'),
('KUMAR', '123456789', 'RUKO SINGH', 'KUMAR@GMAIL.COM', '1234567890',
'INDIANINDIA'),
('SANCHIT', '123456', 'SANCHIT KUMAR', 'sanchit.muz@gmail.com', '1234569870',
'India');
-- --------------------------------------------------------
--
-- Table structure for table `flight_details`
--
--
-- Dumping data for table `flight_details`
--
31
('AA104', 'bangalore', 'mysore', '2017-12-04', '2017-12-04', '09:00:00', '09:17:00', 37, 4,
500, 750, '10003'),
('AA106', 'bangalore', 'hyderabad', '2017-12-01', '2017-12-01', '13:00:00', '14:00:00', 150,
75, 3000, 3750, '10004'),
('AIR707MXPA', 'PATNA', 'MUMBAI', '2019-09-01', '2019-09-01', '10:00:00',
'18:00:00', 232, 128, 7500, 12000, 'AIR707MAX'),
('AIRBUS69BA', 'bangalore', 'chennai', '2019-07-19', '2019-07-19', '10:00:00', '13:00:00',
69, 89, 6500, 7800, 'AIRBUS69'),
('AIRBUS707P', 'bangalore', 'Patna', '2019-08-19', '2019-08-19', '00:00:00', '18:00:00', 75,
65, 6969, 7856, 'AIRBUS707'),
('AIRBUS70BA', 'bangalore', 'chennai', '2019-08-19', '2019-08-19', '10:00:00', '15:00:00',
523, 76, 4523, 8652, 'AIRBUS70'),
('AIRBUS70PA', 'bangalore', 'Patna', '2019-08-19', '2019-08-19', '10:01:00', '18:00:00',
498, 65, 5788, 6966, 'AIRBUS70'),
('BOING707PA', 'KOLKATTA', 'PATNA', '2019-08-25', '2019-08-25', '10:00:00',
'13:00:00', 400, 21, 4500, 7000, 'BOING707');
-- --------------------------------------------------------
--
-- Table structure for table `frequent_flier_details`
--
--
-- Dumping data for table `frequent_flier_details`
--
-- --------------------------------------------------------
--
-- Table structure for table `jet_details`
--
32
`jet_type` varchar(20) DEFAULT NULL,
`total_capacity` int(5) DEFAULT NULL,
`active` varchar(5) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `jet_details`
--
-- --------------------------------------------------------
--
-- Table structure for table `passengers`
--
--
-- Dumping data for table `passengers`
--
33
(1, '2179656', 'KIMI', 11, 'male', 'yes', NULL),
(1, '2369143', 'blah', 20, 'male', 'yes', NULL),
(1, '3027167', 'aadith_name', 10, 'male', 'yes', NULL),
(1, '3773951', 'harry', 51, 'male', 'yes', NULL),
(1, '3817993', 'SANCHIT KUMAR', 23, 'male', 'yes', NULL),
(1, '4797983', 'pass1', 34, 'male', 'yes', NULL),
(1, '4807312', 'SANCHIT', 22, 'male', 'yes', NULL),
(1, '5272308', 'SHUBHANGI SINGH', 1, 'female', 'yes', NULL),
(1, '5421865', 'pass1', 10, 'male', 'yes', NULL),
(1, '6980157', 'roshan', 20, 'male', 'yes', NULL),
(1, '8503285', 'aadith_name', 10, 'male', 'yes', '10001000'),
(1, '9288360', 'SANCHIT KUMAR', 23, 'male', 'yes', NULL),
(2, '1669050', 'berti harry', 45, 'female', 'yes', NULL),
(2, '2369143', 'blah', 51, 'male', 'yes', NULL),
(2, '3027167', 'roshan', 20, 'male', 'yes', NULL),
(2, '3773951', 'berti', 42, 'female', 'yes', NULL),
(2, '3817993', 'RANJIT KUMAR', 26, 'male', 'yes', NULL),
(2, '4797983', 'Harry Roshan', 20, 'male', 'yes', '20002000'),
(2, '4807312', 'RANJIT', 66, 'male', 'yes', NULL),
(2, '5421865', 'pass2', 20, 'female', 'yes', NULL),
(2, '6980157', 'aadith', 9, 'male', 'yes', NULL),
(2, '8503285', 'roshan_name', 20, 'male', 'yes', NULL),
(2, '9288360', 'SHUBHAM KUMAR', 24, 'male', 'yes', NULL),
(3, '1669050', 'aadith_name', 10, 'male', 'yes', NULL),
(3, '2369143', 'blah', 10, 'male', 'yes', NULL),
(3, '3773951', 'aadith', 11, 'male', 'yes', '10001000'),
(3, '4797983', 'aadith_name', 10, 'male', 'yes', '10001000'),
(3, '4807312', 'SURESH', 22, 'male', 'yes', NULL),
(3, '5421865', 'pass3', 30, 'male', 'yes', NULL),
(4, '2369143', 'blah', 42, 'female', 'yes', NULL),
(4, '4807312', 'RAMESH', 65, 'male', 'yes', NULL),
(5, '4807312', 'SHYAMA', 22, 'female', 'yes', NULL);
-- --------------------------------------------------------
--
-- Table structure for table `payment_details`
--
34
--
-- Dumping data for table `payment_details`
--
--
-- Triggers `payment_details`
--
DELIMITER //
CREATE TRIGGER `update_ticket_after_payment` AFTER INSERT ON
`payment_details`
FOR EACH ROW UPDATE ticket_details
SET booking_status='CONFIRMED', payment_id= NEW.payment_id
WHERE pnr = NEW.pnr
//
DELIMITER ;
-- --------------------------------------------------------
--
-- Table structure for table `ticket_details`
--
35
`journey_date` date DEFAULT NULL,
`class` varchar(10) DEFAULT NULL,
`booking_status` varchar(20) DEFAULT NULL,
`no_of_passengers` int(5) DEFAULT NULL,
`lounge_access` varchar(5) DEFAULT NULL,
`priority_checkin` varchar(5) DEFAULT NULL,
`insurance` varchar(5) DEFAULT NULL,
`payment_id` varchar(20) DEFAULT NULL,
`customer_id` varchar(20) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `ticket_details`
--
36
('8503285', '2017-11-25', 'AA102', '2017-12-01', 'business', 'CONFIRMED', 2, 'yes', 'yes',
'no', '165125569', 'aadith'),
('9288360', '2019-08-19', 'AIR707MXPA', '2019-09-01', 'business', 'CONFIRMED', 2,
'yes', 'yes', 'yes', '880633544', 'SANCHIT'),
('9572357', '2019-08-19', 'AIR707MXPA', '2019-09-01', 'business', 'CANCELED', 2,
'yes', 'yes', 'yes', '460571289', 'SANCHIT');
--
-- Indexes for dumped tables
--
--
-- Indexes for table `admin`
--
ALTER TABLE `admin`
ADD PRIMARY KEY (`admin_id`);
--
-- Indexes for table `customer`
--
ALTER TABLE `customer`
ADD PRIMARY KEY (`customer_id`);
--
-- Indexes for table `flight_details`
--
ALTER TABLE `flight_details`
ADD PRIMARY KEY (`flight_no`,`departure_date`), ADD KEY `jet_id` (`jet_id`);
--
-- Indexes for table `frequent_flier_details`
--
ALTER TABLE `frequent_flier_details`
ADD PRIMARY KEY (`frequent_flier_no`), ADD KEY `customer_id` (`customer_id`);
--
-- Indexes for table `jet_details`
--
ALTER TABLE `jet_details`
ADD PRIMARY KEY (`jet_id`);
--
-- Indexes for table `passengers`
--
ALTER TABLE `passengers`
37
ADD PRIMARY KEY (`passenger_id`,`pnr`), ADD KEY `pnr` (`pnr`), ADD KEY
`frequent_flier_no` (`frequent_flier_no`);
--
-- Indexes for table `payment_details`
--
ALTER TABLE `payment_details`
ADD PRIMARY KEY (`payment_id`), ADD KEY `pnr` (`pnr`);
--
-- Indexes for table `ticket_details`
--
ALTER TABLE `ticket_details`
ADD PRIMARY KEY (`pnr`), ADD KEY `customer_id` (`customer_id`), ADD KEY
`journey_date` (`journey_date`), ADD KEY `flight_no` (`flight_no`), ADD KEY
`flight_no_2` (`flight_no`,`journey_date`);
--
-- Constraints for dumped tables
--
--
-- Constraints for table `flight_details`
--
ALTER TABLE `flight_details`
ADD CONSTRAINT `flight_details_ibfk_1` FOREIGN KEY (`jet_id`) REFERENCES
`jet_details` (`jet_id`) ON DELETE CASCADE ON UPDATE CASCADE;
--
-- Constraints for table `frequent_flier_details`
--
ALTER TABLE `frequent_flier_details`
ADD CONSTRAINT `frequent_flier_details_ibfk_1` FOREIGN KEY (`customer_id`)
REFERENCES `customer` (`customer_id`) ON DELETE CASCADE ON UPDATE
CASCADE;
--
-- Constraints for table `passengers`
--
ALTER TABLE `passengers`
ADD CONSTRAINT `passengers_ibfk_1` FOREIGN KEY (`pnr`) REFERENCES
`ticket_details` (`pnr`) ON DELETE CASCADE ON UPDATE CASCADE,
ADD CONSTRAINT `passengers_ibfk_2` FOREIGN KEY (`frequent_flier_no`)
REFERENCES `frequent_flier_details` (`frequent_flier_no`) ON UPDATE CASCADE;
--
38
-- Constraints for table `payment_details`
--
ALTER TABLE `payment_details`
ADD CONSTRAINT `payment_details_ibfk_1` FOREIGN KEY (`pnr`) REFERENCES
`ticket_details` (`pnr`) ON UPDATE CASCADE;
--
-- Constraints for table `ticket_details`
--
ALTER TABLE `ticket_details`
ADD CONSTRAINT `ticket_details_ibfk_2` FOREIGN KEY (`customer_id`)
REFERENCES `customer` (`customer_id`) ON DELETE CASCADE ON UPDATE
CASCADE,
ADD CONSTRAINT `ticket_details_ibfk_3` FOREIGN KEY (`flight_no`,
`journey_date`) REFERENCES `flight_details` (`flight_no`, `departure_date`) ON
DELETE SET NULL ON UPDATE CASCADE;
39
A list of airport including
Airport name
Location
City
State
40
Data dictionary
41
OUTPUT SCREENS
WELCOME PAGE
DATABASE
42
Login For Admin and User
43
New User Register
44
Admin Page
45
Adding AirCrafts.
Activate JetId
46
Flight Booking Page
47
Searching for Available flight Details
Available Flights
48
Adding Passengers
Payment
49
Payment Successful
Booked Flights
50
TESTING
A process of executing a program with the explicit intention of finding errors, that is
making the program fail.
TESTING METHODOLOGIES
B LOCK Box Testing
Software Testing
White Box Testing
SOFTWARE TESTING
It is a process of testing the functionality and correctness of software by running it. A
good test case is one that has a high probability of finding an as yet un discovered.
Software testing is usually performed for one of two reasons:
Defeat detection
Reliability estimation
UNIT TESTING :
If concentrated on each unit of the software as implemented in source code and
is a white box oriented. Using the component level design description ads a
guide, important control paths are tested to uncover errors with in the boundary
of the module.
51
are already made less interdependent to make unique testing possible, the
unintended impact of changes to any code is less.
Codes are more reusable. In order to make unit testing possible, codes need to
Be modular. This means that codes are easier to reuse.
INTEGRATION TESTING
Here focus is to design and construction of the software architecture. The
objective is to make unit tested components and build a program structure that
has been detected by design.
Analogy
During the process of manufacturing a ball point pen, the cap, the body, the tail
and clip, the ink cartridge and the ball point are produced separately and unit
tested separately. When two or more units are ready , they are assembled and
integration testing is performed. For example, whether the cap fits into the body
or not.
VALIDATION TESTING
In this requirements established as part of software requirements analysis are
validated against the software that has been constructed i.e; validation succeeds
when software functions in a manner that can reasonably expected by the
customer.
Objective is to ensure that the product actually meets the users needs and that the
specifications were correct in the first place. In other words, to demonstrate that
the product fulfills its intended use when placed in its intended environment.
SYSTEM TESTING
In this software and other system elements are tested as a whole.
Analogy
During the process of manufacturing a ball point pen, the cap, the body, the tale,
the ink cartridge and the ball point are produced separately and unit tested
separately. When two or more units are ready, they are assembled and
integration and testing is performed. When the complete pen is integrated,
system testing is performed.
52
IMPLEMENTATION
Implementation is the carrying out, execution or practice of a plan, to implement the
project into our system we will need to perform to following operation:
It works on desktop and pc
Open XAMPP application start apache and my SQL
Go to Google.com or any browser
Type localhost/hotel/index.html
Once you open the portal you can start using the website
53
CONCLUSION
The main objective of this project is to design and develop Airline Reservation
System.
This project is mainly intended for the customers, who use the
websites to makes reservations on flights.
It makes the users easy to get ticket online instead of queue up to buy
the tickets.
54
TEAM MEMBERS
J.RAKESH (119119468030)
N.SOMLA (119119468059)
R.HUMLA (119119468063)
U.VENKATESH (119119468069)
G.SHARATH (119119468021)
**********THE END**********
55