Professional Documents
Culture Documents
1. Introduction 5
2. Air Alliance 9
3. Objectives 11
4. Work Plan 13
6. Conclusion 52
7. References 53
1. INTRODUCTION
1.1 TOOLS/TECHNOLOGIES
HTML
It is a style sheet language used for describing Hyper Text Markup language, commonly
referred as HTML, is the standard markup language to create the web pages. Along with
CSS, Javascript, HTML is a cornerstone technology used to create web pages, as well as
to create user interfaces for mobile and web applications. Web browsers can read HTML
files and render them into visible or audible web pages. HTML describes the structure of
the website semantically along with the cues for the presentation, making it a markup
language, rather than a programming language
CSS
It is a style sheet language used for describing the presentation document written in
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.
CSS is designed primarily to enable the separation of document content from the
document presentation, including aspects such as layout,color and font. This separation
canimprove content accessibility provide more flexibility and control in specification of
presentation characterstics, enable multiple HTML pages to share formatting by
specifying the relevant CSS in a separate .css file reduce a complexity.
WAMP SERVER
Wamp server refers to 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.
MySQL is a high-speed database, while PHP is a scripting language that can be used to
access data from the database. By installing these two components locally, a developer
can build and test dynamic website before publishing it to a public web server. Apache,
MySQL and PHP are described as following:
1) APACHE WEB SERVER:
It is a web server that allows you to host your web sites or any other content for that
matter. Apache is available for UNIX as well as WINDOWS . Some of the most common
server side languages supported by Apache are – PHP, Python and Perl. It is free of
charge.
2) PHP :
A server side programming language which is used to produce dynamic web pages. PHP
code can be embedded within HTML. It is also free and platform independent which
means that it can be installed on any operating system.
PHP code can be simply mix with HTML code, or it can be used in combination with
various templating engines and web frameworks. PHP code is usually processed by a
PHP interpreter, which is usually implemented as a web server’s native module or a
common gateway interface executable. After the PHP code is interpreted and executed,
the web server sends the resulting output to its client, usually in the form of a part of the
generated web page; for example, PHP code can generate a web page’s HTML code, and
image, or some other data. PHP has also evolved to include a command –line
interface(CLI) capability and can be used in stand alone graphical applications.
The standard PHP interpreter, powered by the Zend Engine, is free software released the
PHP License. PHP has the widely ported and can be deployed on most web servers on
almost every operating system and platform, free of charge.
3) MySQL:
The MySQL server software itself and the client libraries use dual-licensing
distribution.They are offered under GPL version 2, beginning from 28 June or to use a
proprietary license.
Support can be obtained from the official manual.Oracle offers paid support via its
MySQL Enterprise products. They differ in the scope of services and in price.
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 is
very, very good”. It has also been tested to be a “fast, stable and true multi-user, multi-
threaded sql database server”.
NIIT Institute
NIIT is a leading skills and talent development corporation that is building a manpower
pool for global industry requirements. The company which was set up in 1981to help the
nascent IT industry overcome its human resource challenges, today ranks among the
world’s leading training companies owing to its vast, yet comprehensive array of talent
development programs. With a footprint across 40 nations, NIIT offers training and
development solutions to Individuals, Enterprises and Institutions.
In 2006, the IT services business of NIIT was demerged into a separately listed company
NIIT Technologies. NIIT Limited now focuses on Corporate Training , Vocational
Training for Services Sectors and Education and Training in Schools. NIIT Limites owns
23.98%of NIIT Technologies.
Established in 1981, NIIT Limited, a global leader in Skill and Talent Department, offers
multi-disciplinary learning management and training delivery solutions to corporations,
institutions, and individuals in over 40 countries. The company ranks among the world’s
leading training companies owing to its vast, yet comprehensive array of talent
development programs.
With a strong focus on assuming leadership role in the Digital Learning World and to
further accelerate NIIT’s growth and profitability, the company has charted a focused
business strategy to address the Digital Transformation needs for individuals and
corporate customers by offering training and consulting to help them re-invent themselves
& their organisations.
NIIT classrooms to every digitally connected Indian, for free, at any time and place of
their choice to train the masses to evolve their skills and participate productively in the
future digital world.
2 . AIR ALLIANCE
An air alliance is an aviation industry arrangement between two or more airlines agreeing
to cooperate on a substantial level. Alliances may provide marketing branding to facilitate
travelers making inter-airline code share connections within countries. This branding may
involve unified aircraft liveries of member aircraft
Founded in 1930, AirAlliance has evolved into one of the most respected travel brands
around the world. We have one of the world’s youngest fleet in the air, a network
spanning 5 continents. Customers, investors, partners and staff- everyone expects
excellence of us. And so, in our lounges, our conferences, working relationships, and in
the smallest details of flights, we rise to each occasion and deliver the AirAlliance
experience.
The airline operates over 370 flights daily across 44 destinations within India and also
operates flights to United Kingdom, United States of America, Nepal, Sri Lanka, Canada,
Belgium, Singapore, Thailand, Malaysia, Bangladesh, Bahrain, Kuwait, Oman & Qatar
on one of the youngest and best maintained fleets.
Airline plans to extend its international operations further in North America, Europe,
Africa & Asia in the coming years with the induction of wide-body aircraft into its fleet.
3. OBJECTIVE
The objective of this project is to implement the airline reservation system to the best
satisfaction of the customer. The normal process which was followed until recently was to
manually fill the data and then process the data which used to cause a lot of
inconvenience to both the administrator and the customer as well.
Now, we would like to use databases to facilitate this process of smooth reservation of
airline tickets with minimal work on the part of both the customer and the administrators
involved .
The various aspects of the Airline Reservation System can be presented in views of the
different people involved with it. The main people involved in the airline reservation are
1. Administrator
2. Customer
3. Broker
Administrator’s view:-
The administrator needs to know and control the following information at all times
1. Total Number of seats per flight and seats available (1st and 2nd classes if
applicable)
5. List of passengers who are in the waiting list for a given flight
a) First Name
b) Last Name
c) Sex
d) Date of birth,
e) Address, City, State, Zip Code
f) Phone number and other information like is he requesting for any
concession or not
7. Other perks like giving rewards to fliers who have filed most frequently in that
month and special offers for those flights which are normally half full or less
Customer’s view:-
5) Status i.e., if the ticket has been confirmed or still in waiting list
4. WORKPLAN
Functional requirements are observable tasks or processes that must be performed by the
system under development. For example, a functional requirement of a stock trading
system is "must update and remember stock prices;" for a web search engine, "must
accurately parse Boolean queries;" for an automated teller machine, "must process
withdrawals and dispense cash to the customer."
Business Rules
Administrative functions
Authentication
External Interfaces
Certification Requirements
Reporting Requirements
Historical Data
Non-functional requirements are qualities or standards that the system under development
must have or comply with, but which are not tasks that will be automated by the system.
It is important to note that these kinds of requirements always exist, regardless of the
approach or method used to manage software development. A software development
methodology helps to identify, document, and realize the requirements.
Non-functional requirements are often called qualities of a system. Other terms for non-
functional requirements are "constraints", "quality attributes", "quality goals", "quality of
service requirements" and "non-behavioral requirements". Qualities, that are non-
functional requirements, can be divided into two main categories:
Execution qualities, such as security and usability, which are observable at run time.
Evolution qualities, such as testability, maintainability, extensibility and scalability,
which are embodied in the static structure of the software system.
Scalability
Capacity
Availability
Reliability
Recoverability
Maintainability
Serviceability
Security
Regulatory
Manageability
Environmental
Data Integrity
Usability
Interoperability
Feasibility studies aim to objectively and rationally uncover the strengths and weaknesses
of the existing business or proposed venture, opportunities and threats as presented by the
environment, the resources required to carry through, and ultimately the prospects for
success. In its simplest term, the two criteria to judge feasibility are cost required and
value to be attained. As such, a well-designed feasibility study should provide a historical
background of the business or project, description of the product or service, accounting
statements, details of the operations and management, marketing research and policies,
financial data, legal requirements and tax obligations. Generally, feasibility studies
precede technical development and project implementation.
Economic feasibility:-It is the most frequently used method for evaluating the
effectiveness of a new system. More commonly known as cost/benefit analysis, the
procedure is to determine the benefits and savings that are expected from a candidate
system and compare them with costs. If benefits outweigh costs, then the decision is made
to design and implement the system. An entrepreneur must accurately weigh the cost
versus benefits before taking an action.
Cost-based study: It is important to identify cost and benefit factors, which can
be categorized as follows: 1. Development costs; and 2. Operating costs. This is
an analysis of the costs to be incurred in the system and the benefits derivable out
of the system.
Time-based study: This is an analysis of the time required to achieve a return on
investments. The future value of a project is also a factor.
Technical Feasibility:- The Technical Feasibility Study assesses the details of how you
will deliver a product or service (i.e., materials, labor, transportation, where your business
will be located, technology needed, etc.). Think of the technical feasibility study as the
logistical or tactical plan of how your business will produce, store, deliver, and track its
products or services.
Index.php
<?php
session_start();
include("conf/conf.php");
$databaseURL = $dbConf->get_databaseURL();
$databaseUName = $dbConf->get_databaseUName();
$databasePWord = $dbConf->get_databasePWord();
$databaseName = $dbConf->get_databaseName();
$_SESSION['databaseURL']=$databaseURL;
$_SESSION['databaseUName']=$databaseUName;
$_SESSION['databasePWord']=$databasePWord;
$_SESSION['databaseName']=$databaseName;
$connection = @mysql_connect($databaseURL,$databaseUName,$databasePWord);
$db = @mysql_select_db($databaseName,$connection);
$rowArray;
$rowID = 1;
$query = "SELECT * FROM Sectors";
$result = @mysql_query($query);
while($row = @mysql_fetch_array($result)){
$rowArray[$rowID] = $row['Sector'];
$_SESSION['sectors']=$rowArray;
@mysql_close($connection);
?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>AirAlliance</title>
</head>
<body>
<div id="wrapper">
<?php include 'include/header.php'; ?>
<div id="page">
<div id="content">
<div id="welcome">
<h1>Welcome to AirAlliance</h1>
<!--body-->
<p>
experience.
</p>
<p>
</p>
<p>
</p>
<!--body ends-->
</div>
</div>
<div id="sidebar">
<ul>
</ul>
</div>
</div>
</div>
</body>
</html>
Home.php
<html>
<head>
</head>
<body>
</form>
</body>
</html>
itinerarymanager.php
<?php
/*
session.
*/
include("classes/guestitinerary.php");
include("classes/flight.php");
include("classes/schedule.php");
$databaseURL;
$databaseUName;
$databasePWord;
$databaseName;
/*
DB Initialization method.
*/
function initDB(){
if(! isset($_SESSION['databaseURL'])){
include("conf/conf.php");
$dbConf = new AAConf();
$databaseURL = $dbConf->get_databaseURL();
$databaseUName = $dbConf->get_databaseUName();
$databasePWord = $dbConf->get_databasePWord();
$databaseName = $dbConf->get_databaseName();
$_SESSION['databaseURL']=$databaseURL;
$_SESSION['databaseUName']=$databaseUName;
$_SESSION['databasePWord']=$databasePWord;
$_SESSION['databaseName']=$databaseName;
$connection =
@mysql_connect($databaseURL,$databaseUName,$databasePWord);
$db = @mysql_select_db($databaseName,$connection);
$rowArray;
$rowID = 1;
$result = @mysql_query($query);
while($row = @mysql_fetch_array($result)){
$rowArray[$rowID] = $row['Sector'];
}
//Update the session with the sectors.
$_SESSION['sectors']=$rowArray;
@mysql_close($connection);
$databaseURL = $_SESSION['databaseURL'];
$databaseUName = $_SESSION['databaseUName'];
$databasePWord = $_SESSION['databasePWord'];
$databaseName = $_SESSION['databaseName'];
$connection = @mysql_connect($databaseURL,$databaseUName,$databasePWord);
$db = @mysql_select_db($databaseName,$connection);
return $connection;
/*
DB Closing method.
*/
function closeDB($connection){
@mysql_close($connection);
/*
Guests are allowed to cancel
*/
function cancelReservation($IID){
$connection = initDB();
$query2;
$result2 = @mysql_query($query2);
$SID;
while($row2 = @mysql_fetch_array($result2)){
$SID = $row2['SID'];
$result2 = @mysql_query($query2);
$result2 = @mysql_query($query2);
closeDB($connection);
return 0;
/*
*/
function processReservation($fname,$lname,$sourcelist,$destlist,$flight,$sdate){
$connection = initDB();
$query2;
$result2 = @mysql_query($query2);
$registeredGuest = false;
$guestID;
while($row2 = @mysql_fetch_array($result2)){
$guestID = $row2['GID'];
$registeredGuest = true;
if(! $registeredGuest){
$result2 = @mysql_query($query2);
$row2 = @mysql_fetch_array($result2);
$MGID = $row2[0];
$guestID = $MGID + 1;
$result2 = @mysql_query($query2);
$result = @mysql_query($query);
$row2 = @mysql_fetch_array($result);
$FID = $row2['FID'];
$result2 = @mysql_query($query2);
$row2 = @mysql_fetch_array($result2);
$MSID = $row2[0];
$SID = $MSID + 1;
$result2 = @mysql_query($query2);
$duplicateItinerary = false;
$guestID;
while($row2 = @mysql_fetch_array($result2)){
$duplicateItinerary = true;
if($duplicateItinerary){
return -1;
('".$SID."','".$guestID."','".$FID."','".$sdate."')";
$result2 = @mysql_query($query2);
$result2 = @mysql_query($query2);
$row2 = @mysql_fetch_array($result2);
$MIID = $row2[0];
$IID = $MIID + 1;
Values('".$IID."','".$guestID."','".$FID."','".$SID."')";
$result2 = @mysql_query($query2);
closeDB($connection);
return $IID;
/*
table.
*/
function getAvailableFlights($source,$dest){
$connection = initDB();
$query2;
$result2 = @mysql_query($query2);
$row2 = @mysql_fetch_array($result2);
$SourceSID = $row2['SID'];
$result3 = @mysql_query($query3);
$row3 = @mysql_fetch_array($result3);
$destSID= $row3['SID'];
$result3 = @mysql_query($query3);
$flightsArray;
$flightsID=1;
while($row = @mysql_fetch_array($result3)){
$fName= $row['FName'];
$flightsArray[$flightsID] = $fName;
closeDB($connection);
//return $flightsArray;
/*
function getFlightInfo($FID){
$connection = initDB();
$query;
if($FID == 0){
else{
$result = @mysql_query($query);
$flightData;
$flightID = 0;
while($row = @mysql_fetch_array($result)){
$FID = $row['FID'];
$FName = $row['FName'];
$SourceSID = $row['SourceSID'];
$DestSID = $row['DestSID'];
$result2 = @mysql_query($query2);
//or die ("Query Failed ".mysql_error());
$row2 = @mysql_fetch_array($result2);
$source = $row2['Sector'];
$result3 = @mysql_query($query3);
$row3 = @mysql_fetch_array($result3);
$dest= $row3['Sector'];
$flight->set_FID($FID);
$flight->set_FName($FName);
$flight->set_source($source);
$flight->set_dest($dest);
$flightData[$flightID] = $flight;
closeDB($connection);
return $flightData;
/*
Refer to classes/guestitinerary.php.
*/
function getItinerary($IID){
$connection = initDB();
$query;
if($IID == 0){
else{
$result = @mysql_query($query);
$itineraryID = 0;
$itineraryData;
while($row = @mysql_fetch_array($result)){
$GID = $row['GID'];
$FID = $row['FID'];
$SID = $row['SID'];
$query2 = "SELECT * FROM Guest WHERE GID='".$GID."'"; //gid is primary key ,so
one at a time ;no use of while loop
$result2 = @mysql_query($query2);
$row2 = @mysql_fetch_array($result2);
$firstName = $row2['FirstName'];
$lastName = $row2['LastName'];
$result3 = @mysql_query($query3);
$row3 = @mysql_fetch_array($result3);
$travelDate = $row3['Date'];
$result3 = @mysql_query($query3);
$row3 = @mysql_fetch_array($result3);
$sourceSID = $row3['SourceSID'];
$destSID = $row3['DestSID'];
$fName = $row3['FName'];
$query4 = "SELECT Sector FROM Sectors WHERE SID='".$sourceSID."'";
$result4 = @mysql_query($query4);
$row4 = @mysql_fetch_array($result4);
$source = $row4['Sector'];
$result4 = @mysql_query($query4);
$row4 = @mysql_fetch_array($result4);
$dest = $row4['Sector'];
$guestItinerary->set_FID($FID);
$guestItinerary->set_FName($fName);
$guestItinerary->set_SID($SID);
$guestItinerary->set_source($source);
$guestItinerary->set_dest($dest);
$guestItinerary->set_travelDate($travelDate);
$guestItinerary->set_GID($GID);
$guestItinerary->set_firstName($firstName);
$guestItinerary->set_lastName($lastName);
$itineraryData[$itineraryID]=$guestItinerary;
$itineraryID = $itineraryID + 1;
}
closeDB($connection);
return $itineraryData;
?>
Confirmreservation.php
<?php
include("itinerarymanager.php");
?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Reservation Confirmation</title>
</head>
<body>
<div id="wrapper">
<div id="page">
<div id="content">
<div id="welcome">
<h1>Reservation Confirmation</h1>
<p>
When you book your ticket, you get an Itinerary ID from AirAlliance.
</p>
<!--body-->
<?php
$IID;
if(isset($_REQUEST["IID"])){
$IID = $_REQUEST["IID"];
$isCancelAction = false;
if(isset($_REQUEST["action"])){
$action = $_REQUEST["action"];
if($action == "cancel"){
$isCancelAction = true;
if(!$isCancelAction){
$itineraryData = getItinerary($IID);
echo "<tr>";
echo "<th>Guest Name</th>";
echo "<th>Flight</th>";
echo "<th>Source</th>";
echo "<th>Destination</th>";
echo "</tr>";
$guestItinerary = $itineraryData[$index];
echo "<tr>";
echo "<td>".$guestItinerary->get_source()."</td>";
echo "<td>".$guestItinerary->get_dest()."</td>";
echo "<td>".$guestItinerary->get_travelDate()."</td>";
echo "</tr>";
echo "</table>";
else{
else{
$result = cancelReservation($IID);
if($result == 0){
echo "<h4>The itinerary has been successfully removed. However the guest information
is retained for further processing.</h4>";
}}
else{
?>
<form action="confirmreservation.php">
</form>
<div id="note">
</div>
<?php
}
?>
<!--body ends-->
</div>
</div>
<div id="sidebar">
<ul>
</ul>
</div>
</div>
</div>
</body>
</html>
6. CONCLUSION
To conclude the description about the website; the website, developed
using PHP and MySQL is based on the requirement specification of the user
and the analysis of the existing system, with flexibility for future
enhancement. 5.2 Conclusion
Before modern computing, the reservation system was done using manual
means. This meant that a person about to travel had to spend a lot of
unnecessary time waiting in queues in order to book their tickets. The
manual process of reservation was also prone to human errors, which lead
to a lot of dissatisfaction amongst travellers. Nowadays competition is so
fierce between airlines that there are lot of discounts and a lot of luxuries
given to customers that will give an edge to that particular airline. The
online airline reservation automates these processes of booking airline
tickets online, thus reducing the time wasted as well as the errors that are
involved in the manual process. People will argue that online airline
reservation system are expensive, and create unfair competition between
other airlines that don’t have them.
From the researchers view, online airline reservation is one the best
innovation that has taken place in the airline industry and those companies
that have not yet embraced airline reservation system ought to lose out,
they may sight, additional costs, maintenance cost and the cost
of development as their drawbacks. World Wide Web and the Internet is
here and airline companies for the future will seize this opportunity develop
airline reservation systems.
REFERENCES