Вы находитесь на странице: 1из 34

AN INNOVATING APPROACH OF BILL GENERATION FOR

CRAWLING OF ONLINE SHOPPING

CHAPTER 1
INTRODUCTION

There are some few super shops. Some of them are maintaining manual system,
but they are not in very much huge company but large super shops are maintaining Point
of Sale (POS) System. Every manual system has lacking and problems in their system.
In this age of IT, now itis no more possible to maintain manual systems in organization
moreover a super shop must use POS for quick access of data and for become faster in
service.

Initial investigation is the phase, where we will understand what we have to do in


this project. We will determine what about the project is? What the project need, what is
current status of the project and what are the problems with the current system. In this we
used strategies of several companies and generate a single solution.

Online shopping is the process whereby consumers directly buy goods or services
from a seller in real-time, without an intermediary service, over the Internet. It is a form
of electronic commerce. This project is an attempt to provide the advantages of online
shopping to customers of a real shop. It helps buying the products in the shop anywhere
through internet by using an android device. Thus the customer will get the service of
online shopping and home delivery from his favorite shop.

The objective of this is carried out in the internship is to make an application in


android platform to purchase items in an existing shop. In order to build such an
application complete web support need to be provided. A complete and efficient web
application which can provide the online shopping experience is the basic objective of the
project. The web application can be implemented in the form of an android application
with web view.

Page 1
AN INNOVATING APPROACH OF BILL GENERATION FOR
CRAWLING OF ONLINE SHOPPING

This system can be implemented to any shop in the locality or to multinational


branded shops having retail outlet chains. The system recommends a facility to accept the
orders 24*7 and a home delivery system which can make customers happy.

If shops are providing an online portal where their customers can enjoy easy
shopping from anywhere, the shops won’t be losing any more customers to the trending
online shops such as flipcart. Since the application is available in the smartphone it is
easily accessible and always available.

Page 2
AN INNOVATING APPROACH OF BILL GENERATION FOR
CRAWLING OF ONLINE SHOPPING

CHAPTER 2
COMPANY PROFILE

About Company
Mr. Manjunatha Narasimhaiah, founder of Sunsys Technologies had started its operations
in May 2006 as a Web Services and Solutions Company in Bangalore, India in May 2009
it has register as Sunsys Technologies (India) Pvt. Ltd. Our young & experienced team of
professionals continuously focuses on good quality and value for money which has
granted us reputation and respect. We are offering a complete range of web solutions in
the area of web design, website development, web hosting in windows and linux
platform, web site maintains and domain name registration. Sunsys Technologies (India)
Pvt. Ltd. have been creating striking, affordable, dynamic and practical websites for
organizations of all kinds. Sunsys Technologies has developed 600+ of websites for our
clients over the years. This wealth of experience has enabled quickly and accurately for
us to determine your business needs for web designing, website development, website
maintenance, and Linux hosting and E-MAIL SERVICES in Bangalore. We offer a wide
range of WEB consulting, website programming and web-development services and E-
mail services, helping businesses to compete successfully in an ever-changing
marketplace.
Vision
Customer satisfaction through professional service & reap the trust of worldwide clients.
Mission
To clearly understand our client's needs, provide the most effective solution and celebrate
success.
Services

 Web development
 SEO marketing
 Web design

Page 3
AN INNOVATING APPROACH OF BILL GENERATION FOR
CRAWLING OF ONLINE SHOPPING

 Web maintenance
 Software development
 CMS
 Search engine optimization
Technology
Sunsys Technologies (India) Pvt. Ltd. professionals specialize in below technologies and
Linux utilize their expertise in the following programming languages and tools.

Programming Language:

ASP, C#, HTML,CSS, XML,JSP,DBMS, Springs & Hibernate.


Below given few website URL List.

 http://www.databytesconsulting.in/
 http://www.robustherbals.com/
 http://www.suggikart.com/
 http://childfundindia.org/
 http://wudwalk.com
 http://refreshsprings.com/
 http://www.definitivestrategy.in/
 http://shuddhi.co.in/
 http://www.eleadlists.com/
 http://kleibm.org/
 http://www.citlindia.com/
 http://www.lifestyleequipments.com/
 http://thenewgeneration.in/
 http://carelaboratory.com
 http://www.sanwadiamondtools.com/
 http://emendhealthcare.com

Page 4
AN INNOVATING APPROACH OF BILL GENERATION FOR
CRAWLING OF ONLINE SHOPPING

CHAPTER 3
INTRODUCTION TO WEB TECHNOLOGY

Web technology refers to the means by which computers communicate with each
other using markup languages and multimedia packages. It gives us a way to interact with
hosted information, like websites. Web technology involves the use of hypertext mark up
language (HTML) and cascading style sheets (CSS).

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 (or just 'web apps') 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/server-side scripting, webserver 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.

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 kinds of web developer specialization: front-end developer,
back-end developer, and full-stack developer. Front-end developers deal with the layout
and visuals of a website, while back-end developers deal with the functionality of a
website. Back-end developers will program in the functions of a website that will collect
data.

Page 5
AN INNOVATING APPROACH OF BILL GENERATION FOR
CRAWLING OF ONLINE SHOPPING

3.1 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 web server 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 behavior 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.

3.1.1 FEATURES OF HTML

 It is a very easy and simple language. It can be easily understood and modified.
 It is very easy to make effective presentation with HTML because it has a lot
of formatting tags.
 It is a markup language so it provides a flexible way to design web pages along with
the text.

Page 6
AN INNOVATING APPROACH OF BILL GENERATION FOR
CRAWLING OF ONLINE SHOPPING

 It facilitates programmers to add link on the web pages so it enhances the interest of
browsing of the user.
 It is platform-independent because it can be displayed on any platform like Windows,
Linux and Macintosh etc.
 It facilitates the programmer to add Graphics, Videos, and Sound to the web pages
which makes it more attractive and interactive.

3.2 JSP Technology


JSP technology is used to create web application just like Servlet technology. It
can be thought of as an extension to servlet because it provides more functionality than
servlet such as expression language, jstl etc.
A JSP page consists of HTML tags and JSP tags. The jsp pages are easier to
maintain than servlet because we can separate designing and development. It provides
some additional features such as Expression Language, Custom Tag etc.

3.2.1 Advantage of JSP over Servlet

There are many advantages of JSP over servlet. They are as follows:

 Extension to Servlet
JSP technology is the extension to servlet technology. We can use all the features
of servlet in JSP. In addition to, we can use implicit objects, predefined tags,
expression language and Custom tags in JSP, that makes JSP development easy.
 Easy to maintain
JSP can be easily managed because we can easily separate our business logic with
presentation logic. In servlet technology, we mix our business logic with the
presentation logic.
 Fast Development: No need to recompile and redeploy
If JSP page is modified, we don't need to recompile and redeploy the project.
The servlet code needs to be updated and recompiled if we have to change the look
and feel of the application.

Page 7
AN INNOVATING APPROACH OF BILL GENERATION FOR
CRAWLING OF ONLINE SHOPPING

 Less code than Servlet


In JSP, we can use a lot of tags such as action tags, jstl, custom tags etc. that
reduces the code. Moreover, we can use EL, implicit objects etc.

3.2.2 Life cycle of a JSP Page

Fig 3.2.2 Lifecycle of a JSP Page


As depicted in figure 3.2.2, JSP page is translated into servlet by the help of JSP
translator. The JSP translator is a part of webserver that is responsible to translate the JSP
page into servlet. After that Servlet page is compiled by the compiler and gets converted
into the class file. Moreover, all the processes that happens in servlet is performed on JSP
later like initialization, committing response to the browser and destroy.

Page 8
AN INNOVATING APPROACH OF BILL GENERATION FOR
CRAWLING OF ONLINE SHOPPING

3.2.3 The JSP pages follow these phases:

 Translation of JSP Page


 Compilation of JSP Page
 Classloading (class file is loaded by the classloader)
 Instantiation (Object of the Generated Servlet is created).
 Initialization ( jspInit() method is invoked by the container).
 Reqeust processing ( jspService() method is invoked by the container).
 Destroy ( jspDestroy() method is invoked by the container).
3.2.4 Creating a simple JSP Page
To create the first jsp page, write some html code as given below, and save it by
.jsp extension. We have save this file as index.jsp. Put it in a folder and paste the folder in
the web-apps directory in apache tomcat to run the jsp page.

Index.jsp
Let's see the simple example of JSP, here we are using the scriptlet tag to put java code in
the JSP page.
<html>
<body>
<% out.print(2*5); %>
</body>
</html>
3.2.5 Steps to run a simple JSP Page
Following steps used to execute JSP page:

 Start the server.


 Put the jsp file in a folder and deploy on the server.
 Visit the browser by the url http://localhost:portno/contextRoot/jspfile e.g.
http://localhost:8888/myapplication/index.jsp.

Page 9
AN INNOVATING APPROACH OF BILL GENERATION FOR
CRAWLING OF ONLINE SHOPPING

3.2.6 Directory structure of JSP


The directory structure of JSP page is same as servlet. We contains the jsp page outside
the WEB-INF folder or in any directory (fig 3.2.6).

Fig 3.2.6 Directory structure of JSP

The fig 3.2.6 shows the directory structure of JSP in which web app is also called as
context root includes Web-INF, JSP, Static resources such as htmal, images,css etc.

3.3 INSTALLATION

 Information about Eclipse Development Tools for ABAP is available


at https://tools.hana.ondemand.com/#abap.
 Open the link above and click on Eclipse Luna.
 Choose correct Version to download. Before installation make sure you have latest
version of Java, information about required java version can be checked in the readme
folder of your downloaded zip file.

Page 10
AN INNOVATING APPROACH OF BILL GENERATION FOR
CRAWLING OF ONLINE SHOPPING

 Once you download the correct version and extract the ZIP file (fig 3.3.1), click on
Eclipse.EXE

Fig 3.3.1: Extracting eclipse zip file

The fig 3.3.1 shows extracting eclipse zip file in which we need to use this link
https://tools.hana.ondemand.com/#abap to download correct version of eclipse luna.
Once we download the correct version, extract the ZIP file click on Eclipse.EXE.

Fig 3.3.2: Eclipse Setup window

Page 11
AN INNOVATING APPROACH OF BILL GENERATION FOR
CRAWLING OF ONLINE SHOPPING

The fig 3.3.2 shows eclipse window is used for eclipse set up where the location
of the eclipse is stored in specific directory. Choose a place on your system, where you
would like to store Eclipse Projects and Hit Next. Click on ADD as shown in screenshot
after putting URL https://tools.hana.ondemand.com/luna.

Fig 3.3.3: Adding Repository to Eclipse

The fig 3.3.3 shows how to add repository to the eclipse by providing a Name to
the repository and add the specified location in the location box this location should
match to the location of the eclipse setup URL.

Page 12
AN INNOVATING APPROACH OF BILL GENERATION FOR
CRAWLING OF ONLINE SHOPPING

3.3.4: Window select development tools for SAP.

As shown in fig 3.3.4 this window helps in selecting the development tools this is done
by checking the SAP tools and Select ABAP Development Tools for SAP NetWeaver and click
Next. It includes details such as show only latest version of available software, group items by
category, show only software application to target environment, contact all update sites during
install to find required software.

Page 13
AN INNOVATING APPROACH OF BILL GENERATION FOR
CRAWLING OF ONLINE SHOPPING

Fig 3.3.5: Installation Details

As shown in fig 3.3.5 this window shows the installation details which is going to
be installed on verifying the name, version and ID and click the next button. The install
details includes the names such as ABAP business object tools, ABAP connectivity and
integration development tools, ABAP core development tools, ABAP development tools
for SAP HANA, ABAP development tools for web dynamo.

Page 14
AN INNOVATING APPROACH OF BILL GENERATION FOR
CRAWLING OF ONLINE SHOPPING

Fig 3.3.6: Review licenses page

As shown in fig 3.3.6 this window shows the license agreement of eclipse Luna
license must be reviewed and accepted before the software can be installed, the I agree,
button need to be checked for accepting the terms and license agreement or else check I
do not agree, button and click finish.

Fig 3.3.7: verifying installation


As shown in fig 3.3.7 Installation begins and at end we get above screen. You will
get eclipse installed, now you are good to play around.

Page 15
AN INNOVATING APPROACH OF BILL GENERATION FOR
CRAWLING OF ONLINE SHOPPING

CHAPTER 4
SYSTEM DESIGN

The existing system is not user friendly because the retrieval and storing of data is
slow and data is not maintained efficiently. Existing system requires lot of paper
work and even a small transaction require many papers fill. Moreover any unnatural
cause (such as fire in the organization) can destroy all data of the organization. Loss
of even a single paper led to difficult situation because all the papers are
interrelated. In existing system customer has to login for each shopping site to buy
some goods or services which is difficult.

In the Propose system we have multiple online shopping in a single site all item
will get in a single website and to provide access for different e-commerce website
in a single application. It provides flexibility for the user to compare the product
features among different carting websites. Providing a special feature for the admin
in order to dynamically add or remove the products. In proposed system admin has
advantage to change prices of product by comparing multiple online shopping sites.
It provides easy carting because in this we purchasing different products from
multiple online shopping sites and those are added into single cart which saves
time. And bill generated with registered customer name will be send to a registered
customer email in the form of pdf file.

Page 16
AN INNOVATING APPROACH OF BILL GENERATION FOR
CRAWLING OF ONLINE SHOPPING

4.1 SYSTEM ARCHITECTURE


The system architecture describes the overall structure of project which consist
modules describe various operations to be performed in the project.

Fig4.1.1: System architecture of online shopping.

The Fig 4.1.1 shows the system architecture of online shopping has two modules. One is
the user module and another one is admin module.
4.1 USER MODULE
This feature used by the user to login into system. A user must login with his user
name and password to the system after registration. If they are invalid, the user not
allowed to enter the system. User has two option either buy or add to cart. Username and

Page 17
AN INNOVATING APPROACH OF BILL GENERATION FOR
CRAWLING OF ONLINE SHOPPING

password will be provided after user registration is confirmed. Password should be


hidden from others while typing it in the field.
A user will have to register in the system before login process by providing
essential details in order to view the products in the system. The admin must accept a
new user by unblocking him. System must be able to verify and validate information.
The system must encrypt the password of the customer to provide security.

4.2 ADMIN MODULE


The administrator is the super user of this application. Only admin have access
into this admin page. Admin may be the owner of the shop. The administrator has all the
information about all the users and about all products. The administrator can add user,
delete user, view user. The administrator can add product, delete product and view
product. The administrator can manage the orders such as view and delete the orders. The
system must identify the login of the admin. Admin account should be secured so that
only owner of the shop can access that account.

The shopping cart project contains different kind of products. The products can be
classified into different categories by name. Admin can add new products into the
existing system with all its details including an image. Administrator can delete the
products based on the stock of that particular product. Admin will have a list view of all
the existing products. He can also search for a particular product by name. The admin will
have a list view of all the users registered in the system. Admin can view all the details of each
user in the list except password.

Page 18
AN INNOVATING APPROACH OF BILL GENERATION FOR
CRAWLING OF ONLINE SHOPPING

CHAPTER 5
SOFTWARE AND HARDWARE REQUIREMENTS
System requirements provide an obvious tool for evaluating the quality of a project.
These requirements specify the hardware and software components to be met in order to
start a project.
5.1 HARDWARE REQUIREMENTS
Processor : Pentium
Speed : 233 MHz
HardDisk : 4.2 GB
RAM : 128 MB

5.2 SOFTWARE REQUIREMENTS


Operating : SystemWindows
Language : JAVA(JSP,SERVLETS,JDBC).JDK 1.8
Backend : mysql
Server : Apache Tomcat 7.0
Front end : jsp

Page 19
AN INNOVATING APPROACH OF BILL GENERATION FOR
CRAWLING OF ONLINE SHOPPING

CHAPTER 6
EXPERIMENTAL RESULTS
These applications has been carried out using eclipse luna using jsp and following are
experimental results as shown below.

Fig 6.1: Index page of online shopping


As shown in Fig 6.1 index page main page of online shopping system which
includes option such as home, login, admin, register, contact. When we click on any of
these option it will navigate to particular page.

Page 20
AN INNOVATING APPROACH OF BILL GENERATION FOR
CRAWLING OF ONLINE SHOPPING

Fig 6.2: Customer registration page

The Fig 6.2 shows the customer registration page which includes details of
customer such as customer name, username, password, date of birth, gender, emailed,
phone no, address. Once the customer fill all details, when we click on submit button it
shows that customer has registered. Before user login they have to fill all details in
customer registration page.

Page 21
AN INNOVATING APPROACH OF BILL GENERATION FOR
CRAWLING OF ONLINE SHOPPING

Fig 6.3: Index page with user login option

The Fig 6.3 shows index page with user login option where it will navigate to user
login page. In this figure it includes the options such as home, login, administrator,
register. When user click on the login option it will move to next user login page.

Page 22
AN INNOVATING APPROACH OF BILL GENERATION FOR
CRAWLING OF ONLINE SHOPPING

Fig 6.4: User login page

The Fig 6.4 shows the User login page which includes the options such as user
name, password and two buttons such as submit and clear. If username and password is
incorrect the user cannot login. The password criteria should be of minimum of eight
character including numeric, alphabet and special character.

Page 23
AN INNOVATING APPROACH OF BILL GENERATION FOR
CRAWLING OF ONLINE SHOPPING

Fig 6.5: User home page

The Fig 6.5 shows the user home page when user login is successful, and it
includes the view option. The view option includes three sites such as Flipkart, Amazon
and Snap deal. This user home page includes option such as view to view multiple sites,
view purchased information of product and logout option to logout from the user home
page.

Page 24
AN INNOVATING APPROACH OF BILL GENERATION FOR
CRAWLING OF ONLINE SHOPPING

Fig 6.6: Flipkart page

The Fig 6.6. shows Flipkart page which includes the items of Flipkart and its
options. The flipkart page includes options such as home, search products, logout. It
includes search product option where user can search required products and logout option
to logout from flipkart page. Items of project includes option addtocart where user can
add the one or more products to cart , and buyitem option where user can directly buy
the products either by cash on delivery option or online payment. It includes viewitem
option to view all details of products.

Page 25
AN INNOVATING APPROACH OF BILL GENERATION FOR
CRAWLING OF ONLINE SHOPPING

Fig 6.7: Flipkart buy item page

The Fig 6.7 shows the purchase products page which includes information such
as item name, price, quantity, delivery date, mobile no, address. User need to fill all
details of product, once all details are satisfied click on buy item option then bill is
generated with customer name successfully.

Page 26
AN INNOVATING APPROACH OF BILL GENERATION FOR
CRAWLING OF ONLINE SHOPPING

Fig 6.8: Loading previous buyitem page

The Fig 6.8 shows that bill generated with name is sent to respective email. When
all details such as item price, name, quantity, delivery date, address are satisfied it will
generate bill with registered customer name and bill has been sent to your email.

Page 27
AN INNOVATING APPROACH OF BILL GENERATION FOR
CRAWLING OF ONLINE SHOPPING

Fig 6.9: Purchase product page of addtocart option.

The Fig 6.9 includes details of product such as item name, price, quantity,
customer name and also logout option to go back to previous page. When all details are
satisfied next click on the addtocart option to add one or more products.

Page 28
AN INNOVATING APPROACH OF BILL GENERATION FOR
CRAWLING OF ONLINE SHOPPING

Fig6.10: Loading purchase product page of addtocart option

The Fig 6.10 shows the loading purchase product page of addtocart option which
shows that product is added successfully to cart. And it includes the view cart option
where all products which are added to cart can viewed.

Page 29
AN INNOVATING APPROACH OF BILL GENERATION FOR
CRAWLING OF ONLINE SHOPPING

6.11: Viewcart page

The fig 6.11 shows viewcart page which shows number of products added to cart
and details of products such as product id, product name, product price, product quantity,
product total price, product customer name.

Page 30
AN INNOVATING APPROACH OF BILL GENERATION FOR
CRAWLING OF ONLINE SHOPPING

Fig 6.12: Product details page with bill generate option.

The Fig 6.12 shows the details of product which purchased by user such as as
product id, product name, product price, product quantity, product total price, product
customer name. When all details are correct next step is click on generate bill option in
order to generate the bill.

Page 31
AN INNOVATING APPROACH OF BILL GENERATION FOR
CRAWLING OF ONLINE SHOPPING

Fig6.13: Loading the Product details page with bill generate

The Fig 6.13 Loading the Product details page with bill generate which includes
information such as product name, price, quantity, total price. When all details are
satisfied click on generate bill option, it will generate bill with name successfully.

Page 32
AN INNOVATING APPROACH OF BILL GENERATION FOR
CRAWLING OF ONLINE SHOPPING

Fig6.14: Pdf file of bill generation.

The Fig 6.14 shows the pdf file of bill generation page, in which it shows that bill
generated in Filpkart site with user name madhu. And pdf file also includes details of
product such as id, item, price, quantity, name. and it also shows total amount of product.

Page 33
AN INNOVATING APPROACH OF BILL GENERATION FOR
CRAWLING OF ONLINE SHOPPING

CHAPTER 7
CONCLUSIONS
Online shopping is the process whereby consumers directly buy goods or services
from a seller in real-time, without an intermediary service, over the Internet. This is an
attempt to provide the advantages of online shopping to customers of a real shop. In this
system we have multiple online shopping in a single site all item will get in a single
website. After buying the item in online site bill (PDF format) has to send the mail. The
purpose of this project was to develop an application for purchasing items from online
and generate the bill in pdf format to the mail.

Page 34

Вам также может понравиться