0% found this document useful (0 votes)
162 views40 pages

Ticket Purchasing System Project Report

This project report describes a ticket purchasing system for Dhaka Mass Rapid Transit (DMRT). The system allows users to register, login, and purchase tickets online. It uses HTML, CSS, Bootstrap, AJAX, and PHP for the front-end and back-end development. Flowcharts, ER diagrams, and DFDs are included to explain the system implementation. Screenshots demonstrate the home page, registration, login, user dashboard, admin login, and admin dashboard interfaces. The system aims to provide a convenient online ticket purchasing solution for DMRT users.

Uploaded by

Rabiul Allam
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
162 views40 pages

Ticket Purchasing System Project Report

This project report describes a ticket purchasing system for Dhaka Mass Rapid Transit (DMRT). The system allows users to register, login, and purchase tickets online. It uses HTML, CSS, Bootstrap, AJAX, and PHP for the front-end and back-end development. Flowcharts, ER diagrams, and DFDs are included to explain the system implementation. Screenshots demonstrate the home page, registration, login, user dashboard, admin login, and admin dashboard interfaces. The system aims to provide a convenient online ticket purchasing solution for DMRT users.

Uploaded by

Rabiul Allam
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Bangladesh University of Business and Technology

A PROJECT REPORT
ON

“TICKET PURCHASING SYSTEM”


Submitted In Partial Fulfillment of the Requirements for the Award of
BACHELOR OF SCIENCE
IN
COMPUTER SCIENCE & ENGINEERING

Submitted By:

Samin Sakif (ID:16173103077) Rabiul Allam Ashik(ID:16173103084)

Supervised by:

Md. Abdullah Al Ahasan


Lecturer, Dept. of CSE, BUBT
ABSTRACT

In this project the basic public facility like MRT station and a public space for
amenity like a cultural space were introduced and the possible opportunity it
might bring together with the impact was explored.

Twenty million people will live in Dhaka in 2030 if present growth trends to
continue. Unhindered informal/unplanned and formal/planned growth on its
fragile ecology makes it one of the most vulnerable/unlivable cities on the
planet in the face of climate change and other natural calamities. The present
traffic scenario is connected with this explosive urban growth and has to be
treated accordingly.

Dhaka city’s transport network awaits a big change, as the government plans
seven metro-rail and bus rapid transit routes under an integrated mass traffic
system. Government officials said the state-run Dhaka Transport Coordination
Authority (DTCA) and the Roads and Highways Department (RHD) would
construct three Mass Rapid Transit (MRT) and four Bus Rapid Transit (BRT)
lines to ease traffic snarls in the busy metropolis.
CANDIDATE’S DECLARATION

We declare that 11th semester report entitled Ticket Purchasing System is


OUR own work conducted under the supervision of the external guide Md.
Abdullah Al Ahasan from Department of CSE, BUBT.

We further declare that to the best of my knowledge the report for [Link]. 11th
semester does not contain part of the work which has been submitted for the
award of [Link]. either in this or any other university without proper citation.

-------------------- --------------------
Samin Sakif Rabiul Allam ashik
Bangladesh University of Business and Technology
Department of Computer Science & Engineering
Mirppur-2, Dhaka 1216

CERTIFICATE
This is to certify that this is an authentic record of the project presented
by Samin Sakif & Rabiul Allam Ashik during the semester, Fall 2020-
2021 in partial fulfilment of the requirements of the degree of Bachelor of
Science in Computer Science and Engineering.

-------------------- ------------------------
Samin Sakif Rabiul Allam Ashik

-------------------------------
Project Supervisor
Md. Abdullah Al Ahasan
Lecturer,
Dept. of CSE, BUBT.
DEDICATION

Dedicated to our parents for all their love and inspiration .

&

Also dedicated to our beloved teachers for whom we have come so far.
Acknowledgements

It is a great a pleasure to present this report on the project named Ticket Purchasing
System (DMRT) undertaken by me as part of my [Link]. in (CSE) curriculum.

