Final Report
Final Report
WEB DEVELOPMENT
Submitted by
GLA University
Mathura- 281406, INDIA
2020
DECLARATION
I hereby declare that the work which is being presented in the Industrial Training on
<Web Development =, in partial fulfilment of the requirements for Industrial
Training viva voce, is an authentic record of my own work carried under the
supervision of
<Internshala= from May 15,2020 to June 26, 2020.
Signature: Date:
Student Information:
Name: Sarvesh Kumar Sharma University Roll. No. 181500625
Mobile: +91 8853393394 Email: [email protected]
Project Information:
Title of
Project/Training/Task Web Development
Web Development Trainee
1. To understand the concepts of web
Role & Responsibility development.
2. practical implementation of learnt
technologies .
Hardware Requirements:
1. Processor Intel CORE i3 or above
2. RAM 4.0 GB Hard
3. Disk Drive 500 GB
Software Requirements:
Technical Details
Windows 7,8,10
HTML/CSS/Bootstrap.
Apache server/ WAMPSERVER
PHP 5.5.38 4 MySQL
Compiler: MSVC11 (Visual C++ 2012)
Training Implementation Fully Implemented
Details
Start Date:15th May 2020
Training Period End Date: 26 June 2020
Duration of Training (In Weeks): 6 Weeks
HTML / CSS
Bootstrap
SQL
PHP
I have learned the syntax and tags used in HTML and their working, CSS for
styling and decorating the created a webpage, Bootstrap for giving beautiful styles
and making responsive webpages. SQL Querying for getting data from structured
Database. After that I have learnt PHP as a backend technology. I have given tests
after the completion of every module.
I have done small project on end of each module related to that technology and a
final project in the end.
SYNOPSIS....................................................................................................................3
CERTIFICATE............................................................................................................5
ACKNOWLEDGEMENT...........................................................................................6
ABSTRACT..................................................................................................................7
1. INTRODUCTION.................................................................................................1
Organization Profile.................................................................................................1
1) Introduction:.....................................................................................................1
2) VISION:...........................................................................................................2
3) PARTENERSHIP............................................................................................2
Objective....................................................................................................................3
2. WEB DEVELOPMENT.......................................................................................4
Web-Site.....................................................................................................................5
Web Page...................................................................................................................6
3. TECHNOLOGIES................................................................................................8
Introduction to HTML.............................................................................................8
Introduction to CSS................................................................................................10
1) TYPES OF CSS.............................................................................................11
Introduction to BOOTSTRAP...............................................................................13
PHP..........................................................................................................................16
Wamp-Server..........................................................................................................18
1) FEATURES...................................................................................................18
2) USAGE..........................................................................................................18
Prerequisite:...........................................................................................................19
3) INSTALLATION..........................................................................................19
4) CONFIGURATION.......................................................................................20
Database...................................................................................................................22
SQL..........................................................................................................................22
1) QUERIES.......................................................................................................23
4. CONCLUSION....................................................................................................25
Outcomes.................................................................................................................25
Recommendation/Suggestions................................................................................26
5. PROJECT: E-STORE........................................................................................27
Introduction.............................................................................................................27
1) OBJECTIVE..................................................................................................27
2) SCOPE:..........................................................................................................27
3) TECHNOLOGIES USED:.............................................................................27
Technical Details.....................................................................................................28
Overall Description.................................................................................................28
A. DESCRIPTION..........................................................................................28
I. CONTEXT-LEVEL DIAGRAM:..................................................................30
II. DFD1:.........................................................................................................30
III. DFD2:.........................................................................................................31
a) HOME PAGE:...............................................................................................33
b) SIGNUP PAGE:............................................................................................34
c) LOGIN PAGE................................................................................................35
d) CONTACT US PAGE:..................................................................................35
f) SETTING PAGE...........................................................................................36
g) CART PAGE:................................................................................................37
h) SUCCESS PAGE:.........................................................................................37
Data management...................................................................................................38
i. DATA DESCRIPTION:................................................................................38
Conclusion...............................................................................................................39
BIBLIOGRAPHY.......................................................................................................41
REFERENCE BOOKS:............................................................................................41
REFERENCE WEBSITES.......................................................................................41
1. INTRODUCTION
Organization Profile
1) INTRODUCTION:
The platform, which was founded in 2010, started out as a WordPress blog that
aggregated internships across India and articles on education, technology and skill
gap. Internshala launched its online trainings in 2014. As of 2018, the platform had
3.5 million students and 80,000 companies.
1
Dept. of CEA, GLAU, Mathura
2) VISION:
skills & practical exposure through internships and online trainings with a vision of
world full of freedom and possibilities. A world where one can discover one9s
passion and turn it into their career. A world where your practical skills matter more
than your university degree. A world where you do not have to wait till 21 to taste
your first work experience (and get a rude shock that it is nothing like you had
imagine it to be). A world where you graduate fully assured, fully confident, and
3) PARTENERSHIP:
Internshala signed an MoU in 2017 with AICTE, the regulatory body governing
technical education in the country. As the official internship partner for AICTE,
Internshala is helping students in 10,000 colleges across India get an internship of
their dreams.
Apart from this, Internshala have also partnered with NPTEL and state level skill
development bodies like TASK (in Telangana), APSSDC (in Andhra Pradesh), and
ICTAK (in Kerala). With 2.5 Mn+ registered students, Internshala is just getting
started on our mission to equip each of the 30 Mn college students in India with
practical knowledge and skills so that they can build their dream careers.
While Internshala continue to help students from cities and metros, they have also
started concentrated efforts in smaller cities (and towns and villages subsequently) to
take the message of meaningful internships and trainings to youth there as well.
Historically, there is no dearth of talent in our Tier-2 or Tier-3 cities – Internshala just
need to bring awareness and opportunities to them if India were to reap true benefits
of its demographic dividend.
2
Dept. of CEA, GLAU, Mathura
Objective
3
Dept. of CEA, GLAU, Mathura
Downloaded by Hritik Sharma
Web-Development Web Development
2. WEB DEVELOPMENT
Web development is a broad term for the work involved in developing a web site for
the Internet (World Wide Web) or an intranet (a private network). Web development
can range from developing the simplest static single page of plain text to the most
complex web-based internet applications, electronic businesses, and social network
services. A more comprehensive list of tasks to which web development commonly
refers, may include web engineering, web design, web content development, client
liaison, client-side/side scripting, web server and network security configuration, and
e-commerce development. Among web professionals, "web development" usually
refers to the main non-design aspects of building web sites: writing markup and
coding. Most recently Web development has come to mean the creation of content
management systems or CMS. These CMS can be made from scratch, proprietary or
open source. In broad terms the CMS acts as middleware between the database and
the user through the browser. A principle benefit of a CMS is that it allows non-
technical people to make changes to their web site without having technical
knowledge.
For larger organizations and businesses, web development teams can consist of
hundreds of people (web developers) and follow standard methods like Agile
methodologies while developing websites. Smaller organizations may only require a
single permanent or contracting developer, or secondary assignment to related job
positions such as a graphic designer or information systems technician. Web
development may be a collaborative effort between departments rather than the
domain of a designated department. There are three kind of web developer
specialization: front- end developer, back-end developer, and full-stack developer.
4
Dept. of CEA, GLAU, Mathura
Downloaded by Hritik Sharma
Web-Development Web Development
Web-Site
A website may be accessible via a public Internet Protocol (IP) network, such as the
Internet, or a private local area network (LAN), by referencing a uniform resource
locator (URL) that identifies the site.
Websites have many functions and can be used in various fashions; a website can be a
personal website, a commercial website for a company, a government website or a
non- profit organization website. Websites are typically dedicated to a particular topic
or purpose, ranging from entertainment and social networking to providing news and
education.
All publicly accessible websites collectively constitute the World Wide Web, while
private websites, such as a company's website for its employees, and are typically a
part of an intranet. Web pages, which are the building blocks of websites, are
documents, typically composed in plain text interspersed with formatting instructions
of Hypertext Markup Language (HTML, XHTML).
They may incorporate elements from other websites with suitable markup anchors.
Web pages are accessed and transported with the Hypertext Transfer Protocol
(HTTP), which may optionally employ encryption (HTTP Secure, HTTPS) to provide
security and privacy for the user. The user's application, often a web browser, renders
the page content according to its HTML markup instructions onto a display terminal.
Hyperlinking between web pages conveys to the reader the site structure and guides
the navigation of the site, which often starts with a home page containing a directory
of the site web content.
5
Dept. of CEA, GLAU, Mathura
As of 2016 end users can access websites on a range of devices, including desktop
and laptop computers, tablet computers, smartphones and smart TVs. A web site
consists of web pages which are interconnected to each other and contain various data
and functionalities.
Web Page
A web page, or webpage, is a document that is suitable for the World Wide Web and
web browsers. A web browser displays a web page on a monitor or mobile device.
The web page is what displays, but the term also refers to a computer file, usually
written in HTML or comparable markup language.
Web browsers coordinate the various web resource elements for the written web page,
such as style sheets, scripts, and images, to present the web page. Typical web pages
provide hypertext that includes a navigation bar or a sidebar menu to other web pages
via hyperlinks, often referred to as links. On a network, a web browser can retrieve a
web page from a remote web server.
6
Dept. of CEA, GLAU, Mathura
On a higher level, the web server may restrict access to only a private network such as
a corporate intranet or it provides access to the World Wide Web. On a lower level,
the web browser uses the Hypertext Transfer Protocol (HTTP) to make such requests.
A static web page is delivered exactly as stored, as web content in the web server's
file system, while a dynamic web page is generated by a web application that is driven
by server- side software or client-side scripting. Dynamic website pages help the
browser (the client) to enhance the web page through user input to the server.
7
Dept. of CEA, GLAU, Mathura
3. TECHNOLOGIES
Introduction to HTML
HTML Hypertext Markup Language (HTML) is the standard markup 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
browsers receive HTML documents from a webserver or from local storage and
render them 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. It provides a means to create structured documents by denoting
structural semantics for text such as headings, paragraphs, lists, links, quotes and
other items.
HTML elements are delineated by tags, written using angle brackets. Tags such as
<img /> and <input /> introduce content into the page directly. Others such as
<p>...</p> surround and provide information about document text and may include
other tags as sub-elements. Browsers do not display the HTML tags, but use them to
interpret the content of the page.
HTML can embed programs written in a scripting language such as JavaScript which
affect the behaviour and content of web pages. Inclusion of CSS defines the look and
layout of content. The World Wide Web Consortium (W3C), maintainer of both the
HTML and the CSS standards, has encouraged the use of CSS over explicit
presentational HTML since 1997.
8
Dept. of CEA, GLAU, Mathura
Downloaded by Hritik Sharma
Web-Development Technologies
HTML markup consists of several key components, including those called tags (and
their attributes), character-based data types, character references and entity references.
HTML tags most commonly come in pairs like <h1> and </h1>, although some
represent empty elements and so are unpaired, for example <img>. The first tag in
such a pair is the start tag, and the second is the end tag (they are also called opening
tags and closing tags).
The following is an example of the classic Hello world program, a common test
employed for comparing programming languages, scripting languages and markup
languages. This example is made using 9 lines of code:
<!DOCTYPE html>
<html>
<head>
<title>This is a title</title>
</head>
<body>
<p>Hello world!</p>
</body>
</html>
(The text between <html> and </html> describes the web page, and the text between
<body> and </body> is the visible page content. The markup text "<title>This is a
title</title>" defines the browser page title.)
9
Dept. of CEA, GLAU, Mathura
Introduction to CSS
CSS Cascading Style Sheets (CSS) is a style sheet language used for describing the
presentation of a document written in a markup language. Although most often used
to set the visual style of web pages and user interfaces written in HTML and XHTML,
the language can be applied to any XML document, including plain XML, SVG and
XUL, and is applicable to rendering in speech, or on other media. Along with HTML
and JavaScript, CSS is a cornerstone technology used by most websites to create
visually engaging webpages, user interfaces for web applications, and user interfaces
for many mobile applications.
Separation of formatting and content makes it possible to present the same markup
page in different styles for different rendering methods, such as on-screen, in print, by
voice (via speech-based browser or screen reader), and on Braille-based tactile
devices. It can also display the web page differently depending on the screen size
or viewing
10
Dept. of CEA, GLAU, Mathura
Downloaded by Hritik Sharma
Web-Development Technologies
device. Readers can also specify a different style sheet, such as a CSS file stored on
their own computer, to override the one the author specified.
The CSS specification describes a priority scheme to determine which style rules
apply if more than one rule matches against a particular element. In this so-called
cascade, priorities (or weights) are calculated and assigned to rules, so that the results
are predictable. The CSS specifications are maintained by the World Wide Web
Consortium (W3C). Internet media type (MIME type) text/css is registered for use
with CSS by RFC 2318 (March 1998). The W3C operates a free CSS validation
service for CSS documents.
1) TYPES OF CSS :
</head>
</html>
External CSS: In this the CSS code is written on another page and is linked
to the HTML page. It is advantageous to use this type of styling as we can use
the same file to style various HTML pages. External CSS uses the
extension .css and is applied using the following syntax:
<html>
<head>
<link relation=” stylesheet” type=”css” href=”URL to
the page”>
11
Dept. of CEA, GLAU, Mathura
</head>
</html>
All the CSS style types are important but can be used in different situations.
Inline CSS is used when only small changes are to be done to the HTML tag and
the changes are to be reflected only to that specific tag
Internal CSS is used when the individual HTML pages have to be designed
differently. This also slows the page load system if the internal styling is long.
External CSS files are maintained to design multiple pages and use common styles
over various pages. It is useful as it helps in managing the resources in an easy
manner.
Both HTML and CSS are used to create a UI but CSS behaves like a makeup on the
face of an actress which makes her look even more beautiful than she is in reality, and
here is the difference:
12
Dept. of CEA, GLAU, Mathura
Downloaded by Hritik Sharma
Web-Development Technologies
Introduction to BOOTSTRAP
Bootstrap is a free and open-source front-end web framework for designing websites
and web applications. It contains HTML- and CSS-based design templates for
typography, forms, buttons, navigation and other interface components, as well as
optional JavaScript extensions. Unlike many web frameworks, it concerns itself with
front-end development only.
Bootstrap is the second most-starred project on GitHub, with more than 107,000 stars
and 48,000 forks.
Bootstrap, originally named Twitter Blueprint, was developed by Mark Otto and
Jacob Thornton at Twitter as a framework to encourage consistency across internal
tools. Before Bootstrap, various libraries were used for interface development, which
led to inconsistencies and a high maintenance burden. According to twitter developer
Mark Otto:
13
Dept. of CEA, GLAU, Mathura
<A super small group of developers and I got together to design and build a new
internal tool and saw an opportunity to do something more. Through that process, we
saw ourselves build something much more substantial than another internal tool.
Months later, we ended up with an early version of Bootstrap as a way to document
and share common design patterns and assets within the company.=
On August 19, 2013, Bootstrap 3 was released, which redesigned components to use
flat design, and a mobile first approach.
On October 29, 2014, Mark Otto announced that Bootstrap 4 was in development.
The first alpha version of Bootstrap 4 was released on August 19, 2015.
Bootstrap 3 supports the latest versions of the Google Chrome, Firefox, Internet
Explorer, Opera, and Safari (except on Windows). It additionally supports back to
IE8 and the latest Firefox Extended Support Release (ESR).
14
Dept. of CEA, GLAU, Mathura
Since 2.0, Bootstrap supports responsive web design. This means the layout of web
pages adjusts dynamically, taking into account the characteristics of the device used
(desktop, tablet, mobile phone).
15
Dept. of CEA, GLAU, Mathura
PHP
PHP is a server-side scripting language designed primarily for web development but
also used as a general-purpose programming language. Originally created by Rasmus
Lerdorf in 1994, the PHP reference implementation is now produced by The PHP
Development Team. PHP originally stood for Personal Home Page, but it now stands
for the recursive acronym PHP: Hypertext Pre-processor.
PHP code may be embedded into HTML or HTML5 markup, 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 software 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
16
Dept. of CEA, GLAU, Mathura
Downloaded by Hritik Sharma
Web-Development Technologies
code may also be executed with a command-line interface (CLI) and can be used to
implement stand-alone graphical applications.
The standard PHP interpreter, powered by the Zend Engine, is free software released
under the PHP License. PHP has been widely ported and can be deployed on most
web servers on almost every operating system and platform, free of charge.
The PHP language evolved without a written formal specification or standard until
2014, leaving the canonical PHP interpreter as a de facto standard. Since 2014 work
has gone on to create a formal PHP specification.
1) INSTALLING PHP:
i. Step 1: Download the files. Download the latest PHP 5 ZIP package from
www.php.net/downloads.php.
ii. Step 2: Extract the files.
iii. Step 3: Configure php.ini.
iv. Step 4: Add C: php to the path environment variable.
v. Step 5: Configure PHP as an Apache module.
vi. Step 6: Test a PHP file.
vii. Step 7: Or we can install Wamp which have inbuilt php, MySQLi, apache
server
17
Dept. of CEA, GLAU, Mathura
Wamp-Server
WampServer refers to a solution stack for the Microsoft Windows operating system,
created by Romain Bourdon and consisting of the Apache web server, OpenSSL for
SSL support, MySQL database and PHP programming language
Wamp 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.
WAMP is also cross-platform, which means it works equally well on Linux, Mac and
Windows. Since most actual web server deployments use the same components as
WAMP, it makes transitioning from a local test server to a live server extremely easy
as well.
1) FEATURES:
WAMP is regularly updated to the latest releases of Apache, MariaDB, PHP and Perl.
It also comes with a number of other modules including OpenSSL, phpMyAdmin,
MediaWiki, Joomla, WordPress and more. Self-contained, multiple instances of
WAMP can exist on a single computer, and any given instance can be copied from
one computer to another. WAMP is offered in both a full and a standard version
(Smaller version).
2) USAGE :
Officially, WAMP's designers intended it for use only as a development tool, to allow
website designers and programmers to test their work on their own computers without
any access to the Internet. To make this as easy as possible, many important security
features are disabled by default. WAMP has the ability to serve web pages on the
World
18
Dept. of CEA, GLAU, Mathura
Downloaded by Hritik Sharma
Web-Development Technologies
Wide Web. A special tool is provided to password-protect the most important parts of
the package.
WAMP also provides support for creating and manipulating databases in MariaDB
and SQLite among others. Once WAMP is installed, it is possible to treat a localhost
like a remote host by connecting using an FTP client. Using a program like FileZilla
has many advantages when installing a content management system (CMS) like
Joomla or WordPress. It is also possible to connect to localhost via FTP with an
HTML editor.
Prerequisite:
1. You should be running any of the Windows operating system.
2. If you have any other server running – like IIS – stop and disable it for WAMP to
function correctly.
3) INSTALLATION :
Step 1: Download the WampServer installer by choosing among 32-bits and 64-bits
version depending on what Windows you are running. Also, see the required
configuration of all the components.
Example: WampServer 2.2D has Apache 2.2.21, Php 5.3.10, MySQLi 5.5.20,
XDebug 2.1.2, XDC 1.5, PhpMyAdmin 3.4.10.1, SQLBuddy 1.3.3 and web Grind
1.0.
Step 2: Run the downloaded installer to initiate the setup. If the option of Run as
administrator is available, make use of it. Complete the setup by following all wizard
instructions until the end. WampServer will require around 200MB+ space on the disk
you install it. It9s recommended to install WAMP on C:/wampserver or C:/wamp,
though not mandatory.
Step 3: Start WampServer by clicking the shortcut icon created on your desktop.
Again, use Run as administrator if available. The icon appears in Windows
Notification Area (right-bottom) turning from Red to Orange to Green. Red denotes
that the server is inactive/disabled. Orange indicates the server is processing or
starting up. Green indicates the server is active and running.
http://localhost
19
Downloaded by Hritik Sharma
Web-Development Technologies
4) CONFIGURATION:
Once WampServer is installed, it9s time to configure the server environment as per your
requirements.
Activate the required Apache modules from Apache > Apache Modules (ticked
indicate enabled). httpd.conf, Apache error log and Apache access log files are also
available.
Enable all required PHP settings and extensions via PHP > PHP Settings and PHP >
PHP Extensions. It9s recommended for novice users to not modify the php.ini file
manually, instead operate it via the menu only. Logged PHP errors can be found at
PHP > PHP Error Log.
20
Dept. of CEA, GLAU, Mathura
21
Dept. of CEA, GLAU, Mathura
Database
Database management systems are often classified according to the database model
that they support; the most popular database systems since the 1980s have all
supported the relational model as represented by the SQL language. Sometimes a
DBMS is loosely referred to as a "database".
SQL
SQL Originally based upon relational algebra and tuple relational calculus, SQL
consists of a data definition language, data manipulation language, and data control
language. The scope of SQL includes data insert, query, update and delete, schema
creation and modification, and data access control.
22
Dept. of CEA, GLAU, Mathura
Downloaded by Hritik Sharma
Web-Development Technologies
Although SQL is often described as, and to a great extent is, a declarative language
(4GL), it also includes procedural elements. SQL was one of the first commercial
languages for Edgar F. Codd's relational model, as described in his influential 1970
paper, "A Relational Model of Data for Large Shared Data Banks." Despite not
entirely adhering to the relational model as described by Codd, it became the most
widely used database language. SQL became a standard of the American National
Standards Institute (ANSI) in 1986, and of the International Organization for
Standardization (ISO) in 1987. Since then, the standard has been revised to include a
larger set of features.
1) QUERIES:
The most common operation in SQL, the query, makes use of the declarative
SELECT statement. SELECT retrieves data from one or more tables, or expressions.
Standard SELECT statements have no persistent effects on the database.
23
Dept. of CEA, GLAU, Mathura
Queries allow the user to describe desired data, leaving the database management
system (DBMS) to carry out planning, optimizing, and performing the physical
operations necessary to produce that result as it chooses.
A query includes a list of columns to include in the final result, normally immediately
following the SELECT keyword. An asterisk ("*") can be used to specify that the
query should return all columns of the queried tables. SELECT is the most complex
statement in SQL, with optional keywords and clauses that include:
The FROM clause, which indicates the table(s) to retrieve data from. The
FROM clause can include optional JOIN subclauses to specify the rules for
joining tables. The WHERE clause includes a comparison predicate, which
restricts the rows returned by the query. The WHERE clause eliminates all
rows from the result set where the comparison predicate does not evaluate to
True.
The GROUP BY clause projects rows having common values into a smaller
set of rows. GROUP BY is often used in conjunction with SQL aggregation
functions or to eliminate duplicate rows from a result set. The WHERE clause
is applied before the GROUP BY clause.
The HAVING clause includes a predicate used to filter rows resulting from the
GROUP BY clause. Because it acts on the results of the GROUP BY clause,
aggregation functions can be used in the HAVING clause predicate.
The ORDER BY clause identifies which column[s] to use to sort the resulting
data, and in which direction to sort them (ascending or descending). Without
an ORDER BY clause, the order of rows returned by an SQL query is
undefined.
24
Downloaded by Hritik Sharma
Web-Development Technologies
4. CONCLUSION
Outcomes
After learn web development tools to create international standard websites by our own.
Following are the learning outcomes of the industrial training on web development.
25
Dept. of CEA, GLAU, Mathura
Recommendation/Suggestions
These are just some suggestions which may help directly to Internshala and indirectly
to students.
26
Dept. of CEA, GLAU, Mathura
5. PROJECT: E-STORE
Introduction
1) OBJECTIVE:
Online Shopping is the process whereby consumers directly buy goods and services
without any intermediary service over the internet. The goal of this website is to
develop an e-commerce store where product like smartphones can be bought from the
comfort of home through the Internet. However, for implementation purposes, this
paper will deal with an online shopping for smartphones. An E-store is a virtual store
on the Internet where customers can browse the catalog and select products of
interest. The selected items may be collected in a shopping cart. At checkout time, the
items in the shopping cart will be presented as an order. Usually, the customer will be
asked to fill or select a billing address, a shipping address, a shipping option.
The main goal of this website is to develop an easy to use web-based interface where
Customer can search for products (Smartphones), view a complete description of the
product and order the product.
2) SCOPE:
3) TECHNOLOGIES USED:
HTML
CSS
BOOTSTRAP
PHP
27
Dept. of CEA, GLAU, Mathura
DATABASE: MySQLi
Technical Details
Overall Description
A. DESCRIPTION:
28
Dept. of CEA, GLAU, Mathura
Online Shopping Master Page (Similar Master Page for Visitor, User and Admin)
Home Page
About Us Page
mobile Page
Cart Page
Contact Us
Settings page
Page
o Admin Page
o Login Page
o Register Page
System Requirements
DATA FLOW DIAGRAM Data Flow Diagrams show the flow of data from external
entities into the system, and from one process to another within the system. There are
four symbols for drawing a DFD: I. Rectangles representing external entities, which
are sources or destinations of data. II. Ellipses representing processes, which take data
as input, validate and process it and output it. III. Arrows representing the data flows,
which can either, be electronic data or physical items. IV. Open-ended rectangles or a
Disk symbol representing data stores, including electronic stores such as databases or
XML files and physical stores such as filing cabinets or stacks of paper. Figures
below are the Data Flow Diagrams for the current system. Each process within the
system is first shown as a Context Level DFD and later as a Detailed DFD. The
Context Level DFD provides a conceptual view of the process and its surrounding
input, output and
29
Dept. of CEA, GLAU, Mathura
Downloaded by Hritik Sharma
Web-Development project: E-Store
data stores. The Detailed DFD provides a more detailed and comprehensive view of the
interaction among the sub-processes within the system.
I. CONTEXT-LEVEL DIAGRAM:
II. DFD1:
30
Dept. of CEA, GLAU, Mathura
III. DFD2:
31
Dept. of CEA, GLAU, Mathura
32
Dept. of CEA, GLAU, Mathura
Anyone can view Online Shopping portal and available products, but every user must
login by his/her Username and password in order to purchase or order products.
Unregistered members can register by navigating to registration page. Only Admin
will have access to modify roles, by default developer can only be an 8Admin9. Once
user register site, his default role will be 8User9.
a) HOME PAGE:
The Home Screen will consist of screen were one can browse through the products
which we have on our website.
33
Dept. of CEA, GLAU, Mathura
b) SIGNUP PAGE:
34
Dept. of CEA, GLAU, Mathura
c) LOGIN PAGE:
d) CONTACT US PAGE:
35
Dept. of CEA, GLAU, Mathura
e) ABOUT US PAGE:
f) SETTING PAGE :
36
Dept. of CEA, GLAU, Mathura
g) CART PAGE:
h) SUCCESS PAGE:
37
Dept. of CEA, GLAU, Mathura
Data management
i. DATA DESCRIPTION:
USERS
ID PRIMERY KEY
NAME
EMAIL
PASSWORD
CONTACT
CITY
Products
ID PRIMARY KEY
NAME
PRICE
Table 3: Products Table
38
Dept. of CEA, GLAU, Mathura
USER Products
ID PRIMARY KEY
PRODUCTID
USERID
Table 4: Users Product Table
Query
ID PRIMARY KEY
NAME
EMAIL
MESSAGE
Table 5: Query Table
Conclusion:
The Internet has become a major resource in modern business, thus electronic
shopping has gained significance not only from the entrepreneur9s but also from the
customer9s point of view. For the entrepreneur, electronic shopping generates new
business opportunities and for the customer, it makes comparative shopping possible.
As per a survey, most consumers of online stores are impulsive and usually make a
decision to stay on a site within the first few seconds. <Website design is like a shop
interior. If the shop looks poor or like hundreds of other shops the customer is most
likely to skip to the other site. Hence, we have designed the project to provide the user
with easy navigation, retrieval of data and necessary feedback as much as possible. In
this project, the user is provided with an ecommerce web site that can be used to buy
books online. To implement this as a web application we used PHP as the
Technology. PHP has several advantages such as enhanced performance, scalability,
built-in security and simplicity.
A good shopping cart design must be accompanied with user-friendly shopping cart
application logic. It should be convenient for the customer to view the contents of
their cart and to be able to remove or add items to their cart. The shopping cart
application described in this project provides a number of features that are designed to
make the customer more comfortable.
This project helps in understanding the creation of an interactive web page and the
technologies used to implement it. The design of the project which includes Data
Model
39
Dept. of CEA, GLAU, Mathura
Downloaded by Hritik Sharma
Web-Development project: E-Store
and Process Model illustrates how the database is built with different tables, how the
data is accessed and processed from the tables. The building of the project has given
me a precise knowledge about how PHP is used to develop a website, how it connects
to the database to access the data and how the data and web pages are modified to
provide the user with a shopping cart application.
40
Dept. of CEA, GLAU, Mathura
BIBLIOGRAPHY
REFERENCE BOOKS:
REFERENCE WEBSITES.
1) http://www.w3schools.com/
2) http://msdn.microsoft.com/
3) http://agilemodeling.com/
4) https://trainings.internshala.com/web-development-training/
5) https://www.javatutpoint.com/
6) https://www.getbootstrap.com/
7) https://www.codeigniter.com/
8) https://www.stackoverflow.com/
9) https://www.fontawesome.io/
10) https://www.php.net/
11) Wikipedia
41
Dept. of CEA, GLAU, Mathura