Club Manager
Club Manager
“CLUB MANAGER”
Submitted by
Certificate
This is to certify that the DBMS Mini Project entitled “CLUB MANAGER” carried out by Mr/Ms.
MANISH WADKAR bearing USN 2KL21CS402 and Mr/Ms. SAIFALI SAYYED bearing USN
2KL21CS412 have satisfactorily completed the academic requirements for the partial fulfilment of
DBMS Laboratory with Mini Project (18CSL58) of V Semester Bachelor of Engineering in Computer
Science and Engineering of the Visvesvaraya Technological University, Belagavi for the Academic
year 2022-2023.
ACKNOWLEDGEMENT
We would like to express our deep sense of gratitude to Principal and Management, KLE
Dr. M.S.Sheshgiri College of Engineering and Technology, Belagavi, for continuous support
and provision of all necessary requirements needed for the completion of this project.
We are thankful to our HOD,Department of Computer Science & Engineering, and our guides
for this project Prof. Vidya Hadimani, Prof. Gambhir Halse for their valuable suggestions and
guidance in completing the whole project.
Our hearty gratitude also goes out to all the faculty members of Computer Science and
Engineering department, members of KLE Dr. MSSCET, and our parents for their constant
encouragement, valuable guidance and for providing necessary help and support in all ways
possible.
ABSTRACT
The present system is based on manual technique and this project tends to automate the system so that
maintaining the records of player becomes easier than before. To maintain the player record this
software is most ideal.
All the processes should be done in an automated manner and for that we require an application so
that all the data can be logically and relatively used for accurate outcomes. This system should able
to replace the existing technique without any specific moderation and problems. This application is
able to provide quick reading of maintenance. List should be provided that showcase the details of
related player which will facilitate to the important team decisions. Also it gives section where vaction
batch players get registered.
TABLE OF CONTENTS
CHAPTER 1: INTRODUCTION
1.1 BACKGROUND
This application is concerned with registering players, storing there performance in each match and a
separate section for vacation batch registration .
It requires more time and effort when all the procedures are performed manually. Thus, in order to reduce
time consumption and human effort “Club Manager” is an application which can be applied in cricket
club where manual procedure exists.
Club manager software usually a suite of integrated application-that a cricket club can use to collect,
store, manage and interpret data of various matches.
What is a Database?
A database is an organized collection of data, so that it can be easily accessed and managed.
Data is raw, unprocessed, unorganized facts that are seemingly random and do not yet carry
any significance or meaning. A data can be in variety of forms like text, numbers, media, bytes
,etc. Many activities in our everyday life involve interactions with databases. For example, if
we purchase something online or if we make airline reservations or if we do netbanking – we
will come across databases.
A database stores and manages a large amount of data on a daily basis. Thus these data need to
be stored and retrieved easily. Thus in order to manage such a large amount of data, software
is created called as a Database Management System.
The Database management system plays an important role in processing and controlling
information. The importance of database management system is given by
redundancy by maintaining a single repository of data that is defined once and is accessed by
many users. As there is no or less redundancy, data remains consistent.
• Data sharing:
File system does not allow sharing of data or sharing is too complex. Whereas in DBMS, data
can be shared easily due to centralized system.
• Data concurrency:
Concurrent access to data means more than one user is accessing the same data at the same
time. Anomalies occur when changes made by one user gets lost because of changes made by
other user. File system does not provide any procedure to stop anomalies. Whereas DBMS
provides a locking system to stop anomalies to occur.
• Data searching:
For every search operation performed on file system, a different application program has to be
written. While DBMS provides inbuilt searching operations. User only have to write a small
query to retrieve data from database.
• Data integrity :
There may be cases when some constraints need to be applied on the data before
inserting it in database. The file system does not provide any procedure to check
these constraints automatically. Whereas DBMS maintains data integrity by
enforcing user defined constraints on data by itself.
To ensure the integrity of a database, each change or transaction must conform to a
set of rules known as ACID: Atomicity, Consistency, Isolation and Durability.
• System crashing:
In some cases, systems might have crashes due to various reasons. It is a bane in case of file
systems because once the system crashes, there will be no recovery of the data that’s been lost.
A DBMS will have the recovery manager which retrieves the data making it another advantage
over file systems.
• Data security:
DBMS has specialized features that help provide shielding to its data. Only authorized users
are allowed to access the data in DBMS. Also, data can be encrypted by DBMS which makes
it secure.
1.1.2 SQL
• SQL stands for Structured Query Language.
• Structured Query Language is the primary language used to communicate with Relational
Databases like MySQL, Oracle, SQL Server, PostGres, etc.
• SQL is used to add, update or delete rows of data, retrieving subsets of data for transaction
processing and analytics applications, and to manage all aspects of the database.
• SQL became a standard of the American National Standards Institute (ANSI) in 1986. The
standard ANSI SQL is supported by all popular relational database engines, and some of
these engines also have extension to ANSI SQL to support functionality which is specific
to that engine.
• SQL allows users to understand and analyse the databases, which include the data fields in
their tables.
• To control the rows of information stored in tables, SQL uses Queries. A Query is a special
code written to retrieve the information from the database or perform any task.
• The crucial importance of SQL is that it provides lots of useful commands to interact with
this data. When utilized effectively, these commands are very powerful in helping the
clients to manage and modify vast volumes of data effortlessly.
• Some of the best-known and most essential commands are SELECT, DELETE, CREATE
DATABASE, INSERT INTO, ALTER DATABASE, CREATE TABLE, and CREATE
INDEX.
SQL statements and are divided into different categories like : Data
Definition Language (DDL), Data Manipulation Language (DML), Data Control Language.
A SQL Stored Procedure (SP) is a collection SQL statements and SQL command logic,
which is compiled and stored on the database. Stored procedures in SQL allow us to create
SQL queries to be stored and executed on the server. Stored procedures can also be cached
and reused. The main purpose of stored procedures is to hide direct SQL queries from the
code and improve performance of database operations such as select, update, and delete data.
The stored procedure is created with the CREATE OR REPLACE PROCEDURE statement.
The syntax is given by:
CREATE or REPLACE PROCEDURE name (parameters)
IS
variables;
BEGIN
//statements;
END;
The most important part is parameters. Parameters are used to pass values to the Procedure.
There are 3 different types of parameters, they are as follows:
1. IN:
This is the Default Parameter for the procedure. It always receives the values from calling
program.
2. OUT:
This parameter always sends the values to the calling program.
3. IN OUT:
This parameter performs both the operations. It receives value from as well as sends the values
to the calling program.
The stored procedure is executed by:
EXECUTE [Procedure Name];
The benefits of using stored procedures:
• It can be easily modified: We can easily modify the code inside the stored procedure
without the need to restart or deploying the application. • Reduced network traffic: It reduces
network traffic.
• Reusable: Stored procedures can be executed by multiple users or multiple client
applications without the need of writing the code again.
• Security: Stored procedures reduce the threat by eliminating direct access to the tables. we
can also encrypt the stored procedures while creating them so that source code inside the stored
procedure is not visible.
• Performance: The SQL Server stored procedure when executed for the first time creates a
plan and stores it in the buffer pool so that the plan can be reused when it executes next time.
1.1.5 TRIGGERS
Trigger is a special type of stored procedure that automatically runs when an event occurs in
the database server. Triggers run when a user tries to modify data through a data manipulation
language (DML) event. DML events are INSERT, UPDATE, or DELETE statements on a table
or view.
END;
Where,
• [ON table_name] − This specifies the name of the table associated with the trigger.
• [REFERENCING OLD AS o NEW AS n] − This allows you to refer new and old values
for various DML statements, such as INSERT, UPDATE, and DELETE.
• [FOR EACH ROW] − This specifies a row-level trigger, i.e., the trigger will be executed
for each row being affected. Otherwise the trigger will execute just once when the SQL
statement is executed, which is called a table level trigger.
1.2 OBJECTIVE
OBJECTIVES
The objective of this system is to provide an interface for the admin of a cricket club to maintain
the data of the players of the club in a structured manner which helps in manipulating the players
easily in different department which they belong to and which role they have been assigned and
develop and automated system that will be able to record, store and retrieve the details of the
players which will be useful to the club management in decision making and even provides easy
access to data and information without compromising security and regulatory requirements.
In current system user are storing data manually. Because of that they are facing lots of problem
regarding player details and performance. Now they are maintaining all records in a book manually. And
maintaining records like this may result in the loose of the data or may store redundant data in the book.
By using this project the user can maintain all data easily. We can easily find out player details and
performance.
Using this system, knowing remaining slots for vacation batch becomes very easy and we can easily
maintain all data in a proper format. And it becomes easy to know how many players registered for
vacation batch.
Time consuming
Less accurate
Less efficient
Slow data processing
Lots of manual work
By using this application user can maintain all data very easily. We can easily find out information about
the player. This application has different modules where the users will get the information of the player.
This application keeps track of registration, updating player performance, list for selecting teams,
vacation batch. This project has also some keep track of players career.
Software requirement involves defining prerequisites that need to be installed on a computer for
the application to function optimally.
The software requirements for our project are:
• Operating System : Windows or Linux or MacOS
• Front End Scripting Language: HTML, CSS, JavaScript
• Back End : PHP
• Database Management System :MYSQL
• Server Package : XAMPP
• HTML
Hypertext Markup Language (HTML) is the standard markup language for documents
designed to be displayed in a web browser.
It can be assisted by technologies such as Cascading Style Sheets (CSS) and scripting languages
such as JavaScript.Web browsers receive HTML documents from a web server or from local
storage and render the documents into multimedia web pages. HTML describes the structure of
a web page semantically and originally included cues for the appearance of the document.
HTML elements are the building blocks of HTML pages. With HTML constructs, images and
other objects such as interactive forms may be embedded into the rendered page. HTML
provides a means to create structured documents by denoting structural semantics for text such
as headings, paragraphs, lists, links, quotes and other items.
Importance of HTML is given by A widely used language with a lot of resources and a huge
community behind. Runs natively in every web browser. Open-source and completely
free.Clean and consistent markup. The official web standards are maintained by the World Wide
Web Consortium (W3C).Easily integrable with backend languages such as PHP and Node.js.
• CSS
Cascading Style Sheets (CSS) is a style sheet language used for describing the presentation of
a document written in a markup language such as HTML. CSS is a cornerstone technology of
the World Wide Web, alongside HTML and JavaScript. CSS is designed to enable the separation
of presentation and content, including layout, colours, and fonts. This separation can improve
content accessibility, provide more flexibility and control in the specification of presentation
characteristics, enable multiple web pages to share formatting by specifying the relevant CSS
in a separate .css file which reduces complexity and repetition in the structural content as well
as enabling the .css file to be cached to improve the page load speed between the pages that
share the file and its formatting.
• PHP
• JavaScript
JavaScript, an object scripting language which is used in web pages along with markup language
HTML. JavaScript is very popular and adopted universally by every web browser for its support
which allows dynamic content to get execute in a webpage. JavaScript does not incorporate or
abide by any HTML tags or rules. It is similar to stand-alone programming language developed
by Sun Microsystems. As JavaScript got its success worldwide with its integration into the web
browsers, the Microsoft has added the JavaScript technology to its own Browser Internet
Explorer. Alongside HTML and CSS, JavaScript is one of the core technologies of the World
Wide Web. JavaScript enables interactive web pages and is an essential part of web applications.
The vast majority of websites use it for client-side page behaviour, and all major web browser
have a dedicated JavaScript engine to execute it.
JavaScript benefits:
• SQL
To work with data in a database, you must use a set of commands and statements (language) defined
by the DBMS software. There are several different languages that can be used with relational
databases; the most common is SQL. Standards for SQL have been defined by both the American
National Standards Institute (ANSI) and the International Standards Organization (ISO). Most modern
DBMS products support the Entry Level of SQL, the latest SQL standard.
Fig.3.1 ER diagram
user
Id User_name Password
registration
record
career
vacation
p_id name dob email contact address bat bowl batch
REGISTRATION
ADMIN
PERFORMANCE
PLAYER LIST
VACTION
BATCH
ADMIN LOGIN:
This facilitates manager to login with his already existing account details.
DASHBOARD:
Dashboard shows the contents of the software. Total number of players registered to the club
and the player registered for vacation batches. The list of the players of the club. It also displays
the option for password change.
PLAYER REGISTRATON:
It shows the form to add the player details. It takes player Full name, Date of Birth, Contact
number, Email, Address, Batting style and Bowling style.
SEARCH:
This will display the payer’s career record by his batting average, batting strike rate, bowling
average and bowling economy.
4.1 MODULES
Admin login:
Admin has to login ,then he has the authority to handle following fields:
❖ Player Registration
❖ Player record
❖ Team selection
❖ Vacation batches
He can add or update to the player data but cannot delete. Only admin has authority to delete
player data.
Player Registration:
o Player registration into the club. In this module the player details i.e. personal
information about the player and other information related to player is taken for the
registration purpose.
Player Record:
o This module the player records are stored and displayed, these records get updated
after every match and updated records are displayed.
o This helps the selectors to select the team for the club matches.
Team Selection:
o Provides list of good players from different branches for team selection i.e. depending
on the players performance the players are selected from different branches.
Vacation batches:
o This module provides details about vacation batches.
o In this module limited numbers of seats are available.
o The batches are divided into morning and evening and players are divided accordingly
in the batches of their choice.
CHAPTER 5: CONCLUSION
It is useful for management of cricket players and can be used by the team management to provide
information to the players about the matches. It can also be used to see the information of the
information of the players and their records.
REFERENCES:
• Fundamentals of Database System from Ramez Elmasri and Shamkant B. Navathe -for
triggers and stored procedures.
• Database Management System by Technical Publications -for normalization concepts
• Database Management Systems, Raghurama Krishnan, Johannes Gehrke, TATA McGraw
Hill 3rd Edition. -for concepts of database management systems
• Head First php and MySQL Lynn beighley and Michael Morrison / upto page 263-for php
and mysql tutorials.
• https://www.tutorialrepublic.com/php-tutorial/php-sessions.php
• https://www.w3schools.com/bootstrap4/
• https://www.javatpoint.com/css-tutorial
• https://www.w3schools.com/sql/sql_stored_procedures.asp
• https://www.tutorialspoint.com/php/index.htm
• https://www.w3schools.com/js/js_htmldom.asp
• https://www.w3schools.com/php/php_file_upload.asp