Final Report (Repaired)
Final Report (Repaired)
Prepared by:
Yahya Mewan Hassan
Majeed Omar Majeed
Project Supervisor:
M. Rina Dinkha Zarro
2022-2023
ABSTRACT
This abstract provides a concise summary of the project, including its purpose,
methodology, findings, results, and conclusions.
Purpose:
The purpose of this project is to develop a pet care website that addresses the growing
need for comprehensive information and support for pet owners in Kurdistan and Iraq.
The project aims to provide a platform that offers a database of pet and owner
information, self-care guidelines, assistance for missing animals, and a directory of
pet shelter centers.
Method:
The project follows a software engineering approach, utilizing HTML, CSS,
Bootstrap, JavaScript, jQuery, PHP, and MySQL as the primary programming and
design languages and tools. The website's development process involves requirements
gathering, system architecture design, and implementation of key features based on
user needs and feedback.
Findings:
Through an extensive literature review and analysis of existing pet care platforms, the
project identified the lack of a centralized and comprehensive system for pet-related
information in Kurdistan and Iraq. The findings underscore the importance of
providing a user-friendly interface, reliable database management, and efficient
communication channels to meet the diverse needs of pet owners.
Results:
The implementation of the pet care website yielded positive outcomes. The system
successfully integrated the pet and owner database, enabling users to access
information about various pets, their owners, and self-care tips. Additionally, the
website's missing animal platform and pet shelter center directory proved to be
valuable resources for users facing these challenges.
Conclusion:
In conclusion, this pet care website project has successfully addressed the need for a
comprehensive information system for pet owners in Kurdistan and Iraq. By
leveraging HTML, CSS, Bootstrap, JavaScript, jQuery, PHP, and MySQL, the
website provides a user-friendly platform for accessing pet-related information,
promoting responsible pet ownership, and assisting in cases of missing animals. The
project's findings and results highlight the potential impact of this platform in
improving the overall well-being and care of pets in the region.
II
DEDICATION
We express our utmost dedication of this final year project to the esteemed Software
and Informatics Department within the College of Engineering at Salahaddin
University-Erbil. The department has played a pivotal role in shaping our academic
journey and equipping us with the necessary knowledge and skills to undertake this
project successfully.
We would also like to extend our sincere gratitude to our project supervisor, who has
been a constant source of guidance and support throughout the development process.
Their valuable insights and advice have significantly contributed to the project's
overall quality and direction.
Furthermore, we are deeply appreciative of our families for their unwavering support
and encouragement. Their belief in our abilities and their continuous assistance has
been instrumental in helping us surpass the foundational aspects of our education,
enabling us to excel in our chosen field.
Lastly, we would like to acknowledge our fellow colleagues who have accompanied
us on this educational journey. The exchange of knowledge and collaborative efforts
shared among our peers have fostered a stimulating environment conducive to
personal and intellectual growth. The collective experiences and shared insights have
undoubtedly enriched our understanding of the subject matter.
With sincere appreciation, we dedicate this final year project to all those who have
played an integral role in our academic and personal development, paving the way for
our accomplishments and preparing us for future endeavors in the field of software
and informatics engineering.
III
SUPERVISORS CERTIFICATION
This statement serves to certify that the project titled "Kurdish Pet Care Website" was
under my supervision throughout its development at the Department of Software and
Informatics Engineering, College of Engineering, Salahaddin University-Erbil. The
project was undertaken as an essential component for fulfilling the academic
requirements leading to the attainment of a Bachelor of Science degree in Software
and Informatics Engineering.
As the project supervisor, I have provided guidance, oversight, and support to ensure
the successful execution of the project. Throughout the development process, I have
actively engaged with the project team, offering advice and making informed
decisions to steer the project in the right direction.
Supervisor
Name:
Signature:
Date:
IV
Table of Contents
Abstract……………………………………………………………………..I
Dedication……………………………...…………………………………..II
Supervisors certification…………………………………………………III
Contents……………………………….……………….…………………IV
List of Figures……………………………………………………………..V
List of Tables………………….………………………….………………VI
List of Abbriviations……………………………………………………VII
Chapter one...................................................................................................1
V
CHAPTER ONE
INTRODUCTION
1.1 INTRODUCTION
Through an extensive review of existing literature, it has been determined that the
current state of pet care services in Kurdistan and Iraq is inadequate. There is a
scarcity of platforms that offer comprehensive databases for pets and their owners,
resulting in difficulties in accessing relevant information. Furthermore, the lack of
guidance and resources for pet owners regarding the proper care and well-being of
their pets poses challenges for both owners and the animals themselves. Additionally,
the growing problem of stray animals further emphasizes the need for a system that
provides information about pet shelters and assists in the transportation and
management of these animals.
Given these circumstances, we have undertaken this study to develop a web-based pet
care website that will serve as a reliable and centralized platform for pet owners in
Kurdistan and Iraq. The primary objective of this project is to create a comprehensive
database that includes detailed information about pets and their owners. By doing so,
we aim to empower pet owners with accurate and accessible information, enabling
them to make informed decisions about the care, health, and well-being of their pets.
This research project will make a significant contribution to the field of pet care by
addressing the existing gaps in the current infrastructure. By developing a user-
friendly platform that provides comprehensive information about pets, offers guidance
on pet care practices, and includes a helping platform for missing or stolen animals,
our website will enhance the overall quality of pet care in Kurdistan and Iraq.
Additionally, the incorporation of information about pet shelter providing centers will
contribute to the management of stray animals, which is an ongoing and complex
issue in the region.
Therefore, the central research question that guides this project is: How can we
develop an effective web-based system that provides a comprehensive database for
pets and their owners, offers guidance on pet care practices, includes a helping
platform for missing or stolen animals, and incorporates information about pet shelter
providing centers in Kurdistan and Iraq? By addressing this research question, we aim
to bridge the existing gaps in the pet care infrastructure, improve the well-being of
pets, and support responsible pet ownership in the region.
The website caters to a broad audience and offers free accessibility. However, it is
important to note that users inherently possess varying levels of ability to access and
interact with the website's features and functionalities.
The categorization of users on our website:
I. Guests: users that come to the website and didn’t register themselves before
can only see the registered user’s pictures and the products available in the
website and the other sections in the website but they can not post pictures or
edit others posts.
II. Registered users: users who registered themselves have the same privileges
as the Guests with some addition, they can post and edit their posts afterwards
if their posts get approved by the admin, registered users can only manage
their own posts and they have a limit of 3 posts per section.
III. Admin: a user that has the ability to manage the stores, clinics, shelters,
products, and manage posts posted by others.
1.2 BACKGROUND
This website will be a valuable resource for pet owners, animal lovers, and
organizations involved in pet care, ultimately enhancing the well-being of pets and the
community as a whole. Our platform goes beyond basic information provision by
offering guidance on dealing with different types of pets and promoting self-care
practices among owners. We recognize that pet owners may require guidance on
2
grooming, nutrition, exercise, training, and overall pet welfare. Therefore, our website
will provide valuable resources and recommendations to help pet owners make
informed decisions and ensure the well-being of their pets.
Another crucial aspect of our website is the incorporation of a helping platform for
missing or stolen animals. This feature aims to assist pet owners during distressing
situations by providing a platform to report and track missing pets. By offering a
centralized and accessible resource, we increase the chances of reuniting lost pets
with their owners and alleviating the emotional burden experienced by pet owners in
such circumstances.
Furthermore, our website will include information about pet shelter providing centers.
This feature aims to address the growing problem of stray animals in Kurdistan and
Iraq. By providing details about these shelters and their services, we facilitate the
process of locating suitable shelters and contribute to the management and
transportation of stray animals.
5. Limited Guidance on Pet Care and Self-Care Practices: Pet owners often face
difficulties in finding reliable information and guidance on pet care and self-care
practices. The lack of accessible resources hinders pet owners from making
3
informed decisions regarding the health, nutrition, grooming, and overall well-
being of their pets.
4
- Create a comprehensive database of pet shelter providing centers,
including their locations, services offered, and contact details.
- Develop a user-friendly interface that allows individuals to locate and
connect with nearby pet shelters or organizations involved in stray animal
management.
- Facilitate partnerships with pet shelter providing centers to streamline the
process of rescuing, housing, and rehoming stray animals.
- Promote awareness campaigns and educational resources on responsible
pet ownership, spaying/neutering, and the importance of adopting stray
animals.
5
The proposed web-based system will address the identified problems by enhancing
pet-related information accessibility, promoting responsible pet ownership, improving
stray animal management, and facilitating the ease of accessing pet services in
Kurdistan. This will significantly enhance the pet care landscape in Kurdistan and
Iraq, providing reliable information to pet owners, aiding in the recovery of missing
or stolen animals, managing stray animals effectively, and offering comprehensive
guidance on pet care and self-care practices.
1. Aim: To provide a comprehensive and centralized information system for pets and
their owners in Kurdistan and Iraq.
- Objectives:
Develop a web-based system that includes a database for pets and their
owners, storing relevant information such as breed, birth date, and specific
care requirements.
6
Provide a user-friendly platform that offers guidance and resources on
dealing with pets and promoting self-care practices for pet owners.
Create a dedicated helping platform to assist in cases of missing or stolen
animals, facilitating their recovery and reunification with their owners.
2. Aim: To improve pet care and promote responsible pet ownership through
accessible information and resources.
- Objectives:
3. Aim: To enhance the management and welfare of stray animals in Kurdistan and
Iraq.
- Objectives:
The scope of our project encompasses the development and implementation of a web-
based system that aims to address the current lack of a comprehensive information
platform for pets and their owners in Kurdistan and Iraq.
Despite the comprehensive nature of our project, there are certain limitations that
need to be acknowledged. These include:
7
1. Data Accuracy: The accuracy and reliability of the information within the
database depend on the input provided by pet owners and shelter providers. While
efforts will be made to ensure data integrity, there may be instances of incomplete
or inaccurate information.
4. Adoption and User Participation: The success and impact of the project rely on
user adoption and active participation. Encouraging pet owners, shelter providers,
and other stakeholders to actively engage with the system may pose challenges
and require targeted awareness campaigns and user training initiatives.
1. Geographic Focus: The project primarily focuses on addressing the pet care
challenges and needs specific to the regions of Kurdistan and Iraq. It does not
extend its scope to cover other geographical areas.
8
platforms. The system will be designed to be accessible through standard web
browsers.
3. Limited Species Coverage: While the project aims to provide information about
various pets, the focus will primarily be on commonly kept pets in Kurdistan and
Iraq. The system may not extensively cover less common or exotic animal
species.
These delimitations are necessary to maintain a focused and manageable project scope
and ensure the feasibility and effectiveness of the proposed solutions within the given
context.
9
Chapter 4: Online Resume Features and Functionality
Chapter 4 explores the online resume features and the tasks that can be performed
using the website. A comprehensive overview of the functionalities available to users
is provided, illustrating the various capabilities and tools incorporated into the system.
The chapter highlights the practical aspects of the web-based platform, emphasizing
its role in facilitating resume creation, customization, and dissemination.
Additionally, it showcases the interactive features and functionalities that empower
users to engage with their resumes effectively.
10
CHAPTER TWO
METHODOLOGY
2.1 METHODOLOGY
T
his chapter focuses on the project methodology, providing an overview of the
tools and techniques employed in the construction of the project as outlined in
the previous chapter. A comprehensive description of the web-related tools
utilized for the project design is presented. The chapter commences with an
introduction that elucidates the methodology pertaining to the fundamental concepts
of web design and computers, constituting the initial section. Subsequently, an
introduction is provided on web development, encompassing PHP, HTML, CSS,
Bootstrap, JavaScript, jQuery, and MySQL.
The design of the website utilizes HTML, CSS, and Bootstrap to create an
aesthetically appealing interface. PHP is chosen for its flexibility, user-friendly
nature, and enhanced security features. PhpMyAdmin is selected as the preferred
database management system due to its ease of use compared to other alternatives.
The implementation tools employed in the project are as follows, along with the
reasons for their selection:
1. PHP, JavaScript, HTML, CSS, Bootstrap, and jQuery: These programming
languages and frameworks are utilized for programming and designing the
website. Additionally, Visual Studio Code can be employed as the development
environment.
2. MySQL server: This database server is employed for testing the database and
performing data additions and updates. The XAMPP server is used due to it’s
user-friendly interface and cost-effectiveness compared to other available options.
11
2.2.1 HTML (HYPERTEXT MARKUP LANGUAGE)
The main purpose of HTML is to create a logical hierarchy of elements that form the
basis of a web page's layout and functionality. It defines the structure of a document
by dividing it into sections, such as headings, paragraphs, lists, tables, and forms.
HTML tags act as containers for different types of content, allowing web browsers to
interpret and render the content accordingly.
Overall, HTML plays a crucial role in web development, serving as the foundation for
creating well-structured and accessible web pages that can be easily understood and
rendered by web browsers.
CSS (Cascading Style Sheets) is a stylesheet language used for describing the
presentation and visual appearance of a document written in HTML or XML. It was
introduced in the late 1990s as a way to separate the content and structure of a web
page from its presentation, providing greater flexibility and control over the design
aspects. The primary purpose of CSS is to define how HTML elements should be
displayed on a web page. It allows web developers to specify properties such as
colors, fonts, spacing, layout, and positioning of elements, enabling them to create
visually appealing and consistent designs across multiple web pages.
12
CSS has evolved over the years, with new features and capabilities added to enhance
its functionality. It has become an essential part of modern web development,
providing the means to create responsive and mobile-friendly designs, adapt layouts
to different screen sizes, and apply animations and transitions to elements.
In summary, CSS empowers web developers to control the visual presentation of web
pages, ensuring consistency, flexibility, and improved user experience across various
devices and platforms.
2.2.3 JAVASCRIPT
13
2.2.4 JQUERY
jQuery is a fast, lightweight, and feature-rich JavaScript library that simplifies the
process of web development. It was introduced in 2006 with the aim of making client-
side scripting more accessible and efficient. jQuery revolutionized web development
by providing a unified and consistent way to interact with HTML documents,
manipulate the DOM (Document Object Model), handle events, create animations,
and perform AJAX (Asynchronous JavaScript and XML) requests. By abstracting
complex JavaScript tasks into simple and concise functions, jQuery greatly reduces
the amount of code required for common web development tasks. It provides a wide
range of pre-built functions and methods that can be easily applied to HTML
elements, allowing developers to add interactivity and dynamic behavior to web pages
with ease.
One of the key strengths of jQuery is its cross-browser compatibility, ensuring that
code written using jQuery works consistently across different browsers. It also offers
a large number of plugins and extensions, further expanding its capabilities and
providing additional functionality for tasks such as form validation, image sliders, and
content filtering. Over the years, jQuery has become immensely popular and widely
adopted by developers around the world. Its intuitive syntax, extensive
documentation, and active community support make it a go-to choice for both
beginners and experienced developers.
2.2.5 BOOTSTRAP
One of the key features of Bootstrap is its responsive grid system, which enables the
creation of layouts that automatically adapt to different screen sizes and devices. This
grid system, combined with the responsive CSS classes provided by Bootstrap, makes
it straightforward to build websites that are optimized for desktops, tablets, and
mobile devices. Bootstrap also includes a wide range of reusable UI components such
as buttons, forms, navigation menus, modals, and carousels. These components are
14
customizable and can be easily integrated into projects, saving developers valuable
time and effort.
Furthermore, Bootstrap's extensive set of CSS classes and JavaScript plugins enhance
the functionality and appearance of web pages. These plugins provide interactive
features like dropdown menus, tooltips, and accordions, making it easy to add
interactivity to web interfaces without writing complex code from scratch. The
popularity of Bootstrap stems from its user-friendly and intuitive nature, extensive
documentation, and strong community support. It has become a go-to choice for
developers of all skill levels, enabling them to create visually appealing, responsive,
and feature-rich websites and applications efficiently.
One of PHP's key strengths is its ability to interact with databases, making it suitable
for developing database-driven websites and applications. It supports various database
systems, such as MySQL, PostgreSQL, and Oracle, allowing developers to store and
retrieve data efficiently. PHP offers a broad range of features and functionalities,
including support for different file formats, string manipulation, regular expressions,
and encryption. It also provides extensive support for handling forms, processing user
input, and managing sessions to create interactive web experiences.
Moreover, PHP has a large and active community that has contributed to the creation
of numerous open-source frameworks and libraries, such as Laravel, Symfony, and
CodeIgniter. These frameworks simplify the development process by providing
reusable components, MVC architecture, and other advanced features, promoting
code organization and maintainability.
Due to its ease of use, versatility, and extensive documentation, PHP has become one
of the most popular languages for web development. It powers millions of websites
and applications worldwide, making it a go-to choice for developers looking to create
dynamic and feature-rich web solutions.
15
2.2.7 MYSQL
Several models are available for guiding the development process, including the
Waterfall model, V model, Incremental model, RAD model, Agile model, Iterative
model, Spiral model, and Prototype model. In the context of building the website, the
Waterfall Model is utilized.
16
2.3.1 WATERFALL MODEL
This article aims to explore the key stages that constitute the core of the waterfall
model. It examines the optimal situations for implementing this model and discusses
scenarios where alternative design philosophies may be preferred over the waterfall
approach.
17
2.3.1.1 JUSTIFICATIONS FOR EMPLOYING THE
WATERFALL MODEL
It is one of the simplest models to manage due to its inherent structure, wherein
each phase has well-defined deliverables and undergoes a thorough review
process.
It is particularly effective for smaller-scale projects characterized by easily
understandable requirements.
The waterfall model enables expedited project delivery, ensuring efficient
completion within the stipulated timeframe.
The process and outcomes of the project are comprehensively documented,
ensuring clarity and facilitating future reference.
The waterfall model is easily adaptable to accommodate changes in team
composition, making it a flexible approach in terms of team dynamics.
This project management methodology proves advantageous in effectively
managing dependencies within a project, thereby ensuring smooth coordination
and integration among various components.
Note: It is important to acknowledge that while the waterfall model offers certain
benefits, it may not be suitable for all projects, particularly those with evolving
requirements or complex dependencies. Careful consideration should be given to
project characteristics and stakeholder needs before selecting the appropriate software
development approach.
Prior to initiating the project and progressing through the various stages of the
waterfall model, additional tasks were undertaken to gather general requirements and
gather ideas from external stakeholders who were not part of the project team. Upon
collecting these ideas and requirements from external sources, a comprehensive
analysis was conducted to determine which ideas and features should be incorporated
into the project. This analysis took into consideration both the externally sourced
ideas as well as the internally generated ones.
18
2.3.1.3 SYSTEM DESIGN
The software architecture, as well as the high-level and low-level design for the
project, are collaboratively developed by the architect and senior members of the
team. Recognizing the importance of ensuring uninterrupted system availability, it is
determined that the Pet Care Website should incorporate redundant backup and
failover capabilities. This strategic decision aims to maintain continuous accessibility
to the system, even in the event of failures or disruptions.
The involvement of the architect and senior team members in the software
architecture and design process demonstrates their expertise and experience in
crafting a robust and reliable system. The incorporation of redundant backup and
failover capabilities reflects a proactive approach to ensure uninterrupted service
availability, enhancing the overall resilience and performance of the Pet Care
Website.
2.3.1.4 IMPLEMENTATION
The development team is responsible for translating the design documents and
artifacts into actual code for the project. They diligently ensure that their coding
solution aligns with the finalized design provided by the architect, adhering to the
established guidelines and specifications.
Given the high priority placed on security in the system requirements, special
attention is devoted to implementing various security checks and incorporating audit
logging features into the Online Pet Care Website. These measures aim to safeguard
the system and protect sensitive information, instilling confidence in users regarding
the confidentiality and integrity of their data.
In addition to coding, the team engages in several other activities to maintain code
quality and enhance overall system robustness. Senior developers take on the role of
reviewing code contributed by their peers, diligently examining it for potential issues
or improvements. Moreover, some developers undertake static code analysis to
identify any vulnerabilities or potential pitfalls, ensuring that the codebase meets
industry best practices and coding standards.
19
By emphasizing security measures, conducting thorough code reviews, and
performing static analysis, the development team demonstrates their commitment to
delivering a secure and reliable Online Pet Care Website. These efforts contribute to a
system that not only meets functional requirements but also upholds the highest
standards of quality and security.
2.3.1.5 TESTING
The testing team assumes the crucial role of thoroughly examining the entire system,
meticulously identifying any defects or issues present. Once these defects are
discovered, the developers promptly address them, ensuring that the necessary fixes
are implemented. Subsequently, the testing team conducts further tests to validate that
the resolved defects have indeed been rectified, thus guaranteeing the system's
integrity and functionality. To mitigate the risk of inadvertently introducing new
defects while making fixes, the testing team diligently conducts regression testing.
This comprehensive testing approach aims to uncover any unintended side effects or
regressions that may have arisen from the defect resolution process.
Furthermore, dedicated security testing teams were assigned to rigorously assess the
Online Pet Care system's security measures. Their meticulous testing procedures and
comprehensive evaluations aim to identify and rectify any potential vulnerabilities or
weaknesses, ensuring that the system remains secure and resilient against potential
threats. By conducting thorough testing, including defect identification and resolution,
regression testing, domain-specific evaluations, and robust security assessments, the
project endeavors to deliver a high-quality and secure Online Pet Care Website that
meets user expectations and industry standards.
2.3.1.6 DEPLOYMENT
The team undertakes the construction and deployment of the system on the
specifically acquired servers designated for Pet Care purposes. This phase
encompasses a range of essential activities, including the installation of the operating
system on the servers, the application of security patches, the implementation of
stringent security measures to fortify the servers, the establishment of web servers and
application servers, and the setup of the database infrastructure.
20
Additionally, the team collaborates closely with network and IT administrative teams
to ensure a seamless integration and successful deployment of the system onto the
production servers. This coordination involves addressing any network-related
requirements, configuring necessary IT infrastructure components, and overseeing the
final steps necessary to bring the system online and operational.
2.3.1.7 MAINTENANCE
Throughout the maintenance phase, the team diligently monitors the system's
performance on the servers to ensure uninterrupted operation. Their primary objective
is to sustain a seamless user experience without any instances of system downtime.
In the event of reported issues that arise following the system's deployment, the team
promptly addresses and resolves them. These identified issues are diligently fixed by
the development team, following which they undergo thorough testing conducted by
the dedicated testing team. This rigorous testing process ensures that the fixes
effectively address the reported issues and do not introduce any new defects or
disruptions to the system's functionality.
By proactively maintaining the system and promptly addressing reported issues, the
team upholds a high level of reliability and availability for the system. This
commitment to ongoing maintenance ensures that users can continue to utilize the
system without interruptions, fostering satisfaction and trust in the system's
performance and functionality.
21
CHAPTER THREE
ANALYSIS AND DESIGN
III.1 INTRODUCTION
The table provided below lists the tools utilized in the project, along with alternative
options in case the required tools were unavailable.
22
III.3 DATA FLOW DIAGRAM (DFD)
A data flow diagram (DFD) is a visual depiction that illustrates how information
flows and undergoes transformations as it moves from input to output. It serves as a
representation of software at various levels of abstraction. DFDs are structured in
levels, with each level reducing the level of abstraction while providing more detailed
information about the functional components of the system. A zero-level DFD, also
referred to as the context or fundamental system model, presents a comprehensive
view of the software elements, depicting input and output data entities as incoming
and outgoing arrows.
III.4 DESIGN
In this section, we will elucidate the design tools employed in the project.
III.4.1 DATABASE
Number Table
1 users
2 species
3 stolen_missings
23
4 shelters
5 animals
6 products
7 pet_stores
8 medicines
9 pet_clinics
III.4.1.1 USERS
24
III.4.1.2 SPECIES
The provided table comprises an inventory of all pets or animals within the system.
Each pet or animal is assigned a distinct identifier "id", serving as the primary key
within this table. Moreover, this identifier can be employed as a foreign key in related
tables, such as "pet_stores", "stolen_missings", and "shelters". The "user_id" field
within this table acts as a foreign key, referencing the "users" table. The subsequent
table illustrates all the fields encompassed by this particular entity.
III.4.1.3 STOLEN_MISSINGS
25
phone_number Varchar(64)
Stolen_lost_date Date
pet_case Enum(''ونبووە،')'دزراوە
description Text
image Longtext
user_id Int(20)
approval Int(20)
created_at Timestamp
updated_at Timestamp
III.4.1.4 SHELTERS
The provided table encompasses vital information concerning the shelters accessible
within the system. It features the "id" field, serving as the primary key for this table.
This identifier can also serve as a foreign key in other interconnected tables.
Furthermore, the "specie_id" field within this table functions as a foreign key,
establishing a reference to the "species" table. The ensuing table visually presents all
the fields included within this specific entity.
26
III.4.1.5 ANIMALS
3.4.1.6 PRODUCTS
27
3.4.1.7 PET_STORES
3.4.1.8 MEDICINES
The provided table encompasses vital information regarding the medicines accessible
within the system and the associated clinics that distribute them. It incorporates the
"id" field, serving as the primary key for this table. Moreover, this identifier can also
function as a foreign key in other interconnected tables, such as the "pet_clinics"
table. Additionally, the "animal_id" field within this table acts as a foreign key,
establishing a reference to the "animals" table. The subsequent table presents a
comprehensive overview of all the fields included within this specific entity.
28
contents text
animal_id Int(20)
price Varchar(20)
image Longtext
clinic_name Varchar(64)
clinic_location Longtext
created_at Timestamp
updated_at Timestamp
3.4.1.9 PET_CLINICS
The presented table encompasses indispensable information concerning the pet stores
featured within the system. It incorporates the "id" field, serving as the primary key
within this table. Furthermore, this identifier can function as a foreign key in other
interconnected tables. Additionally, the "medicine_id" field within this table acts as a
foreign key, establishing a reference to the "medicines" table. The subsequent table
showcases all the fields encompassed within this specific entity.
29
3.5 INTERFACE
This section presents the use case scenario for the proposed system when a user visits
the website without having previously registered. In such cases, the user is restricted
from accessing all the features incorporated into the website. To gain access to these
features, the user must proceed to the Register section of the website and complete a
form to create a free account, which will be discussed in detail later. Once registered,
the user can log in using their email and password. Upon successful authentication,
the user is granted unrestricted access to the website and can explore and utilize all
the available resources.
Start
Yes No
Have an account
Login Signup
Submit
End
30
When a user registers in the system and intends to log in to the website, they are
assigned one of three distinct roles: Guest, User, or Admin. Each role encompasses
different capabilities and privileges within the website. The subsequent chapter will
provide a comprehensive analysis of each role, exploring their respective
functionalities in detail. Additionally, a login flowchart is presented below to illustrate
the sequential steps involved in the login process.
Guest Admin
Create posts
Approve or
delete posts
User
Figure 3 – 3: Roles
3.6 POST
Once users are registered on the website, they have the ability to create posts.
However, before these posts are made publicly available, they must undergo an
approval process by the administrator. The following flowchart illustrates the
sequential steps involved in this process.
31
Start
User
Submit
No Approved by Yes
admin
Post Post
discarded available
publicly
End
32
Figure 5 - 3: Conceptual ER Diagram 1
33
3.8 PHYSICAL ER DIAGRAM
The following is a physical er diagram of the database shown earlier in the previous
pages. It shows the primary and foreign keys as well as the data types of each field.
34
CHAPTER FOUR
RESULTS AND DISCUSSIONS
The home page encompasses five distinct sections, which will be comprehensively
discussed in subsequent sections.
35
4.2.2 PRODUCTS
This section of the home page follows the image slider and presents a collection of
diverse animal products that are available on the website.
This section immediately follows the products section and serves as a gateway to
access the page dedicated to missing and stolen animals. On this page, users can view
the lost pets of other users and also have the option to post information about their
own lost pets if they have already registered within the system.
36
4.2.4 PET ADVICES
After the section regarding lost pets, the subsequent segment is dedicated to providing
advice. This section serves as a gateway to access the pet advices page, where users
can find valuable guidance and recommendations specifically tailored for pet owners.
4.2.5 POSTS
Subsequent to the advices section, there exists a dedicated segment where registered
users have the opportunity to share pictures and information of their cherished pets,
allowing them to showcase their adorable companions to other users. Users can
initiate this process by selecting the "add your pet" button and completing the
By default, users can access the website without the requirement of creating an
account, and they will be classified as guests. As guests, their access to website
features is limited. To enable full access to all features, a dedicated signup page is
available where users can provide the necessary information and register themselves.
This registration process allows users to unlock additional functionalities.
38
Subsequently, users can log in to the website by entering their credentials through the
login page.
Upon successful login, users are granted the ability to create posts by completing the "
"زیادکردنform. Following approval by the administrator, users have the option to edit
their posts using the " "گۆڕینform. Additionally, a detailed view of their posts can be
accessed through the " "پیشاندانform. In summary, the website offers three distinct
forms dedicated to post-related functionalities.
1. Add Information Form ()زیادکردن.
2. Edit Information Form ()گۆڕین.
3. Show Information Form ()پیشاندان.
39
Figure 8 - 4: Add Information Form
40
Figure 10 - 4: Show Information Form
This page is exclusively accessible to the administrator through a designated tab in the
navbar labeled "ئەدمین." This tab remains visible and accessible solely to the admin,
allowing them to navigate to the admin approval page. Within this page, the admin
holds the authority to approve or reject posts submitted by users. The admin approval
page is divided into two distinct sections, one dedicated to pet posts and the other to
lost pets posts.
Note: the remaining tabs in the navbar will be further elaborated on in subsequent
sections, providing a comprehensive overview of their functionalities and features.
41
Figure 12 - 4: Admin Page, Pet Posts
The aforementioned tab represents the section dedicated to pet posts in the admin
page. Similarly, the lost pet posts tab exhibits a similar design and layout.
This page encompasses essential information pertaining to lost pets, where users have
the capability to post details about their missing or stolen animals.
42
4.7 PET ADVICES PAGE
This page incorporates an embedded Google Map that displays the marked locations
of pet stores, clinics, and shelters available in Kurdistan.
43
4.9 PRODUCTS PAGE
This is the " "شوێنەکانtab in the navbar, which is a dropdown list featuring various pet
service facilities available in Kurdistan on the website, including pet stores, clinics,
and shelters.
44
4.10.1 PET STORES PAGE
This page displays the business cards of the pet stores featured on the website,
providing essential information about each store's contact details, location, and owner.
45
4.10.2 PET CLINICS PAGE
This page presents a digital business card for the pet clinics featured on the website,
offering essential information about each clinic's services, contact details,
veterinarian, and other pertinent details.
46
4.10.3 PET SHELTERS PAGE
This page provides essential information about pet shelters in Kurdistan, including
their geographical locations and contact details and a short video of the place. It
serves as a comprehensive resource for users seeking information about available pet
shelters in the region.
This page offers an introduction to the individuals involved in the development of this
project, providing background information about the team members and their
contributions. It aims to provide a contextual understanding of the project's creators
and their expertise.
47
48
Figure 23 - 4: About Us Page
49
4.11 FOOTER
Figure 24 - 4: Footer
50
CHAPTER FIVE
CONCLUSION AND FUTURE WORK
5.1 CONCLUSION
T his final year project aimed to address the lack of a comprehensive system for
providing information about pets and their owners in Kurdistan and Iraq,
where the population of pet owners is rapidly increasing. The main findings of
this study highlight the significance and benefits of implementing a web-based system
to serve as a centralized database for pets and their owners. By developing this
system, we have successfully achieved the objectives set forth in this study.
In summary, this project has successfully developed a web-based system that fulfills
the objectives of providing comprehensive pet information, promoting responsible pet
ownership, assisting in cases of missing animals, and addressing the growing issue of
stray animals. The implementation of this system has the potential to improve the
overall welfare of pets, strengthen the bond between owners and their companions,
and contribute to the development of a more compassionate and informed society in
Kurdistan and Iraq.
Based on the objectives of the study, several future works can be proposed to further
enhance the web-based project and address the needs of the target users. These future
works include:
51
3. Adding More Pet Services:
To meet the evolving needs of pet owners, the project should consider expanding its
range of services. This can include incorporating pet grooming services, veterinary
care information, pet training resources, and other related services that can help users
take better care of their pets.
In conclusion, the proposed future works for the web-based project aim to enhance its
functionality, usability, and reach. By designing a mobile application, expanding
language options, adding more pet services, improving current features, establishing
partnerships, and educating users, the project can effectively address the needs of pet
owners in Kurdistan and Iraq, promote responsible pet ownership, and contribute to
the welfare of animals in the region.
52
REFRENCES
1. Books:
i. Duckett, J. (2011). HTML & CSS: Design and Build Web Sites. John Wiley &
Sons. Preview available [Online]
ii. Duckett, J. (2014). JavaScript and jQuery: Interactive Front-End Web
Development. John Wiley & Sons. Preview available [Online]
iii. Duckett, J. (2017). PHP & MySQL: Server-side Web Development. John
Wiley & Sons.
2. Websites:
53