Car Rental Portal

Download as pdf or txt
Download as pdf or txt
You are on page 1of 38

Car Rental Portal

Submitted in partial fulfilment of the requirements for the


award of the degree of

Master of Computer Application (MCA)


to
Guru Gobind Singh Indraprastha University, Delhi

Supervisor: Submitted by:


Dr. Anu Taneja Anuj Tomar
(Assistant Professor) 01911104420

Banarsidas Chandiwala Institute of Information Technology,


New Delhi – 110019
Batch ( 2020-2022 )
MCA-269
Certificate

I, Mr. Anuj Tomar, Roll No. 01911104420 certify that the Project Report/Dissertation (MCA-
269) entitled “Car Rental Portal” is done by me and it is an authentic work carried out by
me at Banarsidas Chandiwala Institute of Information Technology. The matter embodied
in this project work has not been submitted earlier for the award of any degree or diploma
to the best of my knowledge and belief.

Signature of the Student


Date:

Certified that the Project Report/Dissertation (MCA-170) entitled “Car Rental


Portal” Done by Mr. Anuj Tomar, Roll No. 01911104420, is completed under my
guidance.

Signature of the Guide


Date:
Name of the Guide:
Dr.Anu Taneja
Countersigned (Assistant Professor)

Address:
Banarsidas Chandiwala
Institute of Information
Technology, Kalkaji,
New Delhi-110019
Director / HOD

2
ACKNOWLEDGEMENT

In the present world of competition there is a race of existence in which those are
having will to come forward succeed. Project is like a bridge between theoretical
and practical working. With this willing I joined this particular project. First of all, I
would like to thank supreme power the almighty god who is obviously the one has
always guided me to work on the one has always guided me to work on the right
path of life. Without his grace this project could not become a reality. Whom I am
greatly indebted for me brought up with love and encouragement to this stage. I
am feeling oblige in taking the opportunity to sincerely thanks to Dr. Anu Taneja
(Assistant Professor of BCIIT) for generous attitude and friendly behaviour. I have
no valuable words to express my thanks, but my heart is still full of he favours
received from every person.

Anuj Tomar
01911104420

3
Synopsis

Title of the project:

“Car Rental Portal”

Problem Definition:
A car rental is a vehicle that can be used temporarily for a fee during a specified period. Getting
a rental car helps people get around despite the fact they do not have access to their own
personal vehicle or don't own a vehicle at all. The individual who needs a car must
contact a rental car company and contract out for a vehicle. This system increases customer
retention and simplify vehicle and staff management.

Objectives & Scope:

• To produce a web-based system that allow customer to register and reserve


car online and for the company to effectively manage their car rental
business.

• To ease customer’s task whenever they need to rent a car.

Scope
This project traverses a lot of areas ranging from business concept to computing field,
and required to perform several researches to be able to achieve the project objectives.

The area covers include:

• Car rental industry: This includes study on how the car rental business is being done,
process involved and opportunity that exist for improvement.

• PHP Technology used for the development of the application.

4
• General customers as well as the company’s staff will be able to use the system
effectively.

• Web-platform means that the system will be available for access 24/7 except when there is a
temporary server issue which is expected to be minimal.

Methodology
A car rental is a vehicle that can be used temporarily for a period of time with a fee. Renting a car
assists people to get around even when they do not have access to their own personal vehicle or
don't own a vehicle at all. The individual who want to rent a car must first contact the car rental
company for the desire vehicle. This can be done online. At this point, this person has to supply
some information such as; dates of rental, and type of car. After these details are worked out, the
individual renting the car must present a valid Identification Card. Most companies throughout the
industry make a profit based of the type of cars that are rented. The rental cars are categorized into
economy, compact, compact premium, premium and luxury. And customers are free to choose any
car of their choice based on their purse and availability of such car at the time of reservation.

Software Requirements

• XAMPP server
• Language Used
1. Front End(User Interface): HTML 5 , CSS, JAVASCRIPT, BOOTSTRAP.
2. Server Language: PHP 5.5
3. Back End: MYSQL

5
CONTENTS

S No Topic Page No

1 Certificate (s) 2

2 Acknowledgement 3

3 Synopsis 4

4 Chapter-1: Introduction

1.1 : Reason for the Project


1.2 : Problem Statement 8-10
1.3: Aims & Objectives
1.4: Scope

5 Chapter-2: System Requirement Analysis

2.1: How car rental services work


11-14
2.2: Benefits of Online Car rental services

2.3: Functional Requirements

2.4: Non- Functional Requirements

6 Chapter-3: System Design


3.1: Context Diagram 15-17

3.2: Level 1 DFD

