Zms Doc Sam
Zms Doc Sam
On
PARKING MANAGEMENT SYSTEM
MANIKKAM M
(Reg. No.: 2222J0033)
III – BCA
MARCH 2025
CHIKKANNA GOVERNMENT ARTS COLLEGE, TIRUPUR – 641602
(Affiliated to Bharathiar University, Coimbatore – 46)
(NAAC Accredited with ‘B++’ Grade)
CERTIFICATE
The project work entitled ZOO MANAGEMENT SYSTEM is a bonafide work done
by MANIKKAM M, (Reg. No:2222J0033), III- BCA, Department of Computer Applications,
Chikkanna Government Arts College, Tirupur, submitted in partial fulfillment of the
requirements for the award of the degree in Bachelor of Computer Applications from
Bharathiar University, Coimbatore – 46.
Date: MANIKKAM M
(Reg. No: 2222J0033)
ACKNOWLEDGEMENT
I would also like to thank all the Staff Members of Department of Computer
Applications and other authorities who helped and supported me throughout my completion
of project.
Above all, I would like to thank my beloved Parents and Friends who have
encouraged and supported me during the completion of my project work. I dedicate this
project to them.
MANIKKAM M
(Reg No: 2222J0033)
i
SYNOPSIS
ii
TABLE OF CONTENTS
S. NO PARTICULARS PG NO
1 Acknowledgement i
2 Synopsis ii
CHAPTER 1 1
4 1. Introduction
9 CHAPTER 2 7
2. System Study
11 2.1.1 Drawbacks 7
13 2.2.1 Advantages 8
14 CHAPTER 3 9
3. System Design and Development
iii
21 CHAPTER 4 19
4. Testing and Implementation
22 CHAPTER 5 23
5. Conclusion
24 BIBLIOGRAPHY 25
25 APPENDENCIS 26
27 B. Table Structure 38
28 C. Sample Coding 30
29 D. Sample Input 35
30 E. Sample Output 36
31 F.Sample Report 38
1. INTRODUCTION
India resides a very rich animal diversity, whereas maintenance recorded manually.
Zoos were initially started for the entertainment of people. Gradually, Over the years, they have
come to play an important role in conservation. The goal of the zoos is the conservation of the
animals in the wild. Since, a research study was conducted to computerize their administration,
maintenance and ticketing fields were easy. Therefore, designed a database system named, Zoo
Management System (ZMS). It is a web-based technology which manages peoples, animals
detail and provides ticket to the person who comes to visits in zoo with his/her family. This
web application provides a way to effectively control record and track the people who visit to
zoo.
A zoo management system effectively manages and handles all the functioning of a
zoo. The software system can store the data of people tickets that came to visit in the zoo. The
system also maintains and calculates the price of ticket. The system needs an administrator to
input the detail of ticket like how many are adult and how many are child and print the ticket
and give it to person.
The main advantage of this system reduces usage of papers helps to keep green
environment and reduce time consumption. In this project we use PHP and MYSQL database
and it has one module that is Admin. All possible features such as verification, validation,
security etc, have been considered.
2
1.1 PROBLEM STATEMENT AND OBJECTIVES
It will provide reduced response time against the queries made by different users. This
project is based on PHP language with MYSQL database which manages people and provides
ticket to the person who comes to visits in zoo with his/her family. All possible features such
as verification, validation, security, user friendliness etc have been considered.
• The proposed system will affect or interface with the person with who visit in the zoo
and administrator.
• Admin login into the system and can add more animals with cage no, breed, etc. and
also manage the animals.
• With this, admin can view and edit details of tickets for normal adult and child,
foreigner adult and child.
• The system also maintains and calculates the price of ticket in order to minimize the
waiting times.
• And also generates the report of the people who visits the zoo between the dates.
3
1.2 SYSTEM SPECIFICATION
Software : XAMP
4
1.2.2.1 INTRODUCTION TO FRONT END
HTML
HTML or Hyper Text Mark-up Language is the main mark-up language for creating
web pages and other information that can be displayed in a web browser. HTML is written in
the form of HTML elements consisting of tags enclosed in angle brackets (like ), within the
web page content. HTML tags most commonly come in pairs like and, although some tags
represent empty elements and so are unpaired, forexample Error! Filename not specified.. The
first tag in a pair is the start tag, and the second tag is the end tag (they are also called opening
tags and closing tags). In between these tags web designers can add text, further tags, comments
and other types of text-based content.
The purpose of a web browser is to read HTML documents and compose them into
visible or audible web pages. The browser does not display the HTML tags, but uses the tags
to interpret the content of the page. HTML elements form the building blocks of all websites.
HTML allows images and objects to be embedded and can be used to create interactive forms.
It provides a means to create structured documents by denoting structural semantics for text
such as headings, paragraphs, lists, links, quotes and other items. It can embed scripts written
in languages such as JavaScript which affect the behaviour of HTML web pages.
CSS
Cascading Style Sheets (CSS) is a style sheet language used for describing the look
and formatting of a document written in a mark-up language. While most often used to style
web pages and interfaces written in HTML and XHTML, the language can be applied to any
kind of XML document, including plain XML, SVG and XUL. CSS is a cornerstone
specification of the web and almost all web page use CSS style sheets to describe their
presentation. CSS is designed primarily to enable the separation of document content from
document presentation, including elements such as the layout, colours, and fonts.
This separation can improve content accessibility, provide more flexibility and control
in the specification of presentation characteristics, enable multiple pages to share formatting,
and reduce complexity and repetition in the structural content (such as by allowing for table
less web design).CSS can also allow the same mark-up page to be presented in different styles
for different rendering methods, such as on-screen, in print, by voice (when read out by a
speechbased browser or screen reader) and on Braille-based, tactile devices. It can also be used
to allow the web page to display differently depending on the screen size or device on which it
is being viewed. While the author of a document typically links that document to a CSS file,
readers can use a different style sheet, perhaps one on their own computer, to override the one
the author has specified.
5
JAVA SCRIPT
PHP
PHP is a server-side scripting language designed for web development but also used as
a general-purpose programming language. PHP is now installed on more than 244 million
websites and 2.1 million web servers. Originally created by Rasmus Lerdorf in 1995, the
reference implementation of PHP is now produced by The PHP Group. While PHP originally
stood for Personal Home Page, it now stands for PHP: Hypertext Pre-processor, a recursive
backronym. PHP code is interpreted by a web server with a PHP processor module, which
generates the resulting web page: PHP commands can be embedded directly into an HTML
source document rather than calling an external file to process data. It has also evolved to
include a command-line interface capability and can be used in standalone graphical
applications. PHP is free software released under the PHP License. PHP can be deployed on
most web servers and also as a standalone shell on almost every operating system and platform,
free of charge.
6
1.2.2.2 INTRODUCTION TO BACK END
MYSQL
MYSQL- MySQL ("My S-Q-L", officially, but also called "My Sequel") is (as of July
2013) the world's second most widely used open-source relational database management
system (RDBMS). It is named after co-founder Michael Widenius daughter, My. The SQL
phrase stands for Structured Query Language. 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 was owned and sponsored by a single for-profit
firm, the Swedish company MySQL AB, now owned by Oracle Corporation. MySQL is a
popular choice of database for use in web applications, and is a central component of the widely
used LAMP opens source web application software stack (and other 'AMP' stacks). LAMP is
an acronym for "Linux, Apache, MySQL, Perl/PHP/Python." Free-software-open source
projects that require a full-featured database management system often use MySQL. For
commercial use, several paid editions are available, and offer additional functionality.
7
2. SYSTEM STUDY
The existing zoo management system primarily relies on manual record-keeping and
human intervention for handling various zoo operations. Animal records, visitor details, staff
management, and financial transactions are maintained using paper-based registers or basic
digital tools like spreadsheets. Animal health checkups, feeding schedules, and habitat
monitoring are tracked manually, leading to inefficiencies. Ticket issuance and visitor
management also involve physical logbooks or basic ticket counters without centralized data
storage or automation.
2.1.1 DRAWBACKS:
1. Manual Errors: Inaccuracies in recording animal details, health status, and feeding
schedules can lead to mismanagement and affect animal well-being.
2. Time-Consuming: Manually tracking zoo operations, such as visitor entries, staff
duties, and financial transactions, takes more time and effort.
3. Poor Record Management: Paper-based records are difficult to organize, retrieve, and
update, leading to inefficiencies in zoo administration.
4. Limited Transparency: Visitors and authorities may find it challenging to verify
records related to animal welfare, ticket sales, and financial transactions, leading to
potential disputes.
5. Lack of Automation: Key functionalities such as automated billing, visitor tracking,
health monitoring, and feeding schedule management are absent, making operations
inefficient and less reliable.
8
2.2 PROPOSED SYSTEM
2.2.1 ADVANTAGES:
1. Automated Animal Record Management: The system digitally stores and updates
animal details, including species, health status, and feeding schedules, ensuring
accuracy and organization.
2. Efficient Visitor Management: Automates visitor entry, ticket generation, and
billing, improving queue management and reducing wait times.
3. Digital Record Keeping: Ensures all animal, staff, and financial records are stored
securely and can be retrieved quickly when needed.
4. Real-Time Monitoring: Tracks visitor entries, staff activities, and animal health
status in real time, allowing better decision-making.
5. User-Friendly Interface: Designed for easy navigation, ensuring zoo administrators,
veterinarians, and ticketing staff can efficiently use the system.
6. Improved Transparency: Automated billing, ticket pricing, and financial reporting
enhance trust and minimize disputes.
7. Scalability and Flexibility: Can integrate with advanced technologies like RFID
tagging for animals, digital payments, and online ticket booking for future upgrades.
9
3 SYSTEM DESIGN AND DEVELOPMENT
The Zoo Management System (ZMS) is designed to automate and streamline zoo operations,
including animal record-keeping, visitor management, ticketing, staff coordination, and
financial transactions. The system employs a modular architecture to ensure efficient
functionality and scalability. Below is the detailed system design:
The system follows a three-tier architecture:
1. Presentation Layer: The user interface (UI) is developed using HTML, CSS, and
JavaScript, allowing administrators, veterinarians, and ticketing staff to interact
seamlessly with the system.
2. Application Layer: The backend logic is implemented in PHP, handling user requests,
processing data, and managing system operations.
3. Database Layer: A MySQL database is used to store and retrieve records such as
animal details, health records, feeding schedules, visitor information, staff data, and
financial transactions.
Authentication Inputs
Username: Captures the administrator or staff ID for authentication.
Password: Ensures secure access to the system.
10
Animal Registration Form Inputs
Animal Name: Records the animal’s name (if applicable).
Species: Selects the species category (e.g., Mammal, Reptile, Bird).
Age: Captures the age of the animal.
Health Status: Logs the current health condition.
Feeding Schedule: Specifies feeding times and diet plan.
Habitat: Assigns the designated enclosure or habitat.
Search Inputs
Search Field: Allows users to search for animal, visitor, or staff details using unique
identifiers (e.g., Animal ID, Ticket Number, Staff ID).
11
Data Validation
Mandatory Fields:
All fields, except search, are mandatory.
Displays error messages for missing inputs.
Length and Format Checks:
Mobile Number: Must be 10 digits.
Animal Age: Must be a valid numeric value.
Ticket Number: Must follow a unique alphanumeric format.
The output design in the Zoo Management System (ZMS) focuses on providing
administrators, staff, and visitors with clear and well-organized zoo-related information.
Below is the structured output design:
Animal Records Display:
The system will display a list of all animals currently in the zoo, showing key details such as:
Animal ID: Unique identifier for each animal.
Animal Name: Name of the animal (if applicable).
Species: Category (e.g., Mammal, Reptile, Bird).
Age: Age of the animal.
Health Status: Current medical condition.
Feeding Schedule: Details of feeding times and diet.
Habitat: Assigned enclosure or living space.
12
Feeding Schedule: Daily diet and feeding times.
Assigned Caretaker: The staff member responsible for the animal.
Action Buttons:
Edit: Modify animal details such as health records, feeding schedules, or habitat.
Delete: Remove an animal entry (in case of a transfer or other necessary updates).
Visitor Records Display:
The system will provide an organized display of visitor entries, showing:
Visitor ID: Unique identifier for each visitor.
Visitor Name: Full name of the visitor.
Ticket Type: Category (Adult, Child, Senior Citizen).
Entry Date & Time: When the visitor entered the zoo.
Contact Number: Visitor’s mobile number for record-keeping.
Dashboard Overview:
The dashboard will provide four key metrics:
1. Visitors Entered Today: Displays the total number of visitors who have entered the
zoo today, helping staff manage crowd control.
2. Visitors Exited Today: Shows the number of visitors who have exited the zoo on the
current day.
3. Total Visitors (All Time): The cumulative number of visitors since the system
started.
4. Total Revenue Generated: Displays the total amount earned from ticket sales.
13
3.4 DATABASE DESIGN
This Database design provides a structured framework for managing parking-related
data efficiently using PHP, MySQL
Admin:
1. AdminID : Unique identifier for each admin
2. Adminname : Admin’s name
3. Username : Admin’s login usename
4. Mobilenumber : Admin’s mobile number
5. Email : Admin’s email number
6. Password : Encrypted password for login authentication
7. RegDate : Admin username created date for reference
Vehicle:
1. ParkingID : A unique identifier for each parking record
2. ParkingNo : A unique number assigned to the parking vehicle
3. VehicleType : Specifies the type of the vehicle, such as car, bike
4. RegistrationNo : The registration number of the parked vehicle
5. OwnerName : The name of the vehicle's owner
6. MobileNo : The contact number of the vehicle's owner
7. Intime : The date and time when the vehicle entered
8. OutTime : The date and time when the vehicle exited
9. Parkingfee : The fee charged for parking the vehicle
10. Status : Indicates the current status of the parking record
1. Requirements Analysis
Objective: Identify and document the needs and expectations of zoo management, staff, and
visitors.
Activities:
Gather requirements for core features such as animal record management, feeding
schedules, visitor ticketing, and revenue tracking.
Determine tools and frameworks for development (e.g., HTML, CSS, JavaScript,
PHP, MySQL).
14
Define regulatory needs, including data privacy for visitor records and compliance
with wildlife protection laws.
Specify technical constraints such as database storage limits and system response
times.
2. System Design
Objective: Establish the architecture and component interactions for ZMS.
Activities:
Design system architecture, including modules for animal record management,
visitor ticketing, and staff management.
Develop a relational database schema with tables for animals, staff, visitors, and
transactions, ensuring referential integrity.
Create wireframes for user interfaces, such as animal record entry, ticket booking,
and real-time animal health tracking.
Plan UI/UX design elements to ensure an intuitive and user-friendly experience.
3. Implementation
Objective: Develop the system as per the design specifications.
Activities:
Develop the frontend using HTML, CSS, and JavaScript for an interactive and
responsive UI.
Implement backend functionalities using PHP for database interactions, user
authentication, and record management.
Configure MySQL to store animal details, visitor records, and financial transactions.
Build a ticketing system for visitor entry, with options for different ticket types
(adult, child, senior citizen).
Develop a dashboard for real-time tracking of zoo occupancy, revenue, and animal
health status.
Add automated feeding schedule notifications for staff.
4. Testing
Objective: Validate system functionality, security, and performance.
Activities:
Conduct unit testing for modules like visitor entry, ticket generation, and animal data
updates.
15
Perform integration testing to verify smooth interactions between modules (e.g.,
ticket booking and visitor tracking).
Carry out system testing to ensure compliance with requirements and a seamless user
experience.
5. Deployment
Objective: Make ZMS available for operational use.
Activities:
Deploy the frontend on a hosting platform (e.g., local server or web hosting
service).
Host the backend PHP application and database on a cloud or local server.
Configure secure access credentials for database connections and backend APIs.
Conduct a pilot run in the zoo to validate real-world functionality and gather user
feedback.
16
3.5.1 DESCRIPTION OF MODULES
1. Authentication Module
Description: This module secures access to the system by managing user registration and
authentication for zoo staff and administrators.
Features:
User Login:
User Registration:
Allows new users (zoo staff and admins) to create accounts by entering details
like name, phone number, and password.
Ensures phone numbers are numeric and passwords meet predefined security
requirements.
Forgot Password:
Enables users to reset their password after verifying their phone number or email.
Description: Manages the records of all animals in the zoo, including their species, feeding
schedules, and health status.
Features:
Captures details such as animal name, species, age, health status, and habitat.
Allows staff to update records with medical history and feeding schedules.
17
Feeding and Medical Tracking:
Enables staff to search for animals using species, name, or health condition.
Description: Handles the ticketing system for visitors, allowing for entry tracking and
revenue management.
Features:
Ticket Booking:
Printable Receipt:
Generates a ticket receipt displaying visitor details, ticket type, price, and zoo
branding.
18
4.TESTING AND IMPLEMENTATION
SYSTEM TESTING
Testing ensures that all modules of the Zoo Management System (ZMS) function as expected
and meet user requirements. The following testing strategies are employed:
1. Unit Testing
Objective: Test individual modules to ensure they work as intended.
Authentication Module:
Test login, registration, and forgot password functionalities.
Validate input formats (e.g., numeric phone numbers, strong passwords).
Animal Details Module:
Ensure correct data entry for animal details (species, age, feeding schedule, health
status).
Verify search and filter operations return accurate animal records.
Validate feeding and medical history logs are stored properly.
Manage Ticket Module:
Check the ticket booking process for different ticket categories (Adult, Child,
Group).
Ensure correct calculation of ticket prices, including discounts if applicable.
Verify that the system generates and prints the correct ticket details.
2. Integration Testing
Objective: Validate interactions between modules.
Test integration between the Manage Ticket Module and Zoo Entry System to ensure
valid tickets allow visitor entry.
Validate the interaction between the Authentication Module and other modules,
ensuring only authorized users can access system features.
Verify database operations (saving, retrieving, and updating animal details, ticket
bookings, and user information).
19
3. System Testing
Objective: Perform end-to-end testing of the entire system.
Simulate real-world scenarios where staff log in, manage animals, and handle visitor
ticketing.
Ensure all workflows (ticket purchase, visitor entry, animal record updates) function
as expected.
Test system behavior under high visitor traffic to check performance and scalability.
20
2. Data Storage & Retrieval
Verify if animal data is correctly inserted into the MySQL database.
Ensure real-time ticket bookings are stored and retrieved accurately.
Check if the visitor’s entry is updated correctly after ticket validation.
3. Performance Testing
Measure response time when multiple visitors purchase tickets simultaneously.
Optimize database queries to prevent slow performance during peak hours.
IMPLEMENTATION
1. Preparation Phase
Hosting Setup:
Set up the server environment for the backend (PHP) and database (MySQL).
Use XAMPP for local testing or deploy to a cloud server for production.
Database Configuration:
Create and configure tables for user accounts, animal records, and ticketing
details.
Secure access to the database with appropriate credentials.
Frontend Deployment:
Deploy HTML, CSS, and JavaScript files on a hosting platform (e.g., GitHub
Pages or an integrated backend server).
2. Deployment Phase
Initial Deployment:
Deploy the system to a staging environment for final testing.
Ensure all modules are properly integrated and functional.
Live Deployment:
Launch the system on the production server.
Provide access credentials to zoo administrators and staff.
21
3. Training Phase
Conduct training sessions for zoo staff on:
Managing animal records and health tracking.
Handling visitor ticket bookings and entry management.
Generating and printing visitor tickets and reports.
Provide user manuals and video tutorials for reference.
5. Maintenance Phase
Regularly update system libraries and frameworks to ensure security.
Add new features like real-time animal tracking, visitor feedback collection, or
membership programs.
Perform periodic database backups to prevent data loss.
22
5.CONCLUSION
23
5.1FUTURE ENHANCEMENTS
24
BIBLIOGRAPHY
1. Books:
1. "PHP and MySQL Web Development" by Luke Welling and Laura Thomson.
2. "HTML and CSS: Design and Build Websites" by Jon Duckett.
3. "JavaScript: The Good Parts" by Douglas Crockford.
4. "Database Systems: Design, Implementation, and Management" by Carlos Coronel
and Steven Morris.
2. Online Tutorials:
1. PHP Official Documentation: https://www.php.net/docs.php
2. MySQL Reference Manual: https://dev.mysql.com/doc/
3. W3Schools (HTML, CSS, JavaScript): https://www.w3schools.com/
25
APPENDENCIS
LEVEL 0 DFD
Level 1 DFD
26
LEVEL 2 DFD
27
B. TABLE STRUCTURE
1 ID int 10 NOTNULL
28
TABLE NAME : tblvehicle
PRIMARY KEY : ID
DESCRIPTION : This table is used to maintain the Parking Details.
1 ID int 10 NOTNULL
29
C. SAMPLE CODING
Index.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Zoo Management System</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<header>
<h1>Zoo Management System</h1>
<nav>
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="add_animal.html">Add Animal</a></li>
<li><a href="view_animals.html">View Animals</a></li>
<li><a href="staff.html">Staff</a></li>
</ul>
</nav>
</header>
<main>
<section>
<h2>Welcome to the Zoo! </h2>
<p>Manage the zoo's animals, staff, and visitors efficiently. </p>
</section>
</main>
30
<footer>
<p>© 2025 Zoo Management System</p>
</footer>
</body>
</html>
Add _animal
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Add Animal</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<header>
<h1>Zoo Management System</h1>
<nav>
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="add_animal.html">Add Animal</a></li>
<li><a href="view_animals.html">View Animals</a></li>
<li><a href="staff.html">Staff</a></li>
</ul>
</nav>
</header>
<main>
<h2>Add New Animal</h2>
31
<form action="add_animal.php" method="POST">
<label for="name">Animal Name:</label>
<input type="text" name="name" id="name" required>
<label for="species">Species:</label>
<input type="text" name="species" id="species" required>
<label for="age">Age:</label>
<input type="number" name="age" id="age" required>
<label for="habitat">Habitat:</label>
<input type="text" name="habitat" id="habitat" required>
<footer>
<p>© 2025 Zoo Management System</p>
</footer>
</body>
</html>
Styles.css
*{margin: 0; padding: 0; box-sizing: border-box;}
32
footer {text-align: center; padding: 10px; background-color: #333; color: white;}
h2 {margin-bottom: 20px;}
form {background: #fff; padding: 20px; border-radius: 5px; box-shadow: 0 0 10px rgba(0, 0,
0, 0.1);}
form input {width: 100%; padding: 10px; margin-bottom: 15px; border: 1px solid #ccc;
border-radius: 5px;}
form button {padding: 10px 20px; background-color: #333; color: white; border: none;
cursor: pointer;}
Add_animal.php
<?php
$servername = "localhost";
$username = "root";
$password = "";
$dbname = "zoo_management";
// Create connection
// Check connection
if ($conn->connect_error) {
$name = $_POST['name'];
33
$species = $_POST['species'];
$age = $_POST['age'];
$habitat = $_POST['habitat'];
$sql = "INSERT INTO animals (name, species, age, habitat) VALUES ('$name', '$species',
$age, '$habitat')";
} else {
$conn->close ();
?>
34
D. SAMPLE INPUT
Login page
35
E. SAMPLE OUTPUT
Dashboard
Manage Animals
36
Details of Tickets
Admin Profile
37
F.SAMPLE REPORT
38