It is pleasure that we find ourselves penning down these lines to express my sincere thanks
to the people who helped me along the way in completing our project. We find inadequate
words to express my sincere gratitude towards them.

First and fore most we would like to express my gratitude towards my training guide Md.
Abdullah Al Ahasan for placing complete faith and confidence in our ability to carry out
this project and for providing me his time, inspiration, encouragement, help, valuable
guidance. without the sincere and honest guidance of our respect project guide we would
have not been to reach the present stage.

We would like to express my sincere thanks to our chairman of the Department Prof. Dr.
M. Ameer Ali and our internal guide who gave us an opportunity to undertake such a
great challenging and innovative work. We are grateful to them for their guidance,
encouragement, understanding and insightful in the development process. We are also
thankful to entire staff of BUBT for their constant encouragement, suggestions and moral
support throughout the duration of my project.

Last but not the least we would like to mention here that we are greatly indebted to each
and everybody who has been associated with my project at any stage but whose name
does not find a place in this acknowledgement.

Best Regards,
Samin Sakif (ID: 16173103077).
Rabiul Allam Ashik (ID: 16173103084).
APPROVAL

The project Ticket Purchasing System (DMRT), submitted by Samin Sakif (ID:
16173103077) & Rabiul Allam Ashik (ID: 16173103084) dept. of CSE, BUBT under
the supervision of Md. Abdullah Al Ahasan, Lecturer, dept. of CSE, has been accepted
as satisfactory for the partial fulfillment of the requirements for the degree of Bachelor
of Science in CSE.

Approved By

—————————-
Md. Abdullah Al Ahasan
Lecturer,
Department of CSE, BUBT
Abbreviations

* DMRT- Dhaka Mass Rapid Transit.


* DTCA- Dhaka Transport Coordination Authority.
* BRT- Bus Rapid Transit.
* RHD- Roads and Highways Department.
* GoB- Government of Bangladesh.
* DTCB- Dhaka Transport Coordination Boar.
* JICA- Japan International Cooperation Agency.
* IDE- Integrated Development Environment.
Table of contents

Abstract ………………………………………………..…..…………………………...ii
Candidate’s Declaration …………….....………………..……………………………..iii
Certificate ………………………………………………...……………………………iv
Dedication …………………………………….………..….…………………………...v
Acknowledgements ……………………………………..…..……………………...….vi
Approval …………………………………………………..…..……………………....vii
Abbreviations…………………………………………..…………...…....viii

CHAPTER 1: Introduction 1-3


1.1 Motivation..................................................................................................................2
1.2 Study of the system…................................................................................................3
CHAPTER 2: Tools and Technologies 4-5
2.1 HTML.........................................................................................................................4
2.2 CSS.............................................................................................................................4
2.3 Bootstrap.....................................................................................................................5
2.4 AJAX..........................................................................................................................5
2.5 PHP.............................................................................................................................5

CHAPTER 3: The Project Brief 6

CHAPTER 4: Objectives and goals 7

CHAPTER 5: Overview 8

CHAPTER 6: Features and Requirements 9

CHAPTER 7: Implementation 10-13


7.1. Flow Chart...............................................................................................................11
7.2. E-R Diagram...........................................................................................................12
7.3. Data Flow Diagram.................................................................................................13

CHAPTER 8: Screenshots of Project 14-24