6
7 Chapter-4: System Development

4.1: Programme Development

4.2: PHP Syntax

4.3: Connecting PHP Application to MYSQL Database

4.4: Introduction to MySQL


18-36
4.5: Introduction to HTML, CSS & JS

4.6: Bootstrap

4.7: Outputs

10 Chapter-5: Conclusion
5.1: Conclusion 37-38

15 References 39

7
CHAPTER-1

8
CHAPTER-1

1. INTRODUCTION

This project is designed so as to be used by Car Rental Company specializing in renting


cars to customers. It is an online system through which customers can view available
cars, register, view profile and book car.

1.1 Reason for the Project

The advancement in Information Technology and internet penetration has greatly enhanced
various business processes and communication between companies (services provider) and their
customers of which car rental industry is not left out. This E-Car Rental System is developed to
provide the following services:

• Enhance Business Processes: To be able to use internet technology to project the rental
company to the global world instead of limiting their services to their local domain alone, thus
increase their return on investment (ROI).
• Online Vehicle Reservation: A tools through which customers can reserve available cars online
prior to their expected pick-up date or time.
• Customer’s registration: A registration portal to hold customer’s details, monitor their
transaction and used same to offer better and improve services to them.
• Group bookings: Allows the customer to book space for a group in the case of weddings or
corporate meetings (Event management).

9
1.2 Problem Statement

A car rental is a vehicle that can be used temporarily for a fee during a specified period. Getting a
rental car helps people get around despite the fact they do not have access to their own personal
vehicle or don't own a vehicle at all. The individual who needs a car must contact a rental car
company and contract out for a vehicle. This system increases customer retention and simplify
vehicle and staff management.

1.3 Aims & Objectives

• To produce a web-based system that allow customer to register and reserve car online and for
the company to effectively manage their car rental business.
• To ease customer’s task whenever they need to rent a car.

1.4 Scope

This project traverses a lot of areas ranging from business concept to computing field, and required
to perform several researches to be able to achieve the project objectives. The area covers include:

• Car rental industry: This includes study on how the car rental business is being done, process
involved and opportunity that exist for improvement.
• PHP Technology used for the development of the application.
• General customers as well as the company’s staff will be able to use the system effectively.
• Web-platform means that the system will be available for access 24/7 except when there is a
temporary server issue which is expected to be minimal.

10
CHAPTER-2

11
Chapter-2: Systems Requirement Analysis

2.1 How Car Rental Services Work

A car rental is a vehicle that can be used temporarily for a period of time with a fee. Renting a
car assists people to get around even when they do not have access to their own personal vehicle
or don't own a vehicle at all. The individual who want to rent a car must first contact the car rental
company for the desire vehicle. This can be done online. At this point, this person has to supply
some information such as; dates of rental, and type of car. After these details are worked out, the
individual renting the car must present a valid Identification Card.

Most companies throughout the industry make a profit based of the type of cars that are rented.
The rental cars are categorized into economy, compact, compact premium, premium and luxury.
And customers are free to choose any car of their choice based on their purse and availability of
such car at the time of reservation.

2.2 Benefits of Online Car Rental Services

• This online car rental solution is fully functional and flexible.


• It is very easy to use.
• This online car rental system helps in back office administration by streamlining and
standardizing the procedures.
• It saves a lot of time, money and labour.
• Eco-friendly: The monitoring of the vehicle activity and the overall business becomes easy
and includes the least of paper work.
• The software acts as an office that is open 24/7.
• It increases the efficiency of the management at offering quality services to the customers.
• It provides custom features development and support with the software.

12
2.3 Functional Requirements

Requirement analysis is a software engineering technique that is composed of the various tasks
that determine the needs or conditions that are to be met for a new or altered product, taking
into consideration the possible conflicting requirements of the various users.

Functional requirements are those requirements that are used to illustrate the internal working
nature of the system, the description of the system, and explanation of each subsystem. It
consists of what task the system should perform, the processes involved, which data should the
system holds and the interfaces with the user. The functional requirements identified are:

a. Customer’s registration: The system should allow new users to register online and generate
membership card.
b. Online reservation of cars: Customers should be able to use the system to make booking
and online reservation.
c. Automatic update to database once reservation is made or new customer registered:
Whenever there’s new reservation or new registration, the system should be able update the
database without any additional efforts from the admin.
d. Feedbacks to customers: It should provide means for customers to leave feedback.

2.4 Non-Functional Requirements

