DJ Booking
DJ Booking
INTRODUCTION
In this project, the objective of this application is to develop a system that effectively
manages all the data related to the various DJ events that take place in a function. The
purpose is to maintain a centralized database of all DJ event related information. The goal is
to support various functions and processes necessary to manage the data efficiently. This will
end the practice of calling various DJ agencies and explaining the various requirement, here
the user can view the website and check out the information about the ODJMS (Online DJ
Management System) service and they can also enquire and book the DJ. The admin manage
the types of event, add or remove the vent. The admin can view the number of bookings
approved or rejected.
1
1.2 SYSTEM SPECIFICATION
RAM : 2GB
Front-End : PHP
2
1.2.3 SOFTWARE DESCRIPTION
PHP
The PHP Hypertext Preprocessor (PHP) is a server scripting language, used for
making dynamic web pages. PHP is an open source software and it is free to download and
use. PHP supports a wide range of databases like MySQL, Oracle, Sybase, Solid, PostgreSQL
etc,. The PHP project is designed to fulfill the following objectives:
Additionally, PHP can be used for many programming tasks outside the web context,
such as standalone graphical applications[11] and robotic drone control.[12] PHP code can also
be directly executed from the command line. The standard PHP interpreter, powered by
the Zend Engine, is free software released under the PHP License. PHP has been widely
ported and can be deployed on most web servers on a variety of operating
systems and platforms.
3
PHP Server
The PHP Community Provides Some types of Software Server solution under The
GNU (General Public License). These are the following:
XAMPP Server
WAMP Server
LAMP Server
MAMP Server
XAMPP Server
XAMPP is a free and open source cross-platform web server solution stack package
developed by Apache Friends, consisting mainly of the Apache HTTP
Server, MariaDB database, and interpreters for scripts written in
the PHP and Perl programming languages. XAMPP stands for Cross-Platform (X), Apache
(A), MariaDB (M), PHP (P) and Perl (P). It is a simple, lightweight Apache distribution that
makes it extremely easy for developers to create a local web server for testing and
deployment purposes. Everything needed to set up a web server – server application
(Apache), database (MariaDB), and scripting language (PHP) – is included in an extractable
file. XAMPP is also cross-platform, which means it works equally well on Linux, Mac and
Windows. Since most actual web server deployments use the same components as XAMPP,
it makes transitioning from a local test server to a live server extremely easy as well.
4
PHP: Advantage
Most important advantage of PHP is that it’s open source and free from cost. It can be
downloaded at anywhere and readily available to use for event of web applications. It is
platform independent. PHP based applications can run on any OS like UNIX, Linux and
Windows, etc. Application can easily be loaded which are based on PHP and connected to
database. It’s mainly used due to its faster rate of loading over slow internet speed than
another programming language.
PHP has less learning curve, because it is simple and straightforward to use. Someone
familiar with C programming can easily work on PHP. It is more stable from a few years
with assistance of providing continuous support to various versions. It helps in reusing an
equivalent code and no got to write lengthy code and sophisticated structure for event of
web applications. It helps in managing code easily and it has powerful library support to
use various function modules for data representation.
PHP’s built-in database connection modules help in connecting database easily reduce
trouble and time for development of web applications and content based sites. Popularity of
PHP gave rise to various community of developers, a fraction of which may be potential
candidates for hire. Flexibility makes PHP ready to effectively combine with many other
programming languages in order that the software package could use foremost effective
technology for every particular feature.
5
BACK END: MYSQL
MySQL Workbench is a unified visual tool for database architects, developers, and
DBAs. MySQL Workbench provides data modeling, SQL development, and comprehensive
administration tools for server configuration, user administration, backup, and much more.
MySQL Workbench is available on Windows, Linux and Mac OS X.
The data in a MySQL database are stored in tables which consists of columns and
rows.
MySQL is a database system that runs on a server.
MySQL is ideal for both small and large applications.
MySQL is very fast, reliable, and easy to use database system.It uses standard SQL.
MySQL compiles on a number of platforms.
EASY TO USE
MySQL is easy to use. We have to get only the basic knowledge of SQL. We can
build and interact with MySQL by using only a few simple SQL statements.
SECURE
MySQL consists of a solid data security layer that protects sensitive data from
intruders. Also, passwords are encrypted in MySQL.
6
CLIENT/ SERVER ARCHITECTURE
SCALABLE
MySQL supports multi-threading that makes it easily scalable. It can handle almost
any amount of data, up to as much as 50 million rows or more. The default file size limit is
about 4 GB. However, we can increase this number to a theoretical limit of 8 TB of data.
MySQL is considered one of the very fast database languages, backed by a large
number of the benchmark test. MySQL supports a large number of embedded applications,
which makes MySQL very flexible.
COMPATIBLE
HIGH PERFORMANCE
MySQL is faster, more reliable, and cheaper because of its unique storage engine
architecture. It provides very high-performance results in comparison to other databases
without losing an essential functionality of the software. It has fast loading utilities because
of the different cache memory.
7
GUI SUPPORT
MySQL provides a unified visual database graphical user interface tool named
"MySQL Workbench" to work with database architects, developers, and Database
Administrators. MySQL Workbench provides SQL development, data modeling, data
migration, and comprehensive administration tools for server configuration, user
administration, backup, and many more. MySQL has a fully GUI supports from MySQL
Server version 5.6 and higher.
--
8
2. SYSTEM STUDY
The Existing system is manual based and need lot of efforts and consume enough time. In
the existing system we cannot apply for DJ’s online and the allotment processes are done
manually. People can book DJ without knowing about them.
The existing system does not deals with mess calculation and complaint registration.
Each and every action is done manually using forms. It takes more time to finish and also
having chances of committing some mistakes for each action. The maintenance is also
difficult for the existing system. Also, the manual process performs the above requirements it
takes more time.
9
2.2 PROPOSED SYSTEM
The proposed system is to overcome the drawbacks of existing system. This project is
aimed to develop a system for booking Dj and to find the current location of events. This
system will helpful for Dj event conducting companies to manage the affairs of their
business. This system will provide full information about a Dj event. It will show events
which are available or not and number of Dj or company number. This system will also
provide a report on the summary detail regarding price and venues to users.
Customers who make a decision to book a event don’t want to wait until you are in
the office, they want to lock in the activity on their own schedule. Using an online
booking system means that your business is open 24 hours a day, seven days a week.
Customers who book their own reservations are more likely to show up, making no-
shows a thing of the past. If a customer does need to cancel, the spot automatically
opens online, giving another customer the chance to book it. By maximizing your
reservations, you won’t leave unused activity events.
With an online dj booking system, you can require customers to prepay for activities
and rentals. This puts money into your pocket faster and helps make sure that on the
day of the event you don’t have to worry about payment.
With an online booking system, you can require customers to prepay for activities and
rentals. This puts money into your pocket faster.
With an online booking system, you can require customers to prepay for activities and
rentals. This puts money into your pocket faster and helps make sure that on the day
of the event you don’t have to worry about payment — giving you and your
customers more time to have fun.
Easy to handle for updating or removing data.
10
3. SYSTEM DESIGN AND DEVELOPMENT
Designs are used to enter the separate value for the process and methods.
Development can be made by one of the user. In this input design the user and admin login to
the page. Both also have a separate user id and password. User can update their status. Admin
is verifying the user status. The input design is the link between the information system and
the user.
It is achieved by creating user-friendly screens for the data entry to handle large
volume of data. The goal of designing input is to make data entry easier and to be free from
errors. The data entry screen is designed in such a way that all the data manipulates can be
performed. It also provides record viewing facilities.
11
3.2 OUTPUT DESIGN
Output design is very important concept in the computerized system, without reliable
output the user may feel the entire system is unnecessary and avoids using it. The proper
output design is important in any system and facilitates effective decision-making.
The output design is an ongoing activity almost from the beginning of the project, and
follows the principles of form design. Effects and well define an output design improves the
relationship of system and the user, thus facilitating decision-making.
A quality output is one, which meets the requirements of the end user and presents the
information clearly. In any system results of processing are communicated to the users and to
other system through outputs. It is the most important and direct source information to the
user. Efficient and intelligent output design improves the system’s relationship to help user
decision-making.
The output form of an information system should accomplish one or more of the
following objectives.
Future.
Trigger an action.
Dashboard - In this section, admin can see all detail in brief like the total services,
Total unread queries, Total read queries, Total new booking, Total Approved
booking, Total Cancelled Booking, and Total Event Type
Pages - In this part user can see contact details of admin.
Booking - In this section, admin can view new, approved, canceled bookings and also
give a remark.
Reports - In this section, admin can view booking in a particular period.
12
3.3 DATABASE DESIGN
Database design is the process of producing a detailed data model of a database. This
logical data model contains all the needed logical and physical design choices and physical
storage parameters needed to generate a design in a Data Definition Language, which can
then be used to create a database. A fully attributed data model contains detailed attributes for
each entity.
In the relational model these are the tables and views. In an object database the
entities and relationships map directly to object classes and named relationships. However,
the term database design could also be used to apply to the overall process of designing, not
just the base data structures, but also the forms and queries used as part of the overall
database application within the database management system (DBMS).The most important
consideration in designing the database is how information will be used. The main objectives
of designing a database are:
Data integration
In a database, information from several file are coordinated, accessed and operated
upon as through it is in a single file. Logically, the information are centralized, physically, the
data may be located on different devices, connected through data communication facilities.
Data integrity
Data integrity means storing all data in one place only and how each application to
access it. This approach results in more consistent information, one update being sufficient to
achieve a new record status for all applications which use it.
Conceptual design
The next step is to form a concise description of the data requirements using a high
level data model. This description would be independent of storage requirements. This step
involves identifying entities involves in the system, and the relationship between the different
entities. Entities and relationships are depicted in the form of a diagram called the Entity
relationship Diagram.
13
3.4 SYSTEM DEVELOPMENT
A) Admin module
B) User module
A) ADMIN MODULE
The admin module contains:
Dashboard: In this section, admin can see all detail in brief like the total services,
Total unread queries, Total read queries, Total new booking, Total Approved
booking, Total Cancelled Booking, and Total Event Type.
DJ Services: In this section, admin can manage services (add/delete).
Type of Event: In this section, admin can manage event type (add/delete).
Pages: In this section, the admin can manage about us and contact us pages.
Booking: In this section, admin can view new, approved, canceled bookings and also
give a remark.
Contact us Queries: In this section, admin can view and maintain the Queries.
Reports: In this section, admin can view booking in a particular period.
Search: In this section, admin can search booking details and user queries with the
help of name, mobile number, and booking id
Admin can also update his profile, change the password and recover the password.
B) USER MODULE
The user module contains:
About – Users can view the website and check out the information about ODJMS
services and they can also inquiry and book DJ.
Book service – User can book service by using this module.
Contact – User can drop name, e-mail id, mobile number and message to give
feedback.
14
4. SYSTEM TESTING AND IMPLEMENTATION
UNIT TESTING
The software units in the system are modules and routines that are assembled and
integrated to perform a specific function. As a part of unit testing we executed the program
for individual modules independently. This enables, to detect errors in coding and logic that
are contained within each of the three module. This testing includes entering data that is
filling forms and ascertaining if the value matches to the type and entered into the database.
The various controls are tested to ensure that each performs its action as required.
INTEGRATION TESTING
Data can be lost across any interface, one module can have an adverse effect on
another, sub functions when combined, may not produce the desired major functions.
Integration testing is a systematic testing to discover errors associated within the interface.
The objective is to take unit tested modules and build a program structure. All the modules
are combined and tested as a whole. Here the admin module, employee module and student
module options are integrated and tested. This testing provides the assurance that the
application is well integrated functional unit with smooth transition of data.
15
4.2 SYSTEM IMPLEMENTATION
Implementation is the stage of the project when the theoretical design is turned out
into a working system. Thus it can be considered to be the most critical stage in achieving a
successful new system and in giving the user, confidence that the new system will work and
be effective. The implementation stage involves careful planning, investigation of the
existing system and it’s constraints on implementation, designing of methods to achieve
changeover and evaluation of changeover methods.
Implementation Procedures
16
5. CONCLUSION
The ―ODJMS (Online DJ Booking System)‖ was successfully designed and is tested
for accuracy and quality. During this project we have accomplished all the objectives and
this project meets the needs of the organization. The developed will be used in searching,
retrieving and generating information for the concerned requests.
FUTURE ENHANCEMENT
17
BIBILIOGRAPHY
BOOK REFERENCES
1. Arthorne, J.; Laffra, C. (2004). Official eclipse 3.0 FAQs, Addison – Wesley
Professional.
2. Bernardi, M. L.; Lucca, G. A. D., Improving Design Patterns Modularity Using
Aspect Orientation, RCOST, University of Saunio, Italy.
3. Boehm, B. (1986). A Spiral Model of Software Development and Enhancement,
ACM SIGSOFT Software Engineering Notes, ACM, 11, 4 (August, 1986), pp.14-24.
4. Clement, A. et al. (2003), Aspect-Oriented Programming with AJDT, Workshop on
Analysis of Aspect-Oriented Software, ECOOP 2003.
5. Dijkstra, E.W. (1974). On the role of scientific thought, EWD 447 (Nuenen, The
th
Netherlands, 30 August 1974).
6. Whitten, Bentley, and Dittman. 2004. System Analysis and Design Methods (5th ed).
McGraw-Hill: New York, NY.
7. PerlScriptsJavaScripts.com. 2006. ―MySQL Tutorial, Database Commands,
Beginners Guide‖. http://www.perlscriptsjavascripts.com/tutorials/mysql/index.html.
Accessed 2/3/06.
WEBSITE REFERENCES
1. http://www.tutorialspoint.com
2. https://www.w3schools.com/
3. in.php.net
4. en.wikipedia.org/wiki/PHP
5. www.hotscripts.com/category/php/
6. www.apache.org/
7. www.mysql.com/click.php?e=35050
18
APPENDICES
LEVEL 0:
ODMS
User login
View of value
Abilities details
19
LEVEL 1:
Admin
Login
20
B. TABLE STRUCTURE
Table Name : Admin
Primary Key : Username
1 ID nvarchar 20 ID
21
Table Name : Booking
1 ID nvarchar 20 Unique
12
8 Event starting time nvarchar Starting time
Additional 50
12 nvarchar Additional information
Information
22
Table Name : Pages
1 ID nvarchar 5 ID
1 Id nvarchar 20 ID
23
Table Name : User
1 ID nvarchar 5 ID
24
C. SAMPLE CODE
<?php
session_start();
include('includes/config.php');
include('includes/checklogin.php');
check_login();
//code for update email id
if($_POST['update'])
{
$email=$_POST['emailid'];
$aid=$_SESSION['id'];
$udate=date('Y-m-d');
$query="update admin set email=?,updation_date=? where id=?";
$stmt = $mysqli->prepare($query);
$rc=$stmt->bind_param('ssi',$email,$udate,$aid);
$stmt->execute();
echo"<script>alert('Email id has been successfully updated');</script>";
}
// code for change password
if(isset($_POST['changepwd']))
{
$op=$_POST['oldpassword'];
$np=$_POST['newpassword'];
$ai=$_SESSION['id'];
$udate=date('Y-m-d');
$sql="SELECT password FROM admin where password=?";
$chngpwd = $mysqli->prepare($sql);
$chngpwd->bind_param('s',$op);
$chngpwd->execute();
$chngpwd->store_result();
$row_cnt=$chngpwd->num_rows;;
if($row_cnt>0)
{
$con="update admin set password=?,updation_date=? where id=?";
25
$chngpwd1 = $mysqli->prepare($con);
$chngpwd1->bind_param('ssi',$np,$udate,$ai);
$chngpwd1->execute();
$_SESSION['msg']="Password Changed Successfully !!";
}
else
{
$_SESSION['msg']="Old Password not match !!";
}
}
?>
<!doctype html>
<html lang="en" class="no-js">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1,
minimum-scale=1, maximum-scale=1">
<meta name="description" content="">
<meta name="author" content="">
<meta name="theme-color" content="#3e454c">
<title>Admin Profile</title>
<link rel="stylesheet" href="css/font-awesome.min.css">
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/dataTables.bootstrap.min.css">>
<link rel="stylesheet" href="css/bootstrap-social.css">
<link rel="stylesheet" href="css/bootstrap-select.css">
<link rel="stylesheet" href="css/fileinput.min.css">
<link rel="stylesheet" href="css/awesome-bootstrap-checkbox.css">
<link rel="stylesheet" href="css/style.css">
<script type="text/javascript" src="js/jquery-1.11.3-jquery.min.js"></script>
<script type="text/javascript" src="js/validation.min.js"></script>
26
<script type="text/javascript">
function valid()
{
if(document.changepwd.newpassword.value!=
document.changepwd.cpassword.value)
{
alert("Password and Re-Type Password Field do not match !!");
document.changepwd.cpassword.focus();
return false;
}
return true;
}
</script>
</head>
<body>
<?php include('includes/header.php');?>
<div class="ts-main-content">
<?php include('includes/sidebar.php');?>
<div class="content-wrapper">
<div class="container-fluid">
<div class="row">
<div class="col-md-12">
27
while($row=$res->fetch_object())
{
?>
<div class="row">
<div class="col-md-6">
<div class="panel panel-default">
<div class="panel-heading">Admin profile details</div>
<div class="panel-body">
<form method="post" class="form-horizontal">
<div class="hr-dashed"></div>
<div class="form-group">
<div class="col-sm-10">
</div>
<div class="form-group">
<div class="col-sm-10">
<input type="email" class="form-control" name="emailid" id="emailid"
value="<?php echo $row->email;?>" required="required">
28
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">Reg Date</label>
<div class="col-sm-10">
<input type="text" class="form-control" value="<?php echo $row-
>reg_date;?>" disabled >
</div>
</div>
</div>
</div>
</form>
</div>
</div>
<?php } ?>
<div class="col-md-6">
<div class="panel panel-
default">
29
<div class="panel-
heading">Change Password</div>
<div class="panel-
body">
<form method="post" class="form-horizontal"
name="changepwd" id="change-pwd" onSubmit="return valid();">
<?php if(isset($_POST['changepwd']))
{ ?>
<p
style="color: red"><?php echo htmlentities($_SESSION['msg']); ?><?php echo
htmlentities($_SESSION['msg']=""); ?></p>
<?php } ?>
<div class="hr-dashed"></div>
<div class="form-group">
<div class="col-sm-8">
<input type="password" value="" name="oldpassword"
id="oldpassword" class="form-control" onBlur="checkpass()" required="required">
<span
id="password-availability-status" class="help-block m-b-none" style="font-
size:12px;"></span> </div>
</div>
<div class="form-group">
30
<div class="col-sm-8">
</div>
</div>
<div class="form-group">
<label class="col-
sm-4 control-label">Confirm Password</label>
<div class="col-
sm-8">
<input type="password" class="form-control" value=""
required="required" id="cpassword" name="cpassword" >
</div>
</div>
</div>
</form>
31
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<script src="js/jquery.min.js"></script>
<script src="js/bootstrap-select.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/jquery.dataTables.min.js"></script>
<script src="js/dataTables.bootstrap.min.js"></script>
<script src="js/Chart.min.js"></script>
<script src="js/fileinput.js"></script>
<script src="js/chartData.js"></script>
<script src="js/main.js"></script>
<script>
function checkAvailability() {
$("#loaderIcon").show();
jQuery.ajax({
url: "check_availability.php",
data:'emailid='+$("#emailid").val(),
32
type: "POST",
success:function(data){
$("#user-availability-status").html(data);
$("#loaderIcon").hide();
},
error:function (){}
});
}
</script>
<script>
function checkpass() {
$("#loaderIcon").show();
jQuery.ajax({
url: "check_availability.php",
data:'oldpassword='+$("#oldpassword").val(),
type: "POST",
success:function(data){
$("#password-availability-status").html(data);
$("#loaderIcon").hide();
},
error:function (){}
});
}
</script>
</body>
</html>
33
D. SCREENSHOTS
34
Fig.2: About us
35
Fig.3: Service
36
Fig.4: Contact Us
37
E. REPORTS
38
Fig.6: Dash board
39
Fig.7: Add Service
40
Fig.8: Manage Service
41
Fig.9: New booking
42
Fig.10: Approved Booking
43
Fig.11: Total Booking
44
Fig.12: Search Booking
45
Fig.13: Search User Queries
46