Professional Documents
Culture Documents
Dbms Last Hai
Dbms Last Hai
Bachelor of Engineering
in
Artificial Intelligence & Machine Learning
Submitted by
Harsh Singh
1BI20AI014
Prof. Sahana M.
Assistant Professor
Department of AI&ML, BIT
Bengaluru-560 004
This is to certify that the Database Management Systems mini project work entitled “Online
Clothes Shopping System” carried out by
USN Name
1BI20AI014 Harsh Singh
a bonafide student of V semester B.E. for the partial fulfillment of the requirements for the
Bachelor’s Degree in Artificial Intelligence & Machine Learning of the
VISVESVARAYA TECHNOLOGICAL UNIVERSITY during the academic year 2022-
23. It is certified that all corrections/suggestions indicated for Internal Assessment have been
incorporated in the report deposited in the departmental library. The mini project report has
been approved as it satisfies the academic requirements in respect of Mini Project work
prescribed for the said degree.
The knowledge & satisfaction that accompany the successful completion of any task
would be incomplete without mention of people who made it possible, whose guidance and
encouragement crowned my effort with success. I would like to thank all and acknowledge
the help I have received to carry out this mini project. I would like to convey my thanks to the
Principal Dr.Aswath.M.U and Head of Department Dr.Jyothi.D.G for being kind enoughto
provide the necessary support to carry out the mini Project.
I would also like to acknowledge the support I have received from the mini project
coordinators Prof. Sahana M and Prof. Shruthiba B for understanding the requirements to
be met at each phase of the mini project.
I would be very much pleasured to express my sincere gratitude to the friendly co-
operation showed by all the staff members of Artificial Intelligence and Machine Learning
Department, BIT.
ABSTRACT
Acknowledgement ............................................................................................................. i
Abstract ............................................................................................................................ ii
1. Introduction ................................................................................................................... 1
References
List of Figures
Fig Page
No. Description no.
4.1 ER Diagram 9
4.2 Schema Diagram of Online Clothes Shopping System 11
5.1 Home Page 14
5.2 Home Page 14
5.3 User Login Page 15
5.4 View of the Catalog Page 15
5.5 Cart Page 16
5.6 Payment Page 16
5.7 Update Item Page 17
5.8 Updated Items Page 17
5.9 Admin Login page 18
5.10 Admin Dashboard Page 18
Chapter 1
Introduction
System Analysis
Online cloths Ordering System also manage the Payment details online for Order
details, Confirm Order details, cloths Item.
• MYSQL is the language used to manipulate relational databases. It is tied closely with
the relational model. It is issued for the purpose of data definition and data
manipulation. Program runs as a server providing multi-user access to a number of
databases. MySQL is a multi threaded, multi-user SQL database management system
(DBMS). It includes facilities to add, modify or delete data from the database, ask
questions (or queries) about the data stored in the database and produce reports
summarizing selected contents.
• PHP is a scripting language originally designed for producing dynamic web pages. It
has evolved to include a command line interface capability and can be used in
standalone graphical applications. PHP is a general-purpose scripting language that is
especially suited for web development. PHP generally runs on a web server, taking
PHP code as its input and creating web pages as output. It can also be used for
command-line scripting and client-side GUI applications. PHP can be deployed on
most web servers, many operating systems and platforms, and can be used with many
relational database management systems. It is available free of charge, and the PHP
Group provides the complete source code for users to build, customize and extend for
their own use. PHP stores whole numbers in a platform-dependent range. This range is
typically that of 32-bit signed integers. PHP has hundreds of base functions and
thousands more from extensions. These functions are well documented on the PHP site.
In the below section, a brief overview of how the project is designed is given, including
the Entity Relation diagram and Schema diagram which describes the various attributes
used in the design and their types.
4.1 Database Design
The data in the system must be stored and retrieved from database. Designing the
database is part of system design.
Data elements and data structures to be stored have been identified at analysis stage.
Theyare structured and put together to design the data storage and retrieval system.
A database is a collection of interrelated data stored with minimum redundancy to
serve many users quickly and efficiently. The general objective is to make database
access easy, quick, inexpensive, and flexible for the user. Relationships are
established between the data items and unnecessary data items are removed.
Normalization is done to get an internalconsistency of data and to have minimum
redundancy and maximum stability. This ensures minimizing data storage required,
minimizing chances of data inconsistencies, and optimizing for updates. The MS
Access database has been chosen for developing the relevant databases
4.2 ER Diagram
An entity–relationship model is usually the result of systematic analysis to
define and describe what is important to processes in an area of a business. An E-R
model does not define the business processes; it only presents a business data schema in
graphical form. It is usually drawn in g r a p h ic a l form as boxes (entities) that are
connected by lines (relationships) which express the associations and dependencies
between entities.
An ER model can also be expressed in a verbal form, for example: one building
may be divided into zero or more apartments, but one apartment can only be located in
one building. Entities may be characterized not only by relationships, but also by
additional properties (attributes), which include identifiers called "primary keys".
Diagrams created to represent attributes as well as entities and relationships may be
called entity-attribute-relationship diagrams, rather than entity-relationship models.
Consequently, the ER model becomes an abstract data model defines data information
structure that can be implemented in database data or information structure that can be
implemented in a database, typically a relational database. The main components of ER
model are entity and relationship set. Here are the geometric shapes and their meaning
in an ER Diagram
Fig no: 4.1 is the ER diagram of “Online Clothes Shopping System” with entities
Admin_Login, Stock, Purchase, User, Feedback
4.2.1 ER Diagram
A database schema is the skeleton structure that represents the logical view of the entire
database. It defines how the data is organized and how the relations among them are associated.
It formulates all the constraints that are to be applied on the data. A database schema defines
its entities and the relationship among them. It contains a descriptive detail of the database,
which can be depicted by means of schema diagrams.
Entity
In a database management system (DBMS), an entity is a piece of data that is stored in the
database. An entity can be a person, place, thing, or even an event. There are two types of
entities in DBMS: strong and weak. For example: Admin_Login, Stock, Purchase, User
Attribute
An Attribute represents the properties of real-world objects that are relevant for the application
purposes. Attributes are associated with the concept of Entity, with the meaning that all the
instances of the entity are characterized by the same set of attributes. In other words, the entity
is a descriptor of the common properties of a set of objects, and such properties are expressed
as attributes.
Relationship
A Relationship represents semantic connections between entities, like the association between
an artist and his/her album, or between an artist and his/her reviews. The possible values are
one and many. Based on their maximum cardinality constraints, relationships are called
• "one-to-one", if both relationships roles have maximum cardinality 1,
• "one-to-many", if one relationship role has maximum cardinality 1 and the other
role has maximum cardinality N,
• "many-to-many", if both relationships roles have maximum cardinality N.
4.4 Implementation
PHP: Hypertext Pre-processor (or simply PHP) is a server-side scripting language designed for
web development, and also used as a general-purpose programming language. PHP code may
be embedded into HTML code, or it can be used in combination with various web template
systems, web content management systems, and web frameworks. PHP code is usually
processed by a PHP interpreter implemented as a module in the web server or as a Common
Gateway Interface (CGI) executable. The web server combines the results of the interpreted
and executed PHP code, which may be any type of data, including images, with the generated
web page. PHP code may also be executed with a command-line interface (CLI) and can be
used to implement standalone graphical applications. This project uses HTML as front-end
tool. Hypertext Mark-up Language (HTML) is the standard mark-up language for creating web
pages and web applications. With Cascading Style Sheets (CSS) and JavaScript, it forms a
triad of cornerstone technologies for the world wide web. Web browser 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
structural semantics for text such as headings, paragraphs, lists, links, quotes and other
items.HTML elements are delineated by tags, written using angle brackets. Browsers do not
display the HTML tags, but use them to interrupt the content of the page.
Fig 5.4 Indicates the MENS category in which the interested product can be added in the cart
Fig 5.6 Indicates the payment page in cart, in which they can complete the payment
Future Enhancement
[1] https://www.bizjournals.com/buffalo/stories/1997/12/22/smallb2.html
[4] https://getbootstrap.com