It describes aspects of the system that are concerned with how the system provides the
functional requirements. They are:
a. Security: The subsystem should provide a high level of security and integrity of the data
held by the system, only authorized personnel of the company can gain access to the
company’s secured page on the system; and only users with valid password and username
can login to view user’s page.
b. Performance and Response time: The system should have high performance rate when
executing user’s input and should be able to provide feedback or response within a short
time span usually 50 seconds for highly complicated task and 20 to 25 seconds for less

13
complicated task.
c. Error handling: Error should be considerably minimized and an appropriate error message
that guides the user to recover from an error should be provided. Validation of user’s input
is highly essential. Also the standard time taken to recover from an error should be 15 to 20
seconds.
d. Availability: This system should always be available for access at 24 hours, 7 days a week.
Also in the occurrence of any major system malfunctioning, the system should be available
in 1 to 2 working days, so that the business process is not severely affected.
e. Ease of use: Considered the level of knowledge possessed by the users of this system, a
simple but quality user interface should be developed to make it easy to understand and
required less training.

14
Chapter-3

15
Chapter-3: Systems Design

Context Diagram

16
Level 1 DFD

17
CHAPTER-4

18
CHAPTER 4: Systems Development

4.1 Programme Development


About PHP

PHP: Hypertext Pre-processor is a widely used, general-purpose scripting language that was
originally designed for web development to produce dynamic web pages. For this purpose, PHP
code is embedded into the HTML source document and interpreted by a web server with a PHP
processor module, which generates the web page document.

As a general-purpose programming language, PHP code is processed by an interpreter


application in command-line mode performing desired operating system operations and
producing program output on its standard output channel. It may also function as a graphical
application. PHP is available as a processor for most modern web servers and as standalone
interpreter on most operating systems and computing platforms.

PHP was originally created by Rasmus Lerdorf in 1995 and has been in continuous development
ever since. The main implementation of PHP is now produced by the PHP Group and serves as
the de facto standard for PHP as there is no formal specification. PHP is free software released
under the PHP License.

PHP is a general-purpose scripting language that is especially suited to server-side web


development where PHP generally runs on a web server. Any PHP code in a requested file is
executed by the PHP runtime, usually to create dynamic web page content. It can also be used
for command-line scripting and client-side GUI applications. PHP can be deployed on most web
servers, many operating systems and platforms, and can be used with many relational database
management systems. It is available free of charge, and the PHP Group provides the complete
source code for users to build, customize and extend for their own use.

Originally designed to create dynamic web pages, PHP now focuses mainly on server-side
scripting, and it is similar to other server-side scripting languages that provide dynamic content
from a web server to a client, such as Microsoft's Active Server Pages, Sun Microsystems’ Java
Server Pages, and mod_perl. PHP has also attracted the development of many frameworks that
provide building blocks and a design structure to promote rapid application development (RAD).

19
Some of these include CakePHP, Symfony, CodeIgniter and Zend Framework, offering features
similar to other web application frameworks.

4.2 PHP Syntax:

HTML and PHP code is written on the same page, and to distinguish PHP code from HTML,
the PHP code is enclosed within <? php ?> Tags.

For example:

<html>

<head><title>php basics</title></head>

<body>

<h2>HELLO</h1>

<?php

echo "hello";

?>

</body>

</html>

In the above example PHP code is embedded within HTML. In this way PHP and HTML coding
is combined on the same page.

Since PHP is a server side scripting language, the PHP coding cannot be seen by the end user
through view source option, due to this feature PHP is very secure.

PHP is a parsed language; therefore PHP environment is necessary at the server for running PHP
scripts.

4.3 Connecting PHP Application to MySQL Database

1) Make a connection variable to the database:


$con= mysql_connect ("localhost","servername","password");

20
Here $con is a connection variable to database.

2) Select a database over that connection variable:

$db=mysql_select_db("databasename",$con);

3) Prepare a sql query to execute:

$qry= Select * from abc;

4) Run the sql query:

$result=mysql_query($qry);

5) Iterate over the result:

while($row = mysql_fetch_array($result))

{
//some logic
}

4.4 Introduction to MySQL:

MySQL is a relational database management system (RDBMS) that runs as a server providing multi-user
access to a number of databases. MySQL is officially pronounced ("My S-Q-L"), but is often pronounced
("My Sequel"). It is named for original developer Michael Widenius's daughter My.

The MySQL development project has made its source code available under the terms of the GNU General
Public License, as well as under a variety of proprietary agreements. MySQL is owned and sponsored by a
single for-profit firm, the Swedish company MySQL AB, now owned by Sun Microsystems, a subsidiary of
Oracle Corporation.

MySQL code uses C and C++. The SQL parser uses yacc and a home-brewed lexer, sql_lex.cc.

21
MySQL works on many different system platforms, including AIX, BSDi, FreeBSD, HP-UX, i5/OS, Linux,
Mac OS X, NetBSD, Novell NetWare, OpenBSD, OpenSolaris, eComStation, OS/2 Warp, QNX, IRIX,
Solaris, Symbian, SunOS, SCO OpenServer, SCO UnixWare, Sanos, Tru64 and Microsoft Windows. A port
of MySQL to OpenVMS also exists.

All major programming languages with language-specific APIs include Libraries for accessing MySQL
database. In addition, an ODBC interface called MyODBC allows additional programming languages that
support the ODBC interface to communicate with a MySQL database, such as ASP or ColdFusion. The
HTSQL - URL based query method also ships with MySQL adapter allowing direct interaction with MySQL
database from any web client via structured URLs. The MySQL server and official libraries are mostly
implemented in ANSI C/ANSI C++.

4.5 Introduction to HTML, CSS & JavaScript

HTML
To understand "HTML" from front to back, let's look at each word that makes up the abbreviation:

Hypertext: text (often with embeds such as images, too) that is organized in order to connect related items
Markup: a style guide for typesetting anything to be printed in hardcopy or soft copy format
Language: a language that a computer system understands and uses to interpret commands.
HTML determines the structure of web pages. This structure alone is not enough to make a web page look
good and interactive. So you'll use assisted technologies such as CSS and JavaScript to make your HTML
beautiful and add interactivity, respectively.

In this case, I like to break down the three technologies – HTML, CSS, and JavaScript – this way: they are
like a human body.

• HTML is the skeleton,


• CSS is the skin,
• and JavaScript is the circulatory, digestive, and respiratory systems that brings the structure and the
skin to life.

CSS
Stands for "Cascading Style Sheet." Cascading style sheets are used to format the layout of Web pages.
They can be used to define text styles, table sizes, and other aspects of Web pages that previously could
only be defined in a page's HTML.

22
JavaScript
JavaScript is a scripting or programming language that allows you to implement complex features
on web pages — every time a web page does more than just sit there and display static information
for you to look at — displaying timely content updates, interactive maps, animated 2D/3D graphics,
scrolling video jukeboxes, etc. — you can bet that JavaScript is probably involved. It is the third
layer of the layer cake of standard web technologies, two of which (HTML and CSS) we have
covered in much more detail in other parts of the Learning Area.

4.6 Bootstrap

Bootstrap is a free and open source front end development framework for the creation of websites
and web apps. The Bootstrap framework is built on HTML, CSS, and JavaScript (JS) to facilitate
the development of responsive, mobile-first sites and apps.

Responsive design makes it possible for a web page or app to detect the visitor’s screen size and
orientation and automatically adapt the display accordingly; the mobile first approach assumes
that smartphones, tablets and task-specific Mobile apps are employees' primary tools for getting
work done and addresses the requirements of those technologies in design.

Bootstrap includes user interface components, layouts and JS tools along with the framework for
implementation. The software is available precompiled or as source code.

23
4.7 OUPUTS:

Home Page

24
(i) User need to sign up and then register.

25
(ii) User need to fill all the details and also accept terms and conditions.

26
(iii) After Login

27
(iv) User can choose any car according to their choice.

28
(v) By selecting the car, the user can view Accessories and price per day
and need to fill the date also.

29
(vi) Now in My Booking section user can see the confirmation and
cancellation of the car.

30
(vii) Admin Login

31
(viii) Now Admin can see all the details of the users and vehicles.

32
(ix) Admin can Manage brands.
.

33
(x) Admin can post a vehicle by filling the details and providing images.

34
(xi) Admin can manage the bookings by confirming the request or by cancelling
also.

35
CHAPTER-5

36
CHAPTER 5: CONCLUSION

5.1 Conclusion

Car rental business has emerged with a new goodies compared to the past experience where every
activity concerning car rental business is limited to a physical location only. Even though the physical
location has not been totally eradicated; the nature of functions and how these functions are achieved
has been reshaped by the power of internet. Nowadays, customers can reserve cars online, rent car
online, and have the car brought to their door step once the customer is a registered member or go to
the office to pick the car.

The web based car rental system has offered an advantage to both customers as well as Car Rental
Company to efficiently and effectively manage the business and satisfies customers’ need at the click
of a button.

37
References

Books Used:

• Software Engineering - R.S. Pressman


• PHP For Dummies
• PHP Begineers Guide By McGrawhill Publication
• Javascript By McGrawhill Publication

References Used:

• http://www.carrentingsolutions.com/

• http://www.flashvortex.com/

• http://www.imscart.com/car_rental_software.html

• Wikipedia.org

• www.w3schools.com

38

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy