Project Report e Commerce Website Amity
Project Report e Commerce Website Amity
The process of purchasing goods and services from sellers over the Internet is
known as online shopping. Sellers have sought to market their items to
consumers who spend time online since the inception of the WWW(World
Wide Web). Shoppers may purchase comfortably from their own homes while
seated in front of the computer.
A person only has to log on to the Internet, visit the shopping website, and
choose the products he/she desires. The products are held in a virtual shopping
cart until the customer is ready to make his/her purchase. The shoppers can
remain in comfort of their homes as they does their shopping, and the process
can be conducted in anytime in the morning or late at night with little time.
Online stores almost never close.
HTML
CSS
PHP
MYSQL
FORMS
XAMPP
Keywords: HTML,CSS,PHP,MYSQL,FORMS,XAMPP.
LIST OF FIGURES
INTRODUCTION
An online shopping service that lets merchants to sell their wares to customers
who surfs onto the internet. Shoppers may purchase comfortably from their own
homes while seated in front of the computer.
The objective of this project is to create an online shopping website with data
base connectivity which could allow user to register onto the website and
facilitate user friendly, smooth interface to buy commodities.
The site is very convenient where the buyer can leisurely purchases the desired
products from home via internet on mobile or system.
HTML
HTML documents are downloaded from an internet server or locally saved files
by web browsers, who then transform them into multimedia sites. Initially,
HTML included visual clues for the document's appearance and logically
represented the structure of a web page.
JavaScript and other scripting languages can be inserted into HTML to run
programmes that modify the behaviour and content of web pages. CSS decides
how fabric is designed and how it is laid out. The world wide web consortium
(W3C), which previously maintained the HTML standards and now does the
same for the CSS standards, has pushed the use of CSS during the past decade.
CSS
Layout, colour, and font may all be separated from content using the style sheet
known as CSS. By specifying the relevant CSS in a separate.css file, this
separation can improve the accessibility of the content, give more flexibility and
control when defining presentational characteristics, and enable multiple sites to
share formatting. This separation can also reduce complexity and iteration in the
structural content and enable the.css file to be cached to speed up page load
times between the pages that share the file and its formatting.
The separation of formatting and content also makes it possible to provide the
same markup page in various rendering styles for various rendering methods,
including on-screen, in print, by voice (through a speech-based browser or
screen reader), and on Braille-based tactile devices. If the content is viewable on
a mobile device, CSS has formatting guidelines for different display types.
JS
Along with HTML and CSS, JavaScript is one of the fundamental technologies
of the World Wide Web. It is used client-side by over 97 percent of websites for
web page behaviour, frequently incorporating third-party libraries. Most web
browsers come with a specific JavaScript engine that can be used to execute the
code on the user's device.
The ECMAScript standard does not include any input/output (I/O) functions,
such as networking, storage, or graphics. In reality, the web browser or another
runtime system provides JavaScript APIs for I/O.
PHP
PHP can also be used for a wide range of programming activities unrelated to
the web, like the control of robotic drones and standalone graphical
applications. Direct execution of PHP code is also possible from the command
line.
MySQL
In addition to being available as free and open-source software under the terms
of the GNU General Public License, MySQL is also offered under a number of
proprietary licenses. Although MySQL has standalone clients that enable SQL
communication with a MySQL database, it is more typical for MySQL to be
used in conjunction with other programmes to build applications that need the
functionality of relational databases.
GitHub
000webhost
XAMPP
The Apache HTTP Server, MariaDB database, and interpreters for PHP and
Perl scripts are the main components of the Apache Friends-created XAMPP
cross-platform web server solution stack. Moving from a local test server to a
live server is simple because most real-world web server deployments employ
the same components as XAMPP.
Data Security
As of today, data security is one the prime concern of every user because if their
data is shared to an unauthorised user, there is a high chance of fraud. The
growth of hackers have led all the IT related companies to spend allot of money
on ensuring that the data of their users are safe.
In this project, we have used this hashing function on the user’s password, so
even if our database is hacked even then the hacker will not be able to steal the
user password as the password stored in database is in the hash code which
cannot be reversed/converted.
Error handling
Error handling is a technique used to alter the normal course of code execution
when an error or other exceptional circumstance arises. This situation is known
as an exception or error. Typically, when an exception is triggered, the
following occurs: - A predetermined(custom) error handler function will take
over code execution.
ANALYSIS
For instance, customers who visit a nearby (physically present) store must drive
there, find a parking space, and then browse the merchandise until they find
what they want to buy. After finding the items they want to purchase, they
might have to wait in lengthy lines at the cash register.
One merely needs to access the Internet, go to the shopping website, and select
the goods they want. Until the buyer is ready to make a purchase, the items are
kept in a virtual shopping cart. The consumers can remain in comfort of their
homes as they accomplishes their shopping, and the process can be completed at
anytime in the morning or late at night with minimal time. Almost never close,
online shops.
Chapter 3
DESIGN
We designed various paper drawings with web design abilities in mind, which
we would subsequently put into practise with the help of coding. All of the
crucial characteristics that we observed before when browsing other purchasing
websites were included in those designs. We also designed a form that users
will utilise to register for and login to our website. We built a number of pages
that would be connected together.
After finishing the layout of our website, we realised that we needed to create a
logo for it, so we learned how to do it using the canvas tool and made one for
our website.
Creating a design was very helpful for us, it helped us in visualizing the final
website and also acted as a model by which we would be developing the
webpages of our website. All these designs were later implemented with the
help of different languages such as HTML, CSS, JS, PHP, mySQL.
Chapter 4
IMPLEMENTATION
As there were three members in our group and all of us lives in different cities,
it was quite difficult for us to code the website all together as everyone would
be contributing. So, in order have our project smoothly running we found a
solution to our problem i.e. GitHub. We learnt the basics of GitHub and how the
push and pull requests works and later used these features to develop our
website.
To convert our paper designed model into an internet working website, we had
to learn languages such as the HTML and CSS. After learning HTML and CSS
we were able to build our static website with the help of VS Code text Editor.
The next task was to make this website mobile responsive, so in order to
achieve that we wrote different media queries for different screen sizes in the
CSS file.
After finishing up with the responsive design, next task was to learn JS and how
to interact JS with HTML on a web page. We wrote various lines of scripts and
embed it into the html file by the internal JS which included various functions
like onclick(), alert() and also created various user defined functions.
After finishing the project, it is always a dream of every person who learns web
development to have his website accessible by everyone just like we search
google.com. So, we found a website called 000webhost which allows to host a
website completely free of cost. So, we created an account on 000webhost and
hosted our PHP & mySQL website after going through some of the tutorials.
https://triad-e-commerce-site.000webhostapp.com/Triad/account.php