8.1. Home Page..............................................................................................................14
8.2. User Registration Form...........................................................................................15
8.3. User Login Form.....................................................................................................16
8.4. User Dashboard.......................................................................................................17
8.5. Admin Login Form..................................................................................................18
8.6. Admin Dashboard...................................................................................................19
Dashboard
Route List
8.7. Journey Details Selection Form..............................................................................20
8.8. Available Coach Details..........................................................................................21
8.9. Seat selection, ticket details & passenger’s information.........................................22
8.10. Payment & Confirmation......................................................................................23
8.11. Ticket.....................................................................................................................24
CHAPTER 9: View of Database 25-27
9.1. Database View of Booked Seat Details....................................................................25
9.2. Database View of Route Details...............................................................................26
9.3. Database View of Registered User...........................................................................27
9.4. Database View of Registered Admin.......................................................................27
CHAPTER 10: Conclusion 28
References 29
List of Figures
Figure 7.1: Flow Chart. ............................................................................................................................................11
Figure 7.2: E-R Diagram. ........................................................................................................................................12
Figure 7.3: Data Flow Diagram (DFD). ................................................................................................................13
Figure 8.1: Home Page. ...........................................................................................................................................14
Figure 8.2: User Registration Form. .......................................................................................................................15
Figure 8.3: User Login Form. ..................................................................................................................................16
Figure 8.4: User’s Dashboard. .................................................................................................................................17
Figure 8.5: Admin Login Form. .............................................................................................................................18
Figure 8.6: Admin’s Dashboard. ............................................................................................................................19
Figure 8.7: Route List. ..............................................................................................................................................19
Figure 8.8: Journey Details Selection Form. .........................................................................................................20
Figure 8.9: Available Coach Details. ......................................................................................................................21
Figure 8.10: Seat selection, ticket details & passenger’s information. ...............................................................22
Figure 8.11: Payment & Confirmation. .................................................................................................................23
Figure 8.12: Ticket. ...................................................................................................................................................24
Figure 9.1: Database View of Booked Seat Details. ............................................................................................25
Figure 9.2: Database View of Route Details. ........................................................................................................26
Figure 9.3: Database View of Registered User. ...................................................................................................27
Figure 9.4: Database View of Registered Admin. ................................................................................................27
Introduction

1. Introduction
In today’s World, the way of functioning and Managing the system has been totally changed. there
is a sudden and abrupt changes in the Structure, maintenance and Modification, handling, leaving
inside every system without managing system through computer application and programming, the
development of infrastructures are unfinished. There are many errors and drawbacks without use of
computer programming and applications.

Dhaka, the capital city of Bangladesh with current population of 17 million has been growing at
astonishing levels since the independence. Its metropolitan area is home to almost 15 million people
in an area of 1,528 km (about 17 million in the Greater Dhaka). By 2020, the megacity population is
expected to rise to 20 million people. It is also one of the most densely populated cities in the world,
with more than 45,000 people per square meter in the core area (ADB, 2011). Per l income averages
around US 900 per year, and around 30 percent of the population lives in miserable conditions, with
very poor access to transport services (Ministry of Finance, GoB, 2012) [5].

The rapid urbanization process, high vehicular population growth and that of the mobility, inadequate
transportation facilities and policies, varied traffic mix with over concentration of non-motorized
vehicles, absence of dependable public transport system and inadequate traffic management practices
have created a significant worsening of traffic and environmental problems in the metropolitan
Dhaka. Road traffic congestion continues to remain a major problem and indeed is deteriorating
rapidly resulting in massive losses. The greater challenge thus for transportation professionals is to
develop a system of urban transport that meet the basic mobility needs for all urban dwellers at
desirable safety and avoiding the unacceptable level of congestion and its consequent overwhelming
adverse environmental effects.

Department of CSE, BUBT. 1


Introduction

Various projects around the world have indicated that MRT [4] is an effective for congested cities at
a relatively low construction and operation cost. It is urged that Mass Rapid Transit (MRT) has been
seen as a “creative, emerging public transit solution” which can be cost-effective in addressing urban
congestion (Currie, 2006, Levinson et al. 2003, U.S. General Accounting Office, 2001) [6]. The
purpose of this paper is to introduce the key transport and traffic characteristics in metro Dhaka and
to discuss the potential of introducing MRT in Dhaka metro city and restructuring of existing bus
network to cater for ever increasing public transport demand towards alleviation of congestion level
and achieving a sustainable urban public transport system [7].

As we know that, “necessity is the mother of the invention”, so in today’s challenging world, every
system is developed and launched by the use of computer software and programming. Our project is
about “Metro Rail Ticket Purchasing System (Dhaka). this software is Useful to interface between
User and Authority. Authority can see all of things report, mange Tickets. Dhaka City is biggest
problem traffic Jam, for this problem govt. give a step to Metro railway project. It is very helpful in
our country, it is very effective for our Country, now can transport 60,000 people per hour. Huge
people can buy his/her ticket from booth.

