Car Rental System
Car Rental System
Car Rental System
AN PROJECT SUBMITTED
IN PARTIAL – FULFILMENT OF THE REQUIREMENT
FOR THE AWARD OF THE DEGREE
OF
Car Rental System
(For Degree in B.Sc. (CA & IT))
Submitted By :-
NAME :-
Class Roll No : -
Reg. Roll No :-
Department :-
Session :-
This report or similar report on the topic has not been submitted for
any other examination and doesn’t form part of any other course
undergone by the candidate.
1.1 Introduction
4
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).
5
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.5 Scope
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.
6
CHAPTER-2
7
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.
CHAPTER-3
8
into consideration the possible conflicting requirements of the
various users.
9
3.2Non-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 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
10
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.
CHAPTER-4
11
EMAIL FOR RESERVED CAR
CAR RESERVED
NEW
REGISTRATION ADD
ONLINE CAR CUSTOMER CAR
CUSTOMER RENTAL RENTAL
COMPANY
LOGIN REQUEST
. SYSTEM TRANSACTION
REPORTS
AUTHENTICATION
REGISTRATION CONFIRMATION
F
igure 4.1 Level 0 DFD of Online Car Rental System
In this diagram, Customer and Car Rental Company are the two
entity sets.
Functions of Customer:
New Registration
Login Request
Registration Confirmation by the System
Reserve Car
Car Issued by the System
Email received for Reserved Car
12
Functions of Car Rental Company:
Add Customer
Send E-Mails for Reserved Car
View Transaction reports
RESPONS
RESPONSE TO FEEDBACK E TO
FEEDBACK
CUSTOMER DB
CUSTOMER
DETAILS
FEEDBACK
LOGIN
DETAILS
SIGNED IN STAFF
REGISTER AS
NEW MEMBER
CUSTOMER CUSTOMER DB
REPORT STAFF DB
CHOOSE PROCES REPORT
CAR SRENTAL VIEW
REPORT SIGNED IN
CAR DB REPORT
CAR
RESERVED
FEEDBACK CAR DB
13
CHAPTER-5
USE-CASE DIAGRAMS
14
automatically send to the customer
after the task is completed.
15
Reply to This use case describes the event by
customer’s which staff sends reply to customer's
feedback earlier feedback. It depends on `give
feedback' use case from the customer.
16
5.2 Use Case Diagram
Process rental
<<extend>>
Return car
Reply to
customer's
Give feedback/ feedback
comments
Admin
View report
17
5.3 Use-Case Dependency Diagram
Depends on
Register as Add new car Update car details
Member
Pick car
<<extend>> Make reservation
Process rental
<<extend>>
Return car
<<extend>> <<extend>>
Reply to customer's
feedback
Late return Early return Depends on
Give feedback/
comments View cus tomer's
<<include>> patronage
View report
<<include>>
View transaction
report
18
CHAPTER-6
ACTIVITY DIAGRAMS
6.1 Activity Diagram
Enter details
[Yes]
Confirm and
submit
Display customer's
welcome screen
Send email
confirmation
End
19
Figure 6.1: Register as member
[No]
Login Valid?
Modify your
profile
Update database
Send confirmation
notification
Log out
End
20
6.1.3 Reservation of Car
21
Customer E-Car Rental
System
Start
Choose pickup
location
Choose return
location
[No
] Member?
Login
Register
[No]
Valid?
[Yes]
merge
Confirm
Redirect to payment
gateway
Send confirmation
End
22
6.1.4 Customer Feedback
Submit feedback
Send notification
End
23
6.1.5 Payment of Car Rent
Staff
Start
Provide member id
[No]
Pay late charges
Merge
Confirm return
Update database
End
24
6.1.6 Adding a New Car
Login
[No]
Login
Valid?
[Yes]
Add to inventory
Update status
End
25
Figure 6.6: Add a New Car
Start
Login
[No]
Valid?
[Yes]
Specify report to view
Retrieve report
Figure 6.7: View report
CHAPTER-7
SEQUENCE DIAGRAMS
27
7.1 Sequence Diagram
Sequence diagrams are used to demonstrate the behavior of objects
in a use case by describing the objects and the messages they pass.
It provides a graphical representation of object interactions over
time. Sequence diagrams show an actor, the objects and
components they interact with in the execution of a use case. One
sequence diagram represents a single Use Case 'scenario' or events.
Sequence diagrams show the flow of messages from one object to
another, and as such correspond to the methods and events
supported by an object.
I nt er f ac e o b je c t Co n t r o l o b je c t En t it y o b je c t En t it y o b je c t
Cust om er : O la I nt er f ace: " r eg Co n t r o l: c 0 0 8 Cust om er I n t e lig e n t
001" Dat abase: " db 01" Ag e n t : " Co n f ir m a t io n
Ag e n t "
Re g is t e r a s m e m b e r ( Se q u e n c e )
Sy s t e m Ar c h it e c t
M on J an 18, 2010 17: 52
Co m m e n t
Pr e p a r e d b y :
M ik h a il O la 'Ad is a
i0 8 0 0 0 7 1 8
28
7.1.2 Reservation of Car
Ch o o s e p ic k u p lo c a tio n
Ch o o s e p ic k u p d a te a n d time
Ch o o s e re tu rn lo c a tio n
Ch o o s e re tu rn d a te a n d time
Ch o o s e v e h ic le c la s s
Dis p la y a v a ila b le c a rs
L o g in /re g is te r
P a s s to c o n tro l
Ch e c k u s e rn a me a n d p a s s wo rd
S h o w c u s o tm e rin fo
Co n firma n d S u b mit Re d ire c to p a y me n tg a te wa y
E n te rp a y me n td e ta il
P ro c e s s p a y me n t
M a k e re s e rv a tio n (S e q u e n c e )
S y s te m A rc h ite c t
M o n J a n 1 8 ,2 0 1 0 1 7 1 : 9
C o mm e n t
P re p a re d b y :
M ik h a ilO la 'A d is a
29
Feedback System:"sys 01" Database:"db
Customer:ola page:i001 001"
Enter details
Enter feedback
message
Confirm and submit
Accept feedback
Add to database
Send confirmation
Login
Pass to control
Check validity
Confirm and
submit Pass to control
Add to database
Log out
Close
session
Login
Check validity
Get staff info
Select feedback
Display feedback
Respond to feedback
Log out
End session
Interface:i001 Database:"db
Customer:ola Staff:john 01"
Provide member
id
Update
database
31
Report page: Report Control: Database:"db
P002 c008 01"
Admin:Kabir
Login
Check validity
Specify report
Retrieve report
Log out
End session
CHAPTER-8
CLASS DIAGRAM
8.1 Class Diagram
The class diagram is the main building block, a number of classes
are identified and grouped together in a class diagram which helps
to determine the statically relations between those objects.
32
Automation notify
provides 1 alert
Distance chart - name : string 1
1..*
- source : string get () Feedback respond to
- destination : 1 provide () 1..* 1..*
alert () 1
- id : int Staff
get () notify () - custName :
provide () - custEmail : string
string
1notify - sid : char
- sname : string
1..* send - position : string
respond ()
() - mobile : int
Reservation Customer
gives1..* add 1 addcar ()
- rid : int - userId : string 1..* modifyInfo ()
- pickdate : date makes 1..* - custName : string 1..*
- returndate : date 1..* - cusAddr : string 1 add
- mobile : int 1..*
- pickloc : string
- VehicleClass : string - email : string Car 1
Admin
1..* register () 1
reserve () rent - PlateNo : string
search() login () 1 - CarName : string - Id : string
reservation () - carType : string - name : string
1..* - rent : double
makes makes add ()
add () modify ()
1..* modify () view ()
1..* Return reserve ()
1
Payment
- id : int
- retdate : date process View
- id : int
- amount : double 1..*
- custName : string update () Report
pay () - id : int
confirm () - date : date
Early return - title : string
Late return
1..*
- lateCharge : double generate ()
confirm () print ()
save
pay ()
confirm () ()
CHAPTER-9
33
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.
34
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.
For example:
35
<html>
<head><title>php basics</title></head>
<body>
<h2>HELLO</h1>
<?php
echo "hello";
?>
</body>
</html>
36
Figure 9.1 Working of PHP
When a client requests web page containing PHP code from the
server, then the requested PHP pages are parsed under PHP
environment and interaction with database is made if required.
After server side processing, the resulting HTML pages are passed
to client and displayed on the browser.
37
9.4 Connecting PHP Application to MySQL Database
$con= mysql_connect
("localhost","servername","password");
$db=mysql_select_db("databasename",$con);
$result=mysql_query($qry);
while($row = mysql_fetch_array($result))
{
//some logic
}
38
9.5 Introduction to MySQL:
MySQL code uses C and C++. The SQL parser uses yacc and a
home-brewed lexer, sql_lex.cc.
39
SCO UnixWare, Sanos, Tru64 and Microsoft Windows. A port of
MySQL to OpenVMS also exists.
40
Therefore apache server is like a local server on the developer side,
apache server should be informed about the environment on which
it should work.
CHAPTER-10
41
SNAPSHOTS
CHAPTER-11
CONCLUSION
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.
42
BIBLIOGRAPHY AND REFERENCES
Books Used:
43
References Used:
http://www.carrentingsolutions.com/
http://www.flashvortex.com/
http://www.imscart.com/car_rental_software.html
Wikipedia.org
www.w3schools.com
44