Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 42

梧州学院

毕 业 论 文

论文题目 ONLINE SHOP FOR WOMEN (KIKI’S SHOP) _

学 院 大数据与软件工程学院______________

专 业 计算机科学与技术__________________

班 级 18 计算机科学与技术留学生班________

学 号 20180020113_______________________

学生姓名 IGIRANEZA CHRISTA BELLA_______________

指导教师 (签名)_______________________________

完成时间年月 2021 年 月
梧州学院
学士学位论文原创性声明

本人郑重声明:所呈交的论文是本人在导师的指导下独立进行研究所
取得的研究成果。除了文中特别加以标注引用的内容之外,本论文不包含
任何其他个人或集体已经发表或撰写的成果作品。对本文的研究所作出重
要贡献的个人和集体,均已在文中以明确方式表明。本人完全意识到本声
明的后果由本人承担。

论文作者签名:

日期:

Table of contents
CHAPTER 1 : General Introduction…………………………………………….5

1.1 Background of the


topic…………………………………………………..6
1.2 Overview of online shopping
…………………………………………….7
1.3 Software Requirement Operating System………………………...………
7
1.4 System Analysis and Design……………………………………….……7
1.5 System
Analysis…………………………………………………………..8
1.6 Objectives of the study……………………………………………………
8
1.7 Problem Formulation…………………………………………..…………8
1.8 Function…………………………………………………………..………9
1.9 Performance Requirements………………………………………………9
1.9.1 Analysis…………………………………………………………………..9
CHAPTER 2 Related technologies
…………………………………………….11

2.0 HTML……………………………………………………………………...11

2.1 Introduction of the


HTML………………………………………………….11

2.1.1 E-Commerce Websites with HTML……………………………………..11

2.1.2 Benefits Of E-Commerce Businesses from HTML………………………


12

2.2 HTML Template in e-commerce…………………………………………..13

2.3 More Advanced


Technology……………………………………………….14

CHAPTER 3 Demand Analysis………………………………………………..15

3.1.1 CSS versions………………………………………..……………………16

3.1.2 The use of CSS…………………………………………………………..16

3.2 Solution of big Problems…………………………..………………………17

3.3 Multiple device comptability………………………………………………18

CHAPTER 4.0 JAVA SCRIPT INTRODUCTION…………..………………18

4.1 The use of java used in web development……………...………………….19

4.2 The use of the web development………………………….………………20

4.3 Creation of the java web application ……………………..……………….20

4.4 Special features of java useful in a web development……………………21

4.5 Conclusion …………………………………………….…………………21

CHAPTER 5.0 System Implementation………………………………………22


5.1 Data Base and Table………………………….............................................22

5.2 My SQL……………………………………………………………………23

5.3 Primary Key………………………………………………………………..24

CHAPTER 6 SYSTEM TEST……………………...………………………….24

6.0 PHP Introduction…………………………….…………………………….24

6.1 Introduction……………………………..……..…………………………..24

6.2.1 Is PHP good for e-commerce………….…….…………………………..25

6.2.2 Why PHP ………………………………….……………………………25

6.3 Using PHP with a database system……….……………………………….26

6.3.1 Setting up the MySQL database…………………...…………………….27

6.3.2 Table design……………………………………………………………..29

6.4 Use of the database in my website…………………………………………30

6.5 DATAFLOW DIAGRAM………………………..………………………..31

6.6 Interpretation of the result …………………………..…………………….36

6.7 The Problem of e-commerce………………………..……………………..37

6.7.1 The solution………………………………..…………………………….38

6.7.2 What are the objectives of e-commerce…………………….………….39

6.7.3 Conclusion………………………………………………………….…..39

CHAPTER 7 : SUMMARY OF THE PROJECT…………………………….40

7.1 SUMMARY………………………………………………………..……...40

7.2 BIBLIOGRAPHY Websites…………………………………………........40

7.3Acknowledgement………………………………………………………….41
概括
  如今,技术的使用已经得到了进步,各个领域的交流日益增多,它在我
国乃至世界的发展中发挥着重要的作用。
一般来说,现在大多数业务都是在线进行的,这就是为什么我专注于女士

的在线购物 ,例如以任何简单的方式获得她们的需求,通过使用网
络应用程序向我的客户提供商品可以轻松订购。 研究人员应用了一些技
术来获得更好的服务

KIKI’S SHOP

1. 1 ABSTRACT

Online classifieds are used to provide the customers with huge amount of
information.
This is a typical online store called KIKI’S SHOP that enables to browse the
firm's range of products services, view photos or images of the products, along
with information about the product specifications and prices, it will be helpful
especially for ladies to found their clothes, accessories and so on.
An easy way to buy a product just sitting in front of your computers by
registering into our site. This is to facilitate all people who are busy with their
works and have no time to get their desired goods. We are here to provide you
all the best and suitable places for sale. If once you register into our site, then
you are benefitted with our latest updates of the sales! This is used to advertise
the products with images. One can easily access to my website to get any kind
of information. Here the user is also facilitated to directly interact with the
consumer. He can get the desired product with different rates and quality. The
main goal is to provide the customer with various goods
Products for women’s just by sitting in front of a computer. A customer can get
the goods easily without moving from place to place. Consumers can also have
a chance of introducing their products not only in a single place but throughout
the world using online classifieds. This system allows the user to interact
directly just by sitting in front of the computer. Consumers have a chance of
comparing the product and purchase the desired one.
This document fully and formally describes the requirements of the proposed
said project system. It sets out the functional and non-functional requirements
and includes a description of the user interface and documentation and training
requirements.