1.1. Motivation

The motivation for this project comes from my keen to learn different technologies. We don’t have
enough experience working on PHP, AJAX platform until now and through this project we have
gained a good learning experience by exposing ourselves to various technologies.

Department of CSE, BUBT. 2


Introduction

1.2. Study of the system

This has been designed keeping the customers in mind and the main purpose is to provide users an
easy, simple and efficient manner of confirming the launch tickets. The user interfaces that are
developed in this website help the customers with different transactional states like entering the
personal information. The addition of this mechanism will make users feel comfortable while using
the website/software. Though it only can be accessed only by the users of the authority but customers
will be able to access this when there will be another customer log in form then they will be able to
buy tickets but cancellation of tickets is on the hand of authority/authorized users. Here customers
only can give their personal information.

Department of CSE, BUBT. 3


Tools and Technologies

2. Tools and Technologies


We basically use HTML, CSS, Bootstrap, AJAX and PHP.

2.1. HTML

Hypertext Markup Language (HTML) is the standard markup language for creating web pages and
applications. Each page contains a series of connections to other pages called hyperlinks. HTML
describes the structure of a web page semantically and originally included cues for the appearance of
the document. HTML elements are delineated by tags, written using angle brackets. Tags such as
<img> and <input/> introduce content into the page directly. Others such as <p>….</p> surround
and provide information about document text and may include other tags as sub-elements. Browsers
do not display the HTML tags, but use them to interpret the content of the page. HTML code ensures
the proper formatting of text and images so that your Internet browser may display them as they are
intended to look. Without HTML, a browser would not know how to display text as elements or load
images or other elements. HTML also provides a basic structure of the page, upon which Cascading
Style Sheets are overlaid to change its appearance.

2.2. CSS

Cascading Style Sheets (CSS) is a style sheet language used for describing the presentation of a
document written in a markup language. 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, 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.

Department of CSE, BUBT. 4


Tools and Technologies

2.3. Bootstrap
Bootstrap is a free front-end framework for faster and easier web development. Bootstrap includes
HTML and CSS based design templates for typography, forms, buttons, tables, navigation, modals,
image carousels and many other, as well as optional JavaScript plugins. Bootstrap also gives us the
ability to easily create responsive designs

2.4. AJAX
AJAX is an acronym for Asynchronous JavaScript and XML. It is a group of inter-related
technologies like JavaScript, DOM, XML, HTML/XHTML, CSS. AJAX allows us to send and
receive data asynchronously without reloading the web page. So it is fast. AJAX allows us to send
only important information to the server not the entire page. So only valuable data from the client
side is routed to the server side. It makes your application interactive and faster.

2.5. PHP

PHP is a widely used open source general purpose scripting language that is especially suites for web
development and can be embedded into html basically, a server-side scripting language designed
primarily for web development but also used as a general-purpose programming language. PHP code
may be embedded into HTML or HTML5 markup, or it can be used in combination with various web
template systems, web content management systems and web frameworks. PHP code is usually
processed by a PHP interpreter implemented as a module in the web server or as a Common Gateway
Interface (CGI) executable. The web server software combines the results of the interpreted and
executed PHP code, which may be any type of data, including images, with the generated web page.
PHP code may also be executed with a command-line interface (CLI) and can be used to implement
standalone graphical applications.

Department of CSE, BUBT. 5


The Project Brief

3. The Project Brief


The urban transportation system is not well coordinated and does not provide people with ease to
access and mobility to different places. Hence traffic pressure could be eased by connecting
transportation linkages with surrounding urban areas and facility. [3]

The mass transport facility in Dhaka is composed of individual private sector operators with almost
complete dependency on small capacity minibuses, the exception being some standard single deckers
and double deckers operating on a minority of routes.

With due consideration of this rapid urbanization situation in Dhaka, the Government of Bangladesh
(GOB), through Dhaka Transport Coordination Board (DTCB) as the implementing agency, Japan
International Cooperation Agency (JICA), formulated a preparatory survey on Dhaka Urban
Transport Network Development Study recommended a series of urban transport network
development projects and programs [6]. MRT Line 6 [7] project was selected in the as the high
priority project
[2].

Department of CSE, BUBT. 6


Objectives and Goals

4. Objectives and Goals


The main purpose of this study is to automate the manual procedures of reserving a metro rail train
ticket for any journey made through a website. This system is said to be an automatic system and
customers can select seats by themselves. Specifically, objectives of this project will consist of :

 Providing a web-based metro rail ticket purchasing function where a customer can buy bus
ticket through the online system without a need to queue up at the counter to purchase a
metro rail ticket.
 Enabling customers to check the availability and types of coaches online. Customer can
check the time departure for every coaches through the system.
 Easing metro rail ticket payment by obtaining a bank pin after payment is made to the
various designated banks.
 Ability of customers to cancel their Purchasing.
 Admin user privileges in updating and canceling Purchasing, route and vehicle records.

Department of CSE, BUBT. 7


Overview

5. Overview
The transport system in Dhaka includes many different modes of travel - both motorized and non-
motorized. These diverse modes often use the same road space, resulting in a high level of operational
disorder. The city’s transport environment and system are unique among cities of comparable size in
the world, being predominantly road based with a substantial share of non-motorized transport[5].
Buses and minibuses, the cheapest mode available as mass transit, are constrained by poor service
conditions: long waiting, delay on plying, overloading and long walking distance from the
residence/work place to bus stoppages are some of the problems that users confront daily. This
situation has resulted in deterioration in accessibility, level of service, safety, comfort and operational
efficiency, causing increased costs, loss of time, air pollution and psychological strain, and posing a
serious risk to the economic viability of the city and the sustainability of its environment. The purpose
of this project to make metro rail ticket purchasing system more efficient and effective. To provide a
user friendly environment where user can be serviced better[2]. Make function of metro rail ticket
system.

Department of CSE, BUBT. 8


Features & Requirements

6. Features & Requirements

 Features

 User Registration and Login


 Buy his/her Ticket Very easily.
 Users can see their trip distance in KM.
 Users can see total costs.
 Route details.
 Users can see available seats and booked seats from an iconic image of a
coach.
 User can make payments.
 User can also print tickets directly from website.
 Requirements

 XAMPP Server.

 Web Browser.

Department of CSE, BUBT. 9


Implementation

7. Implementation
 [Link]: the main page of the website after login
 [Link]: for booking seats
 [Link], [Link]: for cancelling seats
 [Link], [Link]: for changing passwords
 [Link]: for establishing link with the database
 [Link]: finding trains between station
 [Link]: general footer code for all PHP files
 [Link]: generating test data and some tables
 getAvailability: getting availability of seats
 [Link]: Javascript functions to assist the website on client side
 [Link]: general header code for most PHP files
 [Link]: main page of the website when not logged in [Link]: Logs
the user out
 [Link]: contains SQL code for generating tables and sequences
 [Link]: registers new users into the website
 [Link]: triggers for checking wherther validity constraints are satisfied
 [Link], [Link]: User profile updation
 datagencodes: Python and Bash codes for generating and importing realistic
data

Department of CSE, BUBT. 10


Implementation

7.1. Flow Chart

Figure 7.1: Flow Chart.

Department of CSE, BUBT. 11


Implementation

7.2. E-R Diagram:

Figure 7.2: E-R Diagram.

Department of CSE, BUBT. 12


Implementation

7.3. Data Flow Diagram:

Figure 7.3: Data Flow Diagram (DFD).

Department of CSE, BUBT. 13


Screenshots of Project

8. Screenshots of Project

8.1. Home Page

Figure 8.1: Home Page.

Department of CSE, BUBT. 14


Screenshots of Project

8.2. User Registration Form.

If the user is not registered, user have to register through this registration form.

Figure 8.2: User Registration Form.

Department of CSE, BUBT. 15


Screenshots of Project

8.3. User Login Form.

For users, to access the website there must be needed a user name & password. If
the user name or password is incorrect or invalid then this website will not allow
to access.

Figure 8.3: User Login Form.

Department of CSE, BUBT. 16


Screenshots of Project

8.4. User Dashboard.

Figure 8.4: User’s Dashboard.

Department of CSE, BUBT. 17


Screenshots of Project

8.5. Admin Login Form.

Figure 8.5: Admin Login Form.

Department of CSE, BUBT. 18


Screenshots of Project

8.6. Admin Dashboard.

Dashboard

Figure 8.6: Admin’s Dashboard.

Route List

Figure 8.7: Route List.

Department of CSE, BUBT. 19


Screenshots of Project

8.7. Journey Details Selection Form.

Figure 8.8: Journey Details Selection Form.

Department of CSE, BUBT. 20


Screenshots of Project

8.8. Available Coach Details.

Figure 8.9: Available Coach Details.

Department of CSE, BUBT. 21


Screenshots of Project

8.9. Seat selection, ticket details & passenger’s information.

Figure 8.10: Seat selection, ticket details & passenger’s information.

Department of CSE, BUBT. 22


Screenshots of Project

8.10. Payment & Confirmation.

Figure 8.11: Payment & Confirmation.

Department of CSE, BUBT. 23


Screenshots of Project

8.11. Ticket.

Figure 8.12: Ticket.

Department of CSE, BUBT. 24


View of Database

9. View of Database.

9.1. Database View of Booked Seat Details:

Figure 9.1: Database View of Booked Seat Details.

Department of CSE, BUBT. 25


View of Database

9.2. Database View of Route Details:

Figure 9.2: Database View of Route Details.

Department of CSE, BUBT. 26


View of Database

9.3. Database View of Registered User:

Figure 9.3: Database View of Registered User.

9.4. Database View of Registered Admin:

Figure 9.4: Database View of Registered Admin.

Department of CSE, BUBT. 27


Conclusion

10. Conclusion
The main aim of developing Purchasing system is to provide all information that is required by the
users. User friendliness is a must that is the user must get the details without complicated searching
procedures.

There is an ever increasing urgency of mitigating the complex transport problems in Dhaka. Poor
traffic management, lack of road spaces and the absence of organized public transport resulted in
severe traffic congestion, massive delays, increased fuel wastage and resource losses. The context
and the expected benefits of Mass Rapid Transit (MRT) [6] system towards achieving the sustainable
public transport system in Dhaka are discussed in the paper.

Simplicity is never simple. As we have seen in this project, the process of creating a user friendly and
straightforward platform that facilitates the administrators job is one filled with complexity. From
understanding user requirements to system design and finally system prototype and finalization,
every step requires in-depth understanding and commitment towards achieving the objectives of the
project.

Department of CSE, BUBT. 28


References

References

[1] CODATU XI in Bucharest,Romania. Augmentation of mass transit mode in


Dhaka, Bangladesh; Hoque, Md Mazharul and Hossain, Tanvir. Year-[2010]
[2] Factors in deciding Metro Rail in Developing Countries: A study on the
proposed Metro Rail system for Dhaka; Alam, Md Saniul. Vol-2075, Year-
[2010], page-(9363).

[3] Proceedings of CODATU XV: The Role of Urban Mobility in (re) shaping
Cities; Hoque, Md Mazharul and Barua, S and Ahsan, HM and Alam,
Dhrubo.

[4] DHAKA MASS TRANSIT COMPANY LTD. DHAKA MASS TRANSIT COM-
PANY LTD.; Retrieved 28 January 2017.
[5] ”Muhith to sit with armed forces to resolve metro rail site dispute”. The
Financial Express. ; 25 June 2011.

[6] ”PM opens work on metro, BRT”.Railway Gazette.; The Daily Star. 27 June
2016. Retrieved 25 July 2016.
[7] ”About DMTC Line 6- The Official Website for the Dhaka MRT Project”.
DHAKA MASS TRANSIT COMPANY LTD. DHAKA MASS TRANSIT COM-
PANY LTD. Retrieved 28 January 2017.

Department of CSE, BUBT. 29

You might also like