Pet Shop Report
Pet Shop Report
On
BACHELOR OF SCIENCE
in
COMPUTER SCIENCE
Under the guidance of
1
Dapoli Urban Bank Senior Science College
Udya Nagar road, Behind Azad Maidan, Dapoli
College Seal
Signature of Examiner
Date:
2
DECLARATION
I, Mrs. Rinal Madhukar Pandire hereby declare that the project entitled “Pet
Shop Management ” submitted in the partial fulfillment for the award of
Bachelor of Science in Computer Science during the academic year 2024-2025
is my original work and the project has not formed the basis for the award of
any degree, associateship, fellowship or any other similar titles.
Place:
Date:
3
ABSTRACT
The purpose of is to automate the existing Online Pet Shop Management System manual
system by the help of computerized equipments and full-fledged computer software, fulfilling
their requirements, so that their valuable data/information can be stored for a longer period
with easy accessing and manipulation of the same. The required software and hardware are
easily available and work with.
The objectives of the project is to provide web based interface to a pet shop owner to
manages his pet shop activities. To provide an option for storing and managing the basic
information about pets in the shop. To provide an option for storing and managing the
sales details of the shop. To provide an option for storing and managing the basic
information about the customer To track the information about sold pets and products
to a customer.
4
5
ACKNOWLEDGEMENT
We are grateful to our institution, Dapoli Urban Bank Senior Science College , for having
provided us with the facilities to successfully complete this mini project on ONLINE PET
SHOP MANAGEMENT SYSTEM.
We thank Dr. Sandesh Jagdale, principal and Prof.Sadanand Dongre, HOD, for
providing us all the necessary facilities for the successful completion of our mini-project.
Deadlines play a very important role in the successful completion of the academic project on
time, efficiently and effectively. We take this opportunity to express our deep sense of gratitude
to our guide and coordinators Mr. Swapnil Salvi, Mrs. Shravya Pawar, and Ms. Netrajali
Mahadik , Department of Computer Science for their valuable guidance and help
throughout the course of the academic mini-project. They have always been patient with us and
helped immensely in completing the task on hand. We also thank them for their immense
support, guidance, specifications & ideas without which seminar would have been completed
without full merit.
Last but not least from the Department of Information Science and Engineering, teaching and
non-teaching staffs for their constant encouragement, support, patience, and endurance shown
during the preparation of this report were remarkable. We also thank the management.
Finally, we thank our parents and friends for their motivation, morale and material support.
6
TABLE OF CONTENTS
Chapter Title Page No.
No.
Declaration 3
Abstract 4
Acknowledgement 5
1 Intorduction to database
2 Introduction to Project
2.1 Introduction
2.3 Objective
2.4 Scope
7
CHAPTER 1
INTRODUCTION TO DATABASE
Database and database technology has a major impact on the growing use of
computers. It is fair to say that databases play a critical role in almost all areas where
computers are used, including business, electronic commerce, engineering, medicine,
genetics, law, education, and library science. The word database is so commonly used that
we must begin by defining what the database is.
The preceding definition of a database is quite general, for example, we may consider
the collection of words that make up this page of text to be related data and hence to
constitute a database. However, the common use of the term database is usually more
restricted. A database has the following properties:
● A database represents some aspect of the real world, sometimes called the mini world
or the universe of discourse. The changes to the mini world are reflected in the
database.
● A database is a logically coherent collection of data with some inherent meaning. A
random assortment of data cannot correctly be referred to as a database.
● A database is designed, built and populated with data for a specific purpose. It has an
intended group of users and some preconceived applications in which these users are
interested.
In other words, a database has some source from which data is derived, some degree of
interaction with events in the real world, and an audience that is actively interested in its
contents. The end-users of the database may perform business transactions (for example a
customer buys a camera) or events may happen that may cause the information in the
database to change. In order for a database to be accurate and reliable at all times, it must
be a true
8
reflection of the mini world that it represents; therefore changes must be reflected in the
database as soon as possible.
A database can be of any size and complexity. A database may be generated and
maintained manually or computerized. For example, a library card catalog is a database that
may be created and maintained manually. A computerized database may be created and
maintained either by a group of application programs written specifically for that task or by
a database management system.
A database is a collection of data, typically describing the activities of one or more
related organizations. For example, a university database might contain information about
the following:
● Entities such as students, faculty, courses, and classrooms.
9
● We have to write special programs to answer each question a user may want to ask
about the data. These programs are likely to be complex because of the large volume
of data to be searched.
● We must protect the data from the inconsistent changes made by different users
accessing the data concurrently. If applications must address the details of such
concurrent access, this adds greatly to their complexity.
● We must ensure that the data is restored to a consistent state if the system crashes
while changes are being made.
● Operating systems provide only a password mechanism for security. This is not
sufficiently flexible to enforce security policies in which different users have
permission to access different subsets of the data.
● DBMS is a piece of software designed to make the preceding tasks easier. By storing
data in DBMS rather than as a collection of operating system files, we can use the
DBMS’s features to manage the data in a robust and efficient manner. As the volume
of data and the number of users grow hundreds of gigabytes of data and thousands of
users are common in current corporate database DBMS support becomes
indispensable.
11
1.2 ADVANTAGES OF USING DBMS APPROACH
Data Integrity and Security: if data is always accessed through DBMS, the DBMS
can enforce integrity constraints. For example, before inserting salary information for an
employee, the DBMS can check that the department budget is not exceeded. Also, it can
enforce access controls that govern what data is visible to different classes of users.
Data Administration: when several users share data, centralizing the administration
of data can offer significant improvements. Experienced professionals who understand the
nature of the data being managed, and how different groups of users use it, it can be
responsible for organizing the data representation to minimize redundancy and for
finetuning the storage of the data to make retrieval efficient.
12
1.3 ARCHITECTURE OF DATABASE
13
CHAPTER 2
INTRODUCTION TO PROJECT
2.1 INTRODUCTION
• In this modern world everything can be controlled and accessed without the
presence of a particular person- that which the time constraint of the modern
world demands. This concept is implemented in a complete way through the
Pet Management.
• This is a database management system ,which helps the small scale pet shop
owner to keep track the available pet along with the sales details of his/her
shop.
2.3 OBJECTIVE
• To provide an option for storing and managing the basic information about
pets in the shop.
• To provide an option for storing and managing the sales details of the shop.
• To provide an option for storing and managing the basic information about
the customer.
• To track the information about sold pets to a customer.
2.4 SCOPE
It may help to collect perfect management in detail in a very short time. The
collection will be obvious, simple and sensible. It will help a person to know the
management of passing here perfectly and vividly.
14
CHAPTER 3
DESIGN
3.1 ENTITY-RELATIONSHIP DIAGRAM
ER Relationship model allows us to describe the data involved in a real-
world enterprise in terms of objects and their relationship widely used to
develop an initial database design. It is primarily important in its role in
database design.
15
16
3.2 SCHEMA DIAGRAM
A schema diagram is a diagram which contains entities and the attributes
that will define that schema. A schema diagram only shows us the database
design. It does not show the actual data of the database. Schema can be a
single table or it can have more than one table which is related.
17
CHAPTER 4
REQUIREMENTS
18
4.3 SOFTWARE REQUIREMENTS
Operating System: 64 bit OS
Database: MYSQL
Tools: PHP, Xampp Server
PHP
PHP is a server-side scripting language embedded in HTML in its simplest
form. PHP allows web developers to create dynamic content and interact
with databases. PHP is known for its simplicity, speed, and flexibility.
XAMPPSERVER
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. Since most actual
web server deployments use the same components as XAMPP, it makes
transitioning from a local test server to a live server possible.
19
CHAPTER 5
LANGUAGES
2) 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 or XML (including XML dialects
such as SVG, MathML or XHTML).CSS is a cornerstone technology of the World Wide
Web, alongside HTML and JavaScript.
CSS is designed to enable the separation of content and presentation, including layout, colors,
and fonts.[3] 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; and enable the .css file to be cached to improve the
page load speed between the pages that share the file and its
formatting.
20
21
3) PHP
PHP is a general-purpose scripting language geared toward web development. It was
originally created by Danish-Canadian programmer Rasmus Lerdorf in 1993 and released in
1995. The PHP reference implementation is now produced by The PHP Group. PHP was
originally an abbreviation of Personal Home Page, but it now stands for the recursive
initialism PHP: Hypertext Preprocessor.
PHP code is usually processed on a web server by a PHP interpreter implemented as a
module, a daemon or as a Common Gateway Interface (CGI) executable. On a web server,
the result of the interpreted and executed PHP code – which may be any type of data,
such as generated HTML or binary image data – would form the whole or part of an HTTP
response. Various web template systems, web content management systems, and web
frameworks exist which can be employed to orchestrate or facilitate the generation of that
response. Additionally, PHP can be used for many programming tasks outside the web
context, such as standalone graphical applications and robotic drone control. PHP code can
also be directly executed from the command line.
4) MY SQL
MySQL is an open-source relational database management system (RDBMS). Its name is a
combination of "My", the name of co-founder Michael Widenius's daughter My, and "SQL",
the acronym for Structured Query Language. A relational database organizes data into one or
more data tables in which data may be related to each other; these relations help structure the
data. SQL is a language programmers use to create, modify and extract data from the
relational database, as well as control user access to the database. In addition to relational
databases and SQL, an RDBMS like MySQL works with an operating system to implement a
relational database in a computer's storage system, manages users, allows for network access
and facilitates testing database integrity and creation of backups.
MySQL is free and open-source software under the terms of the GNU General Public
License, and is also available under a variety of proprietary licenses. MySQL was owned and
sponsored by the Swedish company MySQL AB, which was bought by Sun Microsystems
(now Oracle Corporation). In 2010, when Oracle acquired Sun, Widenius forked the open-
source MySQL project to create MariaDB.
22
CHAPTER 6
TABLE DESCRIPTION
6.1 CART TABLE
CART table has the deatails of user and it has attributes cart_id, pet_id, user_id and
qty.
23
6.4 ORDERED PLACED TABLE
ORDER PLACED TABLE has the details of the order placed by different users.
PET DETAILS TABLE has the details of the pets available in store.
24
25
APPENDIX ‘A’- CODE SNIPPETS
26
A.3 DELETE QUERY
This query is to delete the pet details.
27
APPENDIX ‘B’– SCREENSHOTS
B.1 HOME PAGE
28
B.4 USER REGISTRATION
29
B.7 ADMIN PAGE
30
CONCLUSION
31
REFERENCES
Books:
Software Engineering - R.S. Pressman
Links:
• https://www.apachefriends.org/download.html
• https://www.mysql.com/
• http://www.mysqltutorial.org
• https://www.w3schools.com/php/default.asp
• https://www.sitepoint.com/php/
• https://www.php.net/
32