DOCUMENTION
DOCUMENTION
PROJECT
REPORT
ON
YEAR 2024-25
ABSTRACT
CONTENTS
1. INTRODUCTION
2. TOOLS AND TECHNOLOGIES
a) PHP
b) CSS
c) JAVASCRIPT
d) MySQL
e) XAMPP
f) PhpMyAdmin
3.APPLICATION AND
DESCRIPTION
4. DATABASE GUI DESIGN
a) Database
b) Customer Interface layout
5. IMPLEMENTATION
a) Description
b) Implementation of
functions 6.TESTING
a) Testing shopping cart
b) Customer checking
out 7.CONCLUSION
INDEX
SR. NO. CONTENT PAGE NO.
1 Introduction
1.1 Project Profile
2 Environment Description
2.1 Hardware & Software Requirements
2.2 Technology Used
3 System Requirement Specification
3.1 Data Dictionary
3.2 Feasibility Analysis
3.2.1 Economic Feasibility
3.2.2 Technical Feasibility
3.2.3 Behavioural Feasibility
3.3 E-R Diagram
3.4 Data Flow Diagram
OR
UML Diagrams(Class Diagram, Use Case Diagram,
Activity Diagram, Sequence Diagram)
4 Software Project Planning
4.1 Scope
4.2 Objectives
4.3 Expected Advantages
5 System Design
5.1 Input Design
5.2 Output Design
6 Software Testing
6.1 Introduction
6.2 Objectives
6.3 Levels of Testing
6.4 Test Cases
7 Limitation and System Enhancement
7.1 Limitation
7.2 System Enhancement
8 Bibliography
INTRODUCTION
PHP
PHP is a server-side scripting language that is used to develop Static
websites or Dynamic websites or Web applications. It is designed for web
development to implement dynamic web pages and can be embedded into
HTML for it to be displayed. Figure 2 demonstrates how the web server
operates.
Figure 2: Demonstrating how the web server Operates using PHP
CSS
CSS is simply referred to as Cascading Style Sheets.CSS is used to define
styles for web pages, including the design, layout, and variations in the
display for different de- vices and screen sizes.
The general structure of
p {text-align:
center; color: black;
font-family: arial}
CSS can be used in a separate style sheet or used in the webpage
<!DOCTYPE html>
<html lang=”en-US”>
<head>
<metacharset=”UTF-8”>
<link rel=”stylessheet” type=”text/css” href= “mystyle.css”/>
</head>
JAVASCRIPT
JavaScript is a high-level language which could be used independently or
inculcated into the webpage. It can be used to, handle requests and
responses and also add dynamic behavior and also store information on a
website.
MySQL
MySQL is a free source database system, and it enables the cost-effective
delivery of reliable and a high-performance and scalable Web-based and
embedded database applications. It is a relational database system(RDBMS).
It is a high performing program and scalable to meet the demands of users
and data. MySQL is written in C and C++, so it is compatible with most of the
operating systems available around the world.
XAMPP
XAMPP is an integrated development surrounding, which incorporates
Apache HTTP Server, MySQL Database, and PHP, Mercury, PERL or Python on
a home Windows based computer. Apache is a free web server. MySQL is an
open source database. XAMPP is used in collaboration with, PHP, MySQL and,
Windows 8 operating system.
PhpMyAdmin
PhpMyAdmin is a free and open source MySQL management program
application written in PHP and was first launched in 1998 under the GNU
preferred Public License. It is cross-platform help for the essential working
structures and helps management of more than one server. It supports most
MySQL capabilities and has an intuitive net interface. It additionally has
supports developing PDF graphics of data-base layout, importing information
from CSV and SQL formats as well as exporting records to various codecs
such as SQL, XML, PDF and, CSV.
APPLICATION AND DESCRIPTION
Overview of the Various Parts
This project has several parts to it, but the most essential are three listed in
Table 1.
Table 1: The overview of the three major parts of the shop
Administrators Customers User
Login access Login access Cannot login
Can add products Can add to cart Can add to cart
Can edit products Can edit product in Can edit product in
carts carts
Can view products Can checkout Cannot check out
Can delete customer None None
Admin register
The administrator needs to register before they can have access to the core data of the
shop.
Admin login
The admin logs in and can view, add products, manage customers.
Admin Edit
The Admin can make changes to the shop such as delete customers, add a customer or,
upload new products.
Manage Customer
The administrator has the authority to delete or add a customer.
Customer Detailed Attribute
sign up
This refers to registering as a customer. The registered member has a lot of privileges associated
with the shop when one becomes a customer.
Login
After the user has registered, the user becomes a customer, and he or she can log in with
their personal information.
View
The customer can see all the products in the catalog and able to look at the products and
some features on the homepage.
Edit
The customer can make changes to their data displayed on the customer page.
Update Cart
This refers to putting or removing products from a shopping cart.
Figure 5 is the use case diagram of the shop. One can see the
essential attributes associated with both Administrator and
Customers/Users.
Administrator Registration
The Administrator will use his particular data such as name, e-mail,
and password. After submitting the form, the html5 checks to see if
all the fields entered by the admin is correct. If the filed are not
correctly filed, or conditions are not met the admin remains on the
same page but if all requirements are met admin's information goes
to the database and saves the data in the "Admins" in the database.
After that, the administrator is directed to the admin webpage to log
in. The Figure shows below the administrator registration diagram.
Administrator Login
When the admin logs into the Administrators webpage the html5
checks to see if Condi tiions are met when logging in. If all the
information provided are correct, the data is sent to the database to
check if the data corresponds to the information used to register. If it
matches to the information provided by the Administrator, a page
opens, and the admin can have access to the administrator's
webpage if not the administrator is restricted from having access to
management webpage. The Figure shows the administrator log in
diagram.
Figure: Administrator Login diagram
The back-end module/Unit is used to manage the backend of the shop. This is only available to
the administrators. They can manipulate the shop to suit the conditions they have set for the
shop. They also make sure that customers have a good experience when visiting the shop
by updating products, deleting products, executing orders to ware- houses, and managing
customers.
DATABASE GUI DESIGN
Design for database and GUI application
Database
MySQL database is used to save software data for this project. MySQL is
relational database management, and it is free of charge. All of the
information’s kept in a select- editable, and every table has particular
range columns and rows. It has eight tables named as admins, brands,
cart, categories, customers, orders, payments and products.
Figure 12 shows the ER-diagram of the eight tables in the database.
Shopping Cart
shopping cart from time to time until they are done shopping. After
that, they can check out by clicking on the checkout button.
The Fashion shop was developed using PHP, MySQL, HTML and
CSS technology. Any consumer can browse products, add,
replace or delete a product from the cart.
The consumer can log in, with his information such as his email
and password. If the login does not go through, the user can
re-register or ask to change the password. After login, the
user can see the product in the cart and proceed onwards.
The product can be paid with PayPal. The administrator can
verify the order; However, the consumer can still look at the
orders in his or her account. The ordered price is saved in
the database.
FUTURE IMPROVEMENT