CHAPTER 1 INTRODUCTION

1.1 Background
Online shopping is a form of electronic commerce where the buyer is
directly online to the seller's computer usually via the internet. There is
no intermediary service.
The sale and purchase transaction is completed electronically and
interactively in real-time such as Amazon.com for new accessories. If an
intermediary is present, then the sale and purchase transaction is called
electronic commerce such as online shopping. Proposed System:
The development of this new system contains the following activities,
which try to develop on-line application by keeping the entire process in
the view of database integration approach.

 Secure registration and profile management facilities for Customers.

 Browsing through the e-Mall to see the items that are there in each
category of products like dresses, women’s accessories, shoes, necklaces
etc.

 Creating a Shopping cart so that customer can Shoppe ‘n’ no. of items
and checkout finally with the
 Customers should be able to mail the Shop about the items they would
like to see in the Shop

 Updates to customers about the Recent Items in the Shop.

 Uploading ‘Most Purchased’ Items in each category of products in the


Shop dresses, ear rings accessories, necklaces accessories, and so on.

1. 2 Overview of online shopping


The central concept of the application is to allow the customer to shop
virtually using the Internet and allow customers to buy the items and
articles of their desire from the store. The information pertaining to the
products are stores on an RDBMS at the server side (store). The Server
process the customers and the items are shipped to the address
submitted by them. The application was designed into two modules first
OS for the customers who wish to buy the articles.
Second is for the storekeepers who maintains and updates the information
pertaining to the articles and those of the customers? The end user of this
product is a departmental store where the application is hosted on the web
and the administrator maintains the database. The application which is
deployed at the customer database, the details of the items are brought
forward from the database for the customer view based on the selection
through the menu and the database of all the products are updated at the
end of each transaction. Data entry into the application can be done
through various screens designed for various levels of users. Once the
authorized personnel feed the relevant data into the system, several
reports could be generated. Number of Modules the system after careful
analysis has been identified to be presented with the following modules:
1. Customer
2. Employee
3. Admin Module.

1. 3 SOFTWARE REQUIREMENTS Operating System

: Windows XP/7 or Linux User Interface : HTML, CSS Client-side


Scripting : JavaScript Programming Language : Java Web Applications :
JDBC, Servlets, JSP IDE/Workbench : My Eclipse 6.0 Database :
MYSQL Server Deployment : Tomcat 5.x Frame Work : Struts 1.x
HARDWARE REQUIREMENTS Processor : Pentium IV Hard Disk :
40GB RAM : 512MB or more

1. 4 SYSTEM ANALYSIS&DESIGN

Introduction Analysis is the focus of system developing and is the stage


when system designers have to work at two levels of definition regarding
the study of situational issues and possible solutions in terms of “what to
do” and “how to do”. System Study Definition of the system. A system is
an orderly grow upping of independent components linked together
according to a plan to achieve a specific objective. Its main characteristics
are organization, interaction, independent, integration and central
objective a system does not necessarily mean to a computer system. It
may be a manual system or any other names. Needs of the system Social
and economic factor: a wave of social and economic changes often
follows in the wake of the new technology. New opportunities may arise
to improve on a production process or to do something that was not
previously possible. Changes in the ways individuals are organized into
groups may then be necessary, and the new groups may complete for
economic resources with established units. Technological factor: people
have never before in a time when the scope of scientific inquiry was so
broad, so when the speed of applying the new technology accounts for
many changes in the organization. High level decisions and operating
processes: in response to technological, socio-economic factors, top level
managers may decide to recognize operations and introduce new
products. To deal with these needs, people commonly seek new modified
information to support the decision. When that happens, then they obtain
turn to a computer system for help the information users and data
processing specialist then work together to complete a series of steps in a
system study to produce output results to satisfy information needs.

1. 5 System analysis

System Analysis is a process by which we attribute process or goals to a


human activity, determine how well those purpose are being achieved and
specify the requirements of the various tools and techniques that are to be
used within the system if the system performances are to be achieved.
System planning for information systems has a time horizon and a focus
dimension. The time horizon dimension specifies the time range of the
plan, whereas the focus dimension relates whether the primary concern is
strategic, managerial, or operational.
Preliminary investigation the initial investigation has the objective of
determining the validity of the user’s request for a candidate system and
whether a feasibility study should be conducted. The objectives of the
problem posed by the user must be understood within the framework of
the organization’s MIS plan. I had investigated from the concerned
authority about the project Information gathering Key part of feasibility
analysis is gathering information about the present system. The analyst
must know what information to gather, where to find it, how to collect it,
and what to make of it. The proper use of tools for gathering information
is the key to successful analysis. The tools are the traditional interview,
questionnaires, and on-site observation

1. 6 Objectives of the study

This research is conducted to achieve different tasks such as:

Knowing how the customer perceive my website as a shopping


platform
 Analyzing the customer's perception on the use of English as
advertising in online shop

The traditional tools of data gathering have limitations. An English


narrative description is often vague and difficult for the user to grasp.
System flowcharts focus more on physical than on logical
implementation of the candidate system.

1. 7 PROBLEM FORMULATION

A problem is well defined very rarely. So the first task is to get more crucial
information. It clarifies how the problem is felt, how often it occurs, how it
affects the business and which departments are suffering with this. This phase
consists of the following tasks. This was a preliminary investigation done with a
view to have a “feel” of the working of the proposed system. This phase has
been identified the end-user directly involved in the system who were the
managers, assistant officer and database administrator, and the development
department. By understanding the working of database, its flow and also after
conducting meetings and interviews with the concerned persons of the
department, clear idea about the working was obtained. Short notes are
prepared based on the response of the customers. Detailed investigation is done
in order to define the scope of the problem. Questionnaire technique is
combined with the feedback of the customers to get the best result.

Proper care has been taken in the design of such questionnaires so that the
customers can ask and give a feedback or give a feedback by mailing that the
persons answering these questions do not feel hesitant. Observation technique is
also used for fact finding. The work described at the time is observed personally
ads it reduces the chances of misunderstanding and omissions. Some important
things observed are like the flow of information through the system and
important data transactions, the data being maintained and the frequency of their
updating. By the end of this phase, idea as to how the information enters the
system, how it is stored, how it is processed, how information changes affects
the working of the system and finally the output format required by the end-user
was collected. All the information generated from this phase acted as an input to
the next phase.

1. 8 FUNCTION
 Enable customer to buy online.
 Enable customer to easily browse through the products.
 Enable customer to search products.

 Allowing customers to post queries and discuss products and sell through us.
 Allow the businessman to manage the shop inventory.
 Allow the businessman to viewgraphs depicting previous sales etc.
 Allow the businessman to change the look and feel of the site with ease.
 Allow the shopkeeper to view different configuration options and update
them.

1. 9 PERFORMANCE REQUIREMENTS


1. The online shopping system for electronics item shop web application is
intended to provide complete solutions for the internet. It will enable vendors to
set up online shops, customer to browse through the shop and purchase them.

2. A powerful server: A large number of the html leaser dynamically generated.


This puts a lot of load on the server .It is imperative that server must be
powerful enough.

3. A good hard disk (fast and big) are essential for a shop
4. The shop must be well connected to the net by a good connection so that a
large number of customers can use the shop together.

1.9.1 ANALYSIS

In day to day life, we will need to buy lots of goods or products from a shop. It
may be food items, electronic items, house hold items, clothes, accessories etc.

Now a days, it is really hard to get some time to go out and get them by
ourselves due to busy life style or lots of works. In order to solve this, B2C E-
Commerce websites have been started. Using these websites, we can buy goods
or products online just by visiting the website and ordering the item online by
making payments online. This existing system of buying goods has several
disadvantages. It requires lots of time to travel to the particular shop to buy the
goods. Since everyone is leading busy life now a days, time means a lot to
everyone. Also there are expenses for travelling from house to shop. More over
the shop from where we would like to buy something may not be open
24*7*365. Hence we have to adjust our time with the shopkeeper’s time or
vendor’s time. In order to overcome these, we have e-commerce solution, i.e.
one place where we can get all required goods/products online. The proposed
system helps in building a website to buy, sell products or goods online using
internet connection. Purchasing of goods online, user can choose different
products based on categories, online payments, and delivery services and hence
covering the disadvantages.

Chapter 2 Related Technology

2.0 HTML

2.1 INTRODUCTION
Webpages are written in HTML - a simple scripting language. HTML is short
for Hypertext Markup Language. Hypertext is simply a piece of text that works
as a link.

Markup Language is a way of writing layout information within documents.


Basically an HTML document is a plain text file that contains text and nothing
else. When a browser opens an HTML file, the browser will look for HTML
codes in the text and use them to change the layout, insert images, or create
links to other pages. Since HTML documents are just text files they can be
written in even the simplest text editor. A more popular choice is to use a
special HTML editor - maybe even one that puts focus on the visual result
rather than the codes - a so-called WYSIWYG editor Some of the most popular
HTML edit, such as FrontPage or Dreamweaver will let you create pages more
or less as you write documents in Word or whatever text editor you're using.
However, there are some very good reasons to create your own pages - or parts
of them - by hand...

2.1.1E-Commerce Websites with HTML

Choppers cite numerous reasons for their online shopping preferences,


including that it saves them time, makes comparing prices easy, doesn't require
fighting through crowded stores and provides a larger variety of items to
purchase.

Businesses have two main options for selling goods online: run their own e-
commerce websites or sell their goods in an established online marketplace. To
run their own e-commerce sites, businesses need several critical services and
pieces of software. Among the most important are a web hosting service,
shopping cart software and a credit card processor.

Small businesses can take the simpler route of setting up a store in one of the
many online marketplaces, such as Amazon, eBay or Etsy.

Why HTML Is used in e-commerce?

HTML Is relevant because of its clear roles

Instead of being a general purpose programming language that has the potentiel
to do anything, HTML focuses on doing only two things: It holds the
content used on my website. It provides structure for That content.

2.1.2Benefits of E-Commerce Businesses from HTML

Finding stability in a world where it seems like a new technology is created


every day can be soothing. One piece of technology that has stood the test of
time and is used by every ecommerce store is HTML.
With a few exceptions, every single page you look at with a web browser is
powered by HTML. This makes it an important piece for your ecommerce store,
and one that hasn't changed much over the years.

2.1.3HTML is relevant because of its clear roles


One reason why HTML hasn't changed much is because it has had a crystal
clear role. Instead of being a general purpose programming language that has
the potential to do anything, HTML focuses on doing only two things:

1. It holds the content used on your website.


2. It provides structure for that content.
Of the two, the structure is the most important to an ecommerce store.
Ecommerce websites 2are constantly changing based on how customers are
browsing and buying. That means the ecommerce platform is having to update
and generate new content for all the HTML pages.

2.2 HTML templates in ecommerce

The structure your platform is using to facilitate this dynamic content doesn't
change much. This structure is defined in HTML, through HTML templates.

For example, a men's suits category page uses an HTML template and includes
the content about men's suits (e.g. materials, sizing, photos). On the women's
dresses category page, the platform will use the same HTML template but use
the other product's content.

This means that in the context of an ecommerce store, the structure and template
aspects of HTML are critical.

2.2.1 What is HTML used for in Web design?

HTML is the language for describing the structure of Web pages. HTML gives


authors the means to: Publish online documents with headings, text, tables, lists,
photos, etc. Retrieve online information via HyperText links, at the click of a
button.

2.2.2 How do I create a commercial website using HTML?


1. Learn the basics of HTML.
2. Understand HTML document structure.
3. Get to know CSS selectors.
4. Put a CSS stylesheet together.
5. Get Bootstrap.
6. Pick a design.
7. Customize your website with HTML and CSS.
8. Add content and images.

2.2.3 ADVANTAGES OF HTML

 HTML is widely used.


 Every browser supports HTML Language.
 Easy to learn and use.
 HTML is light weighted and fast to load.
 Do not have to purchase any extra software because it's by default in
every window.
 Easy to use.
 Loose syntax (although, being too flexible won't suits standards).

DISADVANTAGES OF HTML

 It cannot produce dynamic output alone, since it's a static language.


 Making of structure of HTML documents becomes tough to understand.
 Errors can be costly.
It is the time consuming as the time it consume to maintain on the colour scheme
of a page and to make lists, tables and forms. When building a complex page, at
some point you will be faced with the need to combine PHP and HTML to achieve
your needed results. At first point, this can seem complicated, since PHP and
HTML are two separate languages, but this is not the case. PHP is designed to
interact with HTML and PHP scripts can be included in an HTML page without a
problem. In an HTML page, PHP code is enclosed within special PHP tags. When
a visitor opens the page, the server processes the PHP code and then sends the
output (not the PHP code itself) to the visitor's browser. Actually it is quite simple
to integrate HTML and PHP. A PHP script can be treated as an HTML page, with
bits of PHP inserted here and there. Anything in a PHP script that is not contained
within <php> tags is ignored by the PHP compiler and passed directly to the web
browser. If you look at the example below you can see what a full PHP script
might look like:

Recommended usage:
<Head></head>
<body class="page_bg">
Hello, today is <php echo date ('l, F jS, Y') ;?>.
</body>
</html>

The code above is simply HTML, with just a bit of PHP that prints out
today's date using the built-in date function. As mentioned above, all of the
plain HTML in the code above will be ignored by the PHP compiler and
passed through to the web browser untouched.

See how easy that is? Integrating PHP and HTML is really very simple. Just
remember that at its core, a PHP script is just an HTML page with some PHP
sprinkled through it. If you want, you can create a PHP script that only has
HTML in it and no <php > tags, and it will work just fine.

2.3 More advanced techniques:


<html>
<head></head>
<body>
<ul>
<?php for($I=1;$I<=5;$I++){ ?>
<li>Menu Item <?php echo $I; ?></li>
<?php } ?>
</ul>
</body>
</html>

Chapter 3 Demand Analysis


CSS what is CSS? Cascading Style Sheets, fondly referred to as CSS, is a
simple design language intended to simplify the process of making web pages
presentable. CSS handles the look and feel part of a web page. Using CSS, you
can control the color of the text, the style of fonts, the spacing between
paragraphs, how columns are sized and laid out, what background images or
colors are used, as well as a variety of other effects. CSS is easy to learn and
understand but it provides powerful control over the presentation of an HTML
document. Most commonly, CSS is combined with the markup languages
HTML or XHTML. Advantages of CSS:

 CSS saves time - You can write CSS once and then reuse same sheet in
multiple HTML pages. You can define a style for each HTML element and
apply it to as many Web pages as you want.

 Pages load faster - If you are using CSS, you do not need to write HTML tag
attributes every time. Just write one CSS rule of a tag and apply to all the
occurrences of that tag. So less code means faster download times.

 Easy maintenance - To make a global change, simply change the style, and all
elements in all the web pages will be updated automatically.

 Superior styles to HTML - CSS has a much wider array of attributes than
HTML so you can give far better look to your HTML page in comparison of
HTML attributes.

 Multiple Device Compatibility - Style sheets allow content to be optimized for


more than one type of device. By using the same HTML document, different
versions of a website can be presented for handheld devices such as PDAs and
cell phones or for printing.

 Global web standards - Now HTML attributes are being deprecated and it is
being recommended to use CSS. So it’s a good idea to start using CSS in all the
HTML pages to make them compatible to future browsers.

3. 1. 1 CSS Versions:


Cascading Style Sheets, level 1 (CSS1) was came out of W3C as a
recommendation in December 1996. This version describes the CSS language
as well as a simple visual formatting model for all the HTML tags. CSS2 was
became a W3C recommendation in May 1998 and builds on CSS1. This version
adds support for media-specific style sheets e.g. printers and aural devices,
downloadable fonts, element positioning and tables. About this Tutorial: This
tutorial covers both versions CSS1 and CSS2 and teaches you CSS starting from
basic concepts to advanced concepts. So now start from next chapter and finish
it till end to become master in CSS.

3.1.2What are the uses of CSS?


CSS is used for defining the styles for web pages. It describes the look and
formatting of a document which is written in a markup language. It provides an
additional feature to HTML. It is generally used with HTML to change the style
of web pages and user interfaces.

It is easier to make the web pages presentable using CSS. It is easy to learn and
understand and used to control the presentation of an HTML document. CSS
helps us to control the text color, font style, the spacing between paragraphs,
sizing of columns, layout designs, and many more. It is independent of HTML,
and we can use it with any XML-based markup language.

It is recommended to use CSS because the HTML attributes are being


deprecated. So, for making HTML pages compatible with future browsers, it is
good to start using CSS in HTML pages.

There are several uses of CSS that are discussed as follows:

3.2Solves a big problem


Before CSS, tags like font, color, background style, element alignments, border,
and size had to be repeated on every web page. This was a very long process.

For example: If we are making a large website where fonts and color
information are required to add on every page, it will be a long process. CSS
was created to solve this problem. It was a W3C recommendation.

Saves a lot of time


CSS style definitions are saved in external CSS files, so it is possible to change
the entire website by changing just one file.

Provide more attributes


CSS provides more detailed attributes than plain HTML to define the look and
feel of the website.

Pages load faster


CSS does not require the writing of HTML tag attributes every time. There is
the writing of rule just once for a tag, which can be applied to all the
occurrences of the corresponding tag. So using CSS, there is less code, which
means faster downloading.

Easier Website maintenance


CSS makes the maintenance of the website easier. It plays an essential role in
website maintenance. If we require a global change in the file, it can be simply
done by changing the style by which all the elements on the web page will
update automatically. The CSS file provides a flexible look to the website,
which can be altered in a convenient way. It also makes HTML formatting and
modification of corresponding data elements easier.

3.4 Multiple device compatibility


CSS is compatible with the older language versions so that we can use CSS with
the earlier language versions. Because of this, if the CSS application is
developed with the older programming language versions and if the developer
combines the same with new improvements, then CSS can be easily
implemented with the corresponding changes so the developer can update the
existing code successfully. CSS allows the content to be optimized for more
than one type of device.

After discussing the uses of CSS, it is clear that CSS is very helpful to style
across different domains.

CHAPTER 4 System Architecture Design

It is not a programming language in strict sense. Instead, it is a scripting


language because it uses the browser to do the dirty work. If you
command an image to be replaced by another one, JavaScript tells the
browser to go do it. Because the browser actually does the work, you only
need to pull some strings by writing some relatively easy lines of code.
That’s what makes JavaScript an easy language to start with. But we
should not be fooled by some beginner’s luck: JavaScript can be pretty
difficult, too. First of all, despite its simple appearance it is a full-fledged
programming language: it is possible to write quite complex programs in
JavaScript. This is rarely necessary when dealing with web pages, but it is
possible. This means that there are some complex programming
structures that you’ll only understand after protracted studies. Secondly,
and more importantly, there are the browser differences. Though modern
web browsers all support JavaScript, there is no sacred law that says they
should support exactly the same JavaScript. A large part of this site is
devoted to exploring and explaining these browser differences and
finding ways to cope with them. So basic JavaScript is easy to learn, but
when you start writing advanced scripts browser differences (and
occasionally syntactic problems) will creep
Up.

Java is a commonly used language for web development, especially on


the server-side. Java web applications are distributed applications that run
on the internet. Web development with Java allows us to create dynamic
web pages where users can interact with the interface.

4.1 The use of java in web development

Because the internet is a fundamental component of modern life, the creation of


web applications is necessary for all.
From organizations to individuals Java is used for communication, performing
services, sharing content, and much more.

Java is a powerful, flexible, and widely used set of tools for web application
development, so it is a good language to learn if you are interested in web
development.

4.2 What Is Web Development?


Simply speaking, web development is the creation of content for use on the
World Wide Web. This content is hosted on web servers, which allow users to
access the content from any connected device via an internet connection.

Web development can be static; in other words, some simple web pages do not
change over time and are not interactive. These days, however, most web
development needs to be dynamic so that it changes to fit users’ current needs
and preferences.

Most web development involves the building of complex web applications. A


web application runs on the server and allows a web developer to use a
programming language (or scripting language) to create customizable, dynamic
content and services.

Java is one such programming language and was designed to create content for
the early World Wide Web. It has evolved into one of the best and most
comprehensive tools for the creation of enterprise websites, mobile applications,
and other server-side and client-side software technologies.
Java is an object-oriented language, which means that everything in the Java
programming language is an “object”; this allows Java web developers greater
flexibility to easily create custom code. Java code uses syntax that is similar to
the classic programming language C++, so it is easy for most software and web
developers to learn.

4.3 Creation of a Java Web Application


There are three main approaches to Java web development. The first approach is
to use a Java servlet, which is essentially a basic API (Application
Programming Interface) that provides bare-bones support to help web
developers create applications. The advantage of a servlet is that it allows
skilled programmers the flexibility and control they need to create the perfect
code for their Java web applications.

A second approach makes use of Java with JSF (Java Server Faces), which is a
more complex API that provides more tools, though with less room for
customization, than a servlet.

Alternatively, there are many Java frameworks (i.e. code snippets or templates)


that allow web developers to quickly create code for common tasks. This allows
Java developers to save a lot of time; instead of having to create new code for
each common task in their web applications, they can copy-and-paste existing
code that is guaranteed to work well.

For instance, a web application created using the spring framework will
automatically load, shut down, and operate in very little time. Because of
their ease of use and time savings, frameworks are the most widely used method
for creating Java technologies today, especially in Java web development using
these three main approaches, many java web application developers also opt to
use an IDE (Integrated Development Environment). An IDE is a special type of
software that provides an enhanced code editor, automated tools, and debugging
help.
4.4 Features of Java that are Useful In Web Development
Although you should keep in mind that Java is not the only choice for web
applications, many developers choose Java over other languages because they
consider Java to be the best programming language for use in web development.
After all, Java is well-established, flexible, and powerful. It is also popular, so it
is easy to find resources and help for Java web development.

One of the greatest features of Java is its platform independence. This means


that Java code can be run on any device, whether it’s a Mac or PC, regardless of
the operating system. Java can even be used for mobile applications that run
on phones or tablets. The Java web developer doesn’t have to do any extra work
to make their web applications available on all platforms.

Java also offers an extensive standard library, which provides tools to help web
application developers with common tasks such as input and output,
networking, and graphic user interfaces.

4.5 Conclusion
All in all, using Java for web application development is often a good choice,
whether you are a beginner or a more experienced web application or software
developer. The bottom line is that the possible uses of Java in web application
development are virtually endless. Indeed, more than 50 million websites use
Java for all types of services and dynamic content. That includes Java’s role in
online stores, search engines, content management systems, games, social
media networks, and advertising.
CHAPTER 5 System Implementation

What is Database? A database is a separate application that stores a collection


of data. Each database has one or more distinct APIs for creating, accessing,
managing, searching and replicating the data it holds. Other kinds of data stores
can be used, such as files on the file system or large hash tables in memory but
data fetching and writing would not be so fast and easy with those types of
systems. So nowadays, we use relational database management systems
(RDBMS) to store and manage huge volume of data. This is called relational
database because all the data is stored into different tables and relations are
established using primary keys or other keys known as foreign keys. A
Relational Database Management System (RDBMS) is a software that:

 Enables you to implement a database with tables, columns and indexes.

 Guarantees the Referential Integrity between rows of various tables.

 Updates the indexes automatically.

 Interprets an SQL query and combines information from various tables.


RDBMS Terminology: Before we proceed to explain MySQL database system,
let's revise few definitions related to database.

5.1. Database and table

 Database: A database is a collection of tables, with related data.

  Table: A table is a matrix with data. A table in a database looks like a simple
spreadsheet.

 Column: One column (data element) contains data of one and the same kind,
for example the column postcode.

 Row: A row (= tuple, entry or record) is a group of related data, for example
the data of one subscription.

 Redundancy: Storing data twice, redundantly to make the system faster.


 Primary Key: A primary key is unique. A key value cannot occur twice in one
table. With a key, you can find at most one row.

 Foreign Key: A foreign key is the linking pin between two tables.

 Compound Key: A compound key (composite key) is a key that consists of


multiple columns, because one column is not sufficiently unique.

 Index: An index in a database resembles an index at the back of a book.

5.2. My SQL
 Referential Integrity: Referential Integrity makes sure that a foreign key value
always points to an existing row MySQL Database: MySQL is a fast, easy-to-
use RDBMS being used for many small and big businesses. MySQL is
developed, marketed, and supported by MySQL AB, which is a Swedish
company. MySQL is becoming so popular because of many good reasons:

 MySQL is released under an open-source license. So you have nothing to pay


to use it.

 MySQL is a very powerful program in its own right. It handles a large subset
of the functionality of the most expensive and powerful database packages.
 MySQL uses a standard form of the well-known SQL data language.

 MySQL works on many operating systems and with many languages


including PHP, PERL, C, C++, JAVA, etc.

 MySQL works very quickly and works well even with large data sets.

 MySQL is very friendly to PHP, the most appreciated language for web
development.

 MySQL supports large databases, up to 50 million rows or more in a table.


The default file size limit for a table is 4GB, but you can increase this (if your
operating system can handle it) to a theoretical limit of 8 million terabytes (TB).

 MySQL is customizable. The open-source GPL license allows programmers


to modify the MySQL software to fit their own specific environments. MYSQL
TABLES CREATE TABLE IF NOT EXISTS `mst_result` ( `login` varchar(20)
DEFAULT NULL, `test_id` int(5) DEFAULT NULL, `test_date` date
DEFAULT NULL, `score` int(3) DEFAULT NULL ) ENGINE=InnoDB
DEFAULT CHARSET=latin1; -- -- Dumping data for table `mst_result` --
INSERT INTO `mst_result` (`login`, `test_id`, `test_date`, `score`) VALUES
('raj', 8, '0000-00-00', 3), ('raj', 9, '0000-00-00', 3), ('raj', 8, '0000-00-00', 1),

19. 19 ('ashish', 10, '0000-00-00', 3), ('ashish', 9, '0000-00-00', 2), ('ashish', 10,
'0000-00-00', 0), ('raj', 8, '0000-00-00', 0), ('ankur', 11, '0000-00-00', 0);
CREATE TABLE IF NOT EXISTS `mst_test` ( `test_id` int(5) NOT NULL
AUTO_INCREMENT, `sub_id` int(5) DEFAULT NULL, `test_name`
varchar(30) DEFAULT NULL, `total_que` varchar(15) DEFAULT NULL,
PRIMARY KEY (`test_id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1
AUTO_INCREMENT=12 ; -- -- Dumping data for table `mst_test` -- INSERT
INTO `mst_test` (`test_id`, `sub_id`, `test_name`, `total_que`) VALUES (8, 1,
'VB Basic Test', '3'), (9, 1, 'Essentials of VB', '5'), (10, 1, 'Creating User
Services', '5'), (11, 7, 'function', '5');

20. 20 CREATE TABLE IF NOT EXISTS `mst_user` ( `user_id` int(5) NOT


NULL AUTO_INCREMENT, `login` varchar(20) DEFAULT NULL, `pass`
varchar(20) DEFAULT NULL, `username` varchar(30) DEFAULT NULL,
`address` varchar(50) DEFAULT NULL, `city` varchar(15) DEFAULT NULL,
`phone` int(10) DEFAULT NULL, `email` varchar(30) DEFAULT NULL,

5.3 Primary key

PRIMARY KEY (`user_id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1


AUTO_INCREMENT=15 ; -- -- Dumping data for table `mst_user` -- INSERT
INTO `mst_user` (`user_id`, `login`, `pass`, `username`, `address`, `city`,
`phone`, `email`) VALUES (1, 'raj', 'raj', 'Rajen', 'limbed', 'limbdi', 9999,
'raj@yahoo.com'), (12, 'ashish', 'shah', 'ashish', 'laskdjf', 'S''nagar', 228585,
'ashish@yahoo.com'), (14, 'Dhaval123', 'a', 'a', 'a', 'a', 0, 'dhaval@yahoo.com');

CHAPTER 6 System Test

6.0 PHP INTRODUCTION

6.1 Introduction
PHP is a powerful language and the interpreter, whether included in a web
server as a module or executed as a separate CGI binary, is able to access files,
execute commands and open network connections on the server. These
properties make anything run on a web server insecure by default. PHP is
designed specifically to be a more secure language for writing CGI programs
than Perl or C, and with correct selection of compile-time and runtime
configuration options, and proper coding practices, it can give you exactly the
combination of freedom and security you need. As there are many different
ways of utilizing PHP, there are many configuration options controlling its
behavior. A large selection of options guarantees you can use PHP for a lot of
purposes, but it also means there are combinations of these options and server
configurations that result in an insecure setup. The configuration flexibility of
PHP is equally rivalled by the code flexibility. PHP can be used to build
complete server applications, with all the power of a shell user, or it can be used
for simple server-side includes with little risk in a tightly controlled
environment. How you build that environment, and how secure it is, is largely
up to the PHP developer. This chapter starts with some general security advice,
explains the different configuration option combinations and the situations they
can be safely used, and describes different considerations in coding for different
levels of security.

6.2.1Is PHP good for ecommerce?


It is an HTML embedded scripting language that enhances static pages with
functionality and the ability to generate on-demand responses, which makes
it an excellent tool for e-commerce. PHP is almost as ubiquitous on the web as
HTML, being present in 82.9% of websites that use a server-side programming
language.

PHP (or PHP Hypertext Preprocessor) is a server-side scripting language that is


used to create dynamic web pages that can interact with databases. It is a
Widely-used open source language that is specifically used for web application
development and can be embedded within HTML.

6.2.2 Why PHP?

The distinguishing feature of PHP is that the scripting code is executed on the
server, which generates HTML that is sent back to the client. The client receives
the result of executing the script without knowing the underlying code.
Developers can configure the web server to process all the HTML files
(containing the PHP script).
PHP course is easy to learn for any newcomer, but also offers advanced
programming features.

6.3 Using PHP with a database system

PHP, as a scripting language, is popular among web developers because of its


ability to interact with database systems including Oracle and MySQL.

This article discusses the use of PHP scripting language with the MySQL
database. Any website can require a variety of data or information to display
and to retrieve them from the database. This can include display of a simple list
to the running of the website based on data stored in the database.

Listed below are some examples where PHP and MySQL can be used together:

• Digital Ad banners, where the PHP script can be used to retrieve a digital
banner from the database, which then selects a random banner from its table
records and sends it back to the calling script. The PHP script can also maintain
a count of banner views and clicks from the website.

• Internet forums or digital boards, which use PHP and MySQL to store and
retrieve user messages.

• Website designing, where the design of an entire website can be changed using
a couple of PHP scripts, instead of changing and uploading each web page. The
PHP script can access the MySQL database to retrieve all information about the
web page.

6.3.1 Setting up the MySQL database


The procedure of setting up the MySQL database varies according to the host.
Every database would require a user name and password, in order to access the
database.

Database administration can be done using PHP scripts or using a program like
PHPMyAdmin.

The next step is to create the database tables for storing the website information.
Creating a database table using PHPMyAdmin is also simple. Alternatively, one
can create and configure the entire database using the following PHP script:

CREATE TABLE table name {

Fields

}
Where the Fields are coded as fieldname type (length) extra info

Example: first varchar (15) NOT NULL

The following command is used in the PHP script to connect to the MySQL
database:

mysql_connect (localhost, $username, $password);

6.3.2 Table design

A good database design is, therefore, one that: Divides your information into
subject-based tables to reduce redundant data. Provides Access with the
information it requires to join the information in the tables together as needed.
Helps support and ensure the accuracy and integrity of your information.
6.4 Use of Database in my website
Database applications are used to search, sort, filter and present information
based upon web requests from users. Databases can also contain code to
perform mathematical and statistical calculations on the data to support queries
submitted from web browsers.
1. SNAP SHOT Home Page

2.  Women Accessories


3. Gallery Page
4. SignUp Page
5. Women Dresses
 
6. 5 DATA FLOW DIAGRAM
6.6 INTERPRETATION OF THE RESULT
The system has been implemented and tested successfully .It meets the
information requirements specified to the great extent .although the system has
been designed keeping the present and future requirements in mind and made
very flexible. There are limitations of the system .proper consideration has been
given for a wide range of new enhancements. The system is developed user
friendly .In future, if it is required to generate reports other than provided by the
system it can be simply achieved by a separate module to the main menu
without affecting the design of the system.

6.6.1 ADVANTAGES:

(1) It simplifies the operation.

(2) It avoids a lot of manual work.

(3) Every transaction is obtained and processed immediately.

(4) Avoids errors by avoiding the manual work.

(5) User friendly screen to enter the data and enquire the database tables.

(6) Online help messages available to the operating system.

(7) User can easily access the system without much experience.

(8) Portable and flexible for further extensions.

6.6.2 CONCLUSION

The central concept of the application is to allow the customer to shop virtually
using the Internet and allow customers to buy the items and articles of their
desire from the store. The information pertaining to the products are stores on
an RDBMS at the server side (store).The Server process the customers and the
items are shipped to the address submitted by them. The application was
designed into two modules first Os for the customers who wish to buy the
articles. Second is for the storekeepers who maintains and updates the
information pertaining to the articles and those of the customers. The end user
of this product is a departmental store where the application is hosted on the
web and the administrator maintains the database. The application which is
deployed at the customer database, the details of the items are brought forward
from the database for the customer view based on the selection through the
menu and the database of all the products are updated at the end of each
transaction.
6.7 The problem of ecommerce

Deficient checkout processes are often singled out as the main cause, but many
other problems faced by e-commerce consumers could be behind it. Slow load
times, poor return policies, lack of customer warranties or absurd
requirements are among the problems that make online shopping difficult.

Low conversion rates and difficulties in attaining customers are just the tip of
the iceberg: running an ecommerce business comes with its own set of
challenges and issues that can damage the revenue, create financial losses and
even lead to a decline in reputation.

In this article, we will address the most common challenges of ecommerce and
provide practical solutions for each.

We will also:

 Put the challenges into perspective by looking at some e-commerce


growth figures
 Take a separate look at some of the emerging challenges in e-commerce
advertising
 Look into some trends and opportunities for the e-commerce industry in
2021

6.7.1 The solution

1. Look for signs of suspicious activity. This can be an unusually high


volume of orders or zip codes that do not match with a state or a city.
Always send an automated verification link for customers that sign up to
validate that the customer is genuine.
2. Make an automated call for a cash-on-delivery purchase. Then, ask
the buyer to validate the delivery address.
3. Use software solutions. These solutions should identify fraudulent
attempts by using multi-layered authentication. These programs have
features such as SSN verification, identity checks and instant
authentication, making it possible for your e-commerce business.

6.7.2 What are the objectives of ecommerce?


 Reduce management costs. ...
 Developing business relations. ...
 Providing a unique customer experience. ...
 Increasing the number of loyal customers. ...
 Boosting the efficiency of services. ...
 Developing relevant target. ...
 Making responsive ecommerce website. ..

6.7.3 Conclusion
Technology has made significant progress over the years to provide
consumers a better online shopping experience and will continue to do so for
years to come.  With the rapid growth of products and brands, people have
speculated that online shopping will overtake in-store shopping.  While this
has been the case in some areas, there is still demand for brick and mortar
stores in market areas where the consumer feels more comfortable seeing
and touching the product being bought.  However, the availability of online
shopping has produced a more educated consumer that can shop around with
relative ease without having to spend a large amount of time.  In exchange,
online shopping has opened up doors to many small retailers that would
never be in business if they had to incur the high cost of owning a brick and
mortar store.  At the end, it has been a win-win situation for both consumer
and sellers.
Dezyneecole

© 2021 SlideShare from Scribd

…..

CHAPTER 7 SUMMARY

7.1 SUMMARY
Online business such as eCommerce has emerged compared to the past
experience where any customer who wanted to get something had to move and
go to any shop for getting what was needed.

Nowadays customers can just visit a website login and get the godes without
moving for one place to another .

The website has offered an advantage to both customers as well as the owner of
the shop to efficiently manage the business and satisfies the customers at the
click of a button.

7.2 BIBLIOGRAPHY Websites


 http://www.google.com

 http://www.microsoft.com

 http://www.programmer2programmer.net

 http://www.codeproject.com

 http://www.msdn.com.

Recommended
Online shopping ecommerce java project
Tutorial Learners

Divya E-commerce Project


Dezyneecole

© 2021 SlideShare from Scribd

7.3 Acknowledgement

First and foremost, I would like to thank our Teachers who guided us in doing
these projects through this hard situation of the pandemic of the corona virus.
My advisor teacher who has been guiding me during my project and provided
me with invaluable advice and helped me. Her motivation and help contributed
tremendously to the successful completion of the project.
Besides, I would like to thank all my fellow classmate who helped me and who
has been discussing with me on the project.
Also I would like to thank my family especially my parents and friends for their
support. Without that support we couldn’t have succeeded in completing this
project.
I would like to thank my almighty God for giving me the energy and the health
for making up to here.

At last but not in least, I would like to thank everyone who helped and
motivated me to work on this project.

You might also like