Professional Documents
Culture Documents
Saloniobw 180124181504 PDF
Saloniobw 180124181504 PDF
Project Report
On
ONLINE BOOK SELLING
Submitted
In partial fulfilment
For the award of the Degree of
BACHELOR OF TECHNOLOGY
In
COMPUTER ENGINEERING
This is to certify that the work, which is being presented in the project, entitled
“Online Book Selling” submitted by Ms. Saloni Bajaj, a student of fourth year (VII
Sem.) B.Tech. in Computer Engineering in partial fulfilment for the award of
degree of Bachelor of Technology is a record of student’s work carried out and
found satisfactory for submission.
1
Acknowledgement
We wish to express our deep sense of gratitude to our Project Guide Mr. Gajendra Kanungo,
CEO , Rana Web Tech, Jaipur for guiding us from the inception till the completion of the
project. We sincerely acknowledge him for giving his valuable guidance, support for literature
survey, critical reviews and comments for our Project.
We would like to first of all express our thanks to Dr. Arvind Agarwal, Chairman, AIET, for
providing us such a great infrastructure and environment for our overall development.
We express sincere thanks to Dr. RC Bansal, the Principal, AIET, for his kind cooperation
and extendible support towards the completion of our project.
Words are inadequate in offering our thanks to Mr. S S Shekhawat, Head, Department of
CSE, for consistent encouragement and support for shaping our project in the presentable
form.
We also express our deepest thanks to Mr. Bhrumdatt Bohra, Project Coordinator, for his
support in providing technical requirement and fulfilling our various other requirements for
making our project success.
We also like to express our thanks to all supporting CSE faculty members who have been a
constant source of encouragement for successful completion of the project.
Also our warm thanks to Arya Institute of Engineering and Technology, who provided us
this opportunity to carryout, this prestigious Project and enhance our learning in various
technical fields.
Saloni Bajaj
14EAICS140
2
Candidate’s Declaration
I hereby declare that the work, which is being presented in the Project entitled “Online Book
Selling” in partial fulfilment for the award of Degree of “Bachelor of Technology” in
Computer Engineering, and submitted to the Department of Computer Science &
Engineering, ARYA Institute of Engineering & Technology, Affiliated to Rajasthan
Technical University is a record of my own work carried out under the Guidance of Mr.
Gajendra Kanungo, CEO, Rana Web Tech
(Signature of Candidate)
Saloni Bajaj
14EAICS140
3
ABSTRACT
An online bookstore software projects that acts as a central database containing various books
in stock along with their title, author and cost. This project is a website that acts as a central
book store. This web project is developed using asp.net as the front end and sql as a back-end.
The sql database stores various book related details. A user visiting the website can see a wide
range of books arranged in respective categories. The user may select desired book and view
its price. The user may even search for specific books on the website. Once the user selects a
book , he then has to fill in a form and the book is booked for the user. Online Book Purchase
and Sales system is the open source web based project developed with PHP scripting language
and open source MYSQL database server. This web application provides huge database of
different book collections over the internet where any person can search interested books and
purchase it through different payment options where user can send a purchase order to
merchant online. User can register himself in the index webpage through registration link as
member or book provider both where he can add his personal books to our database for sell.
The optimization of this PHP project has done and works successfully without delay at the
server. In order to make our web site more attractive and user friendly, we introduced some
more features like–
Provide total information about each and every book and its user ratings by user reviews,
by author ratings.
Provides search engine options based on book type, book Author, Book Name, Publisher
name, cost of the book.
4
TABLE OF CONTENT
Certificate i
Acknowledgement ii
Candidate‟s Declaration iii
Abstract iv
Table of Content v
List of Abbreviations vi
List of Figure vii
List of Tables ix
SRS x
Chapter 1:Introduction 1
1.1 Purpose 1
1.2 About The Company 2
1.3 Overview 2
1.4 About The Technology 3
1.4.1 HTML 3
1.4.2 CSS 4
1.4.3 Javascript 4
1.4.4 PHP 5
1.4.5 Bootstrap 5
1.4.6 jquery 6
Chapter 2:Literature Survey 7
2.1 Existing 7
2.1.1 Disadvantages of existing system 7
2.2 Proposed System 8
Chapter 3:Feasibility Analysis 9
3.1 Technical Feasibility 9
3.2 Econominical Feasibility 10
3.3 Operational Feasibility 10
Chapter 4:Requirement Analysis 11
4.1 Introduction 11
4.1.1 Hardware Requirements Specifications 11
4.1.2 Software Requirements 11
4.1.3 Languages Used 11
Chapter 5:System Analysis and Design 12
5.1 Modules Description 12
5.1.1 Home Page 12
5.1.2 Sign In Page 12
5.1.3 Welcome Page 13
5.1.4 Select Product Page 13
5.1.5 Select search Page 13
5.2 Database Design 14
5
5.2.1 Login Table 14
5.2.2 Admin Table 14
5.2.3 Category Table 15
5.2.4 Sub Category Table 15
5.2.5 Enquiry Table 15
5.2.6 Message Table 16
5.2.7 Book Table 16
5.3 System Designs 17
5.3.1 ERD 17
5.3.2 DFD 18
5.3.3 UML Diagrams 21
Chapter 6:Sample Coding 24
6.1 Index.php 24
Chapter 7:Project snapshots 37
7.1 Home Page 37
7.2 Register 38
7.3 Sign In 38
7.3 User Panel 39
7.4 Inbox 39
7.5 Admin Login 40
7.6 Admin Panel 40
Chapter 8: Testing and Maintenance 41
8.1 Test Cases 41
8.2 Deployment and Maintenance 43
Conclusions 44
Summary 44
Future Scope of Application 44
References 45
6
LIST OF ABBREVATIONS
7
LIST OF FIGURES
S. No. Figure Description Page No.
3. 5.3.1 ERD 17
8
LIST OF TABLES
9
Software Requirement Specification
Chapter: 1
Introduction
The Bookshop Automation System is to automate all operations in a bookshop. Generally it
includes the Order Processing, Stock Management and Accounts Management. Before
automating a bookshop we have to understand the concept of automation. In automation of
any operation we make a system which do work automatically as the respective events occurs,
for which it is meant. There are the some common examples of the automation like that auto
pilot system in the aircraft, automatic home systems (electric system, water system, fire alarm
system, doors system etc). These are best examples of the automation systems. Here we are
try to develop such type system which is provide the automation on the any type of the
bookshop. That means a shop which has the type system which provides the facility to the
customers of the shop to purchase the books from the shop without any complexity. For
example any customer want to purchase any book from the shop than first of all customer just
choose the stream of the book than he/she can see the more then one type of books there and
than he/she can choose the specific book from there. And then purchase it by paying price on
bookshop cash counter and receives its invoice.
1.1 PURPOSE
Building an online book selling website provides an alternative means of ecommerce for
selling school books and vulnerable books for the students and remaining people. The system
also comes with a great benefit which is that it also provides an enquiry of books and also the
uploading and purchasing book with a single click on the button. It also provides the user to
enquire about the books through message.
The objective is to develop a fully functional online book selling website to allow student to
sell and buy books and obtain the full utilisation of the books. To further make the system
complete an enquiry system is put into place to determine if a buyer or up loader wants to
1
Online Examination Portal
interact with the admin or the user and providing the confirmation regarding the book to be
purchased or uploaded.
Rana WebTech is a renowned software and web development service provider. They provide
software development services to their clients, which incidentally marks their hallowed vision.
They are not just the service provider, but also serve as a web partner to their clients. They
operate and carry out tasks based on a set of business values and principles.
Analysis: After they receive details of your requirement, their professional analysts
examine your necessities. Their team of analysts understands your requirements, and
chalk out the steps to follow, to provide you with the best of solutions tailor made to
your needs, these are, Understanding of your business type, the current market
scenario, and the best practices involved in the technologies to serve your purpose.
These findings are necessary before we embark on your project. Their expert analysts
carry out this critical job.
2
Online Examination Portal
Design: As discussed with the clients, their designers work on the website design,
color, and customized templates that are creative and apt to meet their requirements.
Meanwhile, clients can come up with new ideas and modifications that is, before it
move to the next phase. Throughout the process, all related aspects and strategies are
discussed threadbare and proceeded with, post the approval of the client
Building up content: A website without content is of no use. Besides designing
websites, Accuracy soft also employs experienced content developers who have a flair
for writing. They develop content of any type and for any industry, while meeting the
requirement of clients. The writing is included and highlighted with the SEO
keywords. Analysts are also available for checking the content, who corrects the
grammatical and spelling errors existing in the content, if any.
Coding and development: Now, it is the turn of Rana WebTech‟s developers and
programmers to continue with the encryption process. They put encoding messages
without touching the design and template of the website. The technical team also
creates suitable applications such as shopping carts, e-catalogues, administrator control
panels and others.
Testing: Automated and manual assessment is carried out in this step for integration,
scalability, resolution, cross-browser and various assessment tools utilized to try out
the applications
.
1.3 OVERVIEW OF THE PROJECT
The system will be a website where the users will come on and buy and sell their respective
books on the site. The system uses numerous technologies like HTML, CSS, PHP, JavaScript,
jQuery, Bootstrap, SQL amongst others to bring the whole project together.
HTML provided the basic framework for the pages. CSS was used for the styling and
designing the pages. JavaScript, Jquery. Bootstrap was mainly needed to allow the website to
be fully responsive. PHP and SQL were needed to allow the functionalities such as sessions
and allow database connectivity.
3
Online Examination Portal
1.4 ABOUT THE TECHNOLOGY
1.4.1 HTML
Hypertext MarkUp Language (HTML) is the main mark up language for creating web
pages and other information that can be displayed in a web browser. HTML is written in
the form of HTML elements consisting of tags enclosed in angle brackets (like <html>),
within the web page content. HTML tags most commonly come in pairs like <h1> and
</h1>, although some tags represent empty elements and so are unpaired, for example
<img>. The first tag in a pair is the start tag, and the second tag is the end (they are also
called opening tags and closing tags). In between these tags web designers can add text,
further tags, comments and other types of text-based content.
1.4.2 CSS
Cascading Style Sheets (CSS) is a style sheet language used for describing the presentation
semantics (the look and formatting) of a document written in a mark up language. CSS is
designed primarily to enable the separation of document content (written in HTML or a
similar mark up language) from document presentation, including elements such as the
layout, colors, and fonts. This separation can improve content accessibility, provide more
flexibility and control in the specification of presentation characteristics, enable multiple
pages to share formatting, and reduce complexity and repetition in the structural content
(such as by allowing for table less web design).
1.4.3 JAVASCRIPT
JavaScript (JS) is an interpreted computer programming language. It was originally
implemented as part of web browsers so that client-side scripts could interact with the user,
control the browser and alter the document content that was displayed. JavaScript is a
prototype-based scripting language with dynamic typing and has first-class functions. Its
syntax was influenced by the language C. JavaScript copies many names and naming
conventions from Java, but the two languages are otherwise unrelated and have very
different semantics.
4
Online Examination Portal
1.4.4 PHP
Java Server Pages (JSP) is a technology that helps software developers create dynamically
generated web page based on HTML, XML, or other document types. Released in 1999
by Sun micro system, JSP is similar to PHP, but it uses the Java programming language
To deploy and run Java Server Pages, a compatible web server with a servlet container,
such as Apache tomcat or NetBeans or Jetty, is required.
Architecturally, JSP may be viewed as a high-level abstraction of Java servlets JSPs are
translated into servlets at runtime; each JSP servlet is cached and re-used until the original
JSP is modified.
1.4.5 BOOTSTRAP
5
Online Examination Portal
1.4.6 JQUERY
6
Online Examination Portal
Chapter: 2
Literature Survey
2.1 EXISTING SYSTEM
Existing system is a manual one in which users is maintaining books to sell and buy above
mention. It is very difficult to manage the transaction and order of the books. Together it
doesn‟t allow the user to interact with the admin. It is very difficult to maintain the historical
data.
The whole process of transaction and ordering of the book. The order of books is totally
dependent on the seller and customer. The site manager is not responsible for the transaction.
The books enquiry can also be done by the user. The order of books can easily be done in this
site
7
Online Examination Portal
2.2 PROPOSED SYSTEM
This system is used for online advertising the books for sale and purchase. The user can
upload the pictures of book along with the price and little description. The enquiry system
has been added to this system. The chat messaging part like an email facility has been
encoded with the site.
This system provides the administrator with full-fledged facility of removing abusive
books or malicious users. It provides the administrator to add books, remove and contact
the user who have registered to the site. It takes care of authentication of the
administrator, user and guest user.
8
Online Examination Portal
Chapter: 3
Feasibility Analysis
3.1 INTRODUCTION
Worldwide flight tourism project feasibility. The main objective of the feasibility study is
to test the technical, operational and Economical feasibility for adding new modules and
debugging old running system.
All system is feasible if there are unlimited resources of infinite time.
There are three type of feasibility
Technical feasibility
Operational feasibility
Economic feasibility
10
Online Examination Portal
` Chapter: 4
Requirement Analysis
4.1 INTRODUCTION
For the successful development of any project, it is very necessary to study about all the
requirements of the project. This requirement may be related to resource, hardware, software,
functionalities, etc.
This requirement analysis is as important as the implementation of the project. The
requirement analysis basically emphasizes on the listing of the necessary requirements
required for the development of the project.
RAM : 512 MB
Hard disk : 5 GB
11
Online Examination Portal
Chapter : 5
Home page
Sign in page
Welcome page
Select Book page
Search Page
For new users signup is necessary to upload book. The „Sign in‟ option is provided on the
home page.
The register page prompts the user to enter their name, email address along with a username
and password. The page has validation features implemented to check the format of the email
and the format of the first and last names which should be text. The page also checks for the
new registrant to have a unique username by checking the database for a match against the
12
Online Examination Portal
existing usernames. It also checks the password typed. It re-verifies the password by re-
password method validation used in the page.
13
Online Examination Portal
5.2 DATABASE DESIGN
Table: 5.1 Log In Table
1. Id Int NotNull
3. Mobile Varchar(255)
14
Online Examination Portal
Table: 5.3 Category Table
15
Online Examination Portal
Table: 5.6 Message table
16
Online Examination Portal
5.3 SYSTEM DESIGNING
17
Online Examination Portal
5.3.2 DATA FLOW DIAGRAM
a) DFD Level-0
18
Online Examination Portal
b)DFD Level-1
19
Online Examination Portal
c) DFD Level-2
20
Online Examination Portal
5.3.3 UML DIAGRAMS
a) CLASS DIAGRAM
21
Online Examination Portal
b) USE-CASE DIAGRAM
22
Online Examination Portal
Chapter : 6
CODING
6.1 index.php
<?php
include('user_header.php')
?>
<!-- Start WOWSlider.com BODY section --> <!-- add to the <body> of your page -->
<div id="wowslider-container1">
<div class="ws_images"><ul>
</ul></div>
<div class="ws_bullets"><div>
<div class="ws_shadow"></div>
</div>
23
Online Examination Portal
<script type="text/javascript" src="engine1/script.js"></script>
</div>
</div>
<body>
<div class="new-collections-grids">
<div class="new-collections-grid1-image">
<div class="new-collections-grid1-image-pos">
</div>
<div class="new-collections-grid1-right">
<div class="rating">
<div class="rating-left">
24
Online Examination Portal
<img
src="images/2.png" alt=" " class="img-responsive" />
</div>
<div class="rating-left">
<img
src="images/2.png" alt=" " class="img-responsive" />
</div>
<div class="rating-left">
<img
src="images/2.png" alt=" " class="img-responsive" />
</div>
<div class="rating-left">
<img
src="images/1.png" alt=" " class="img-responsive" />
</div>
<div class="rating-left">
<img
src="images/1.png" alt=" " class="img-responsive" />
</div>
</div>
</div>
</div>
<div class="new-collections-grid1-left
simpleCart_shelfItem">
<p><i>$325</i> <span
class="item_price">$250</span><a class="item_add" href="#">add to cart </a></p>
</div>
25
Online Examination Portal
</div>
<div class="new-collections-grid1-image">
<div class="new-collections-grid1-image-pos">
</div>
<div class="new-collections-grid1-right">
<div class="rating">
<div class="rating-left">
<img
src="images/2.png" alt=" " class="img-responsive" />
</div>
<div class="rating-left">
<img
src="images/2.png" alt=" " class="img-responsive" />
</div>
<div class="rating-left">
<img
src="images/1.png" alt=" " class="img-responsive" />
</div>
<div class="rating-left">
<img
src="images/1.png" alt=" " class="img-responsive" />
</div>
<div class="rating-left">
<img
src="images/1.png" alt=" " class="img-responsive" />
26
Online Examination Portal
</div>
</div>
</div>
</div>
<div class="new-collections-grid1-left
simpleCart_shelfItem">
<p><i>$280</i> <span
class="item_price">$150</span><a class="item_add" href="#">add to cart </a></p>
</div>
</div>
</div>
<div class="new-collections-grid1-image">
<div class="new-collections-grid1-image-pos
new-collections-grid1-image-pos1">
</div>
<div class="rating">
<div class="rating-left">
<img
src="images/2.png" alt=" " class="img-responsive" />
27
Online Examination Portal
</div>
<div class="rating-left">
<img
src="images/2.png" alt=" " class="img-responsive" />
</div>
<div class="rating-left">
<img
src="images/2.png" alt=" " class="img-responsive" />
</div>
<div class="rating-left">
<img
src="images/2.png" alt=" " class="img-responsive" />
</div>
<div class="rating-left">
<img
src="images/1.png" alt=" " class="img-responsive" />
</div>
</div>
</div>
<div class="new-one">
<p>New</p>
</div>
</div>
<div class="new-collections-grid1-left
simpleCart_shelfItem">
28
Online Examination Portal
<p><i>$580</i> <span
class="item_price">$550</span><a class="item_add" href="#">add to cart </a></p>
</div>
</div>
<div class="new-collections-grid-sub-grids">
<div class="new-collections-grid1-sub">
<div class="new-collections-grid1-
image">
<a href="single.html"
class="product-image"><img src="images/b7.jpg" alt=" " class="img-responsive" /></a>
<div class="new-collections-
grid1-image-pos">
<a
href="single.html">Quick View</a>
</div>
<div class="new-collections-
grid1-right">
<div class="rating">
<div
class="rating-left">
<img
src="images/2.png" alt=" " class="img-responsive" />
</div>
<div
class="rating-left">
<img
src="images/2.png" alt=" " class="img-responsive" />
</div>
<div
class="rating-left">
29
Online Examination Portal
<img
src="images/2.png" alt=" " class="img-responsive" />
</div>
<div
class="rating-left">
<img
src="images/2.png" alt=" " class="img-responsive" />
</div>
<div
class="rating-left">
<img
src="images/2.png" alt=" " class="img-responsive" />
</div>
<div
class="clearfix"> </div>
</div>
</div>
</div>
<h4><a href="single.html">Mathematics
Class XII</a></h4>
<div class="new-collections-grid1-left
simpleCart_shelfItem">
<p><i>$480</i> <span
class="item_price">$400</span><a class="item_add" href="#">add to cart </a></p>
</div>
</div></div>
<div class="new-collections-grid1-sub">
30
Online Examination Portal
<div class="new-collections-grid1-
image">
<a href="single.html"
class="product-image"><img src="images/b8.jpg" alt=" " class="img-responsive" /></a>
<div class="new-collections-
grid1-image-pos">
<a
href="single.html">Quick View</a>
</div>
<div class="new-collections-
grid1-right">
<div class="rating">
<div
class="rating-left">
<img
src="images/2.png" alt=" " class="img-responsive" />
</div>
<div
class="rating-left">
<img
src="images/1.png" alt=" " class="img-responsive" />
</div>
<div
class="rating-left">
<img
src="images/1.png" alt=" " class="img-responsive" />
</div>
<div
class="rating-left">
<img
src="images/1.png" alt=" " class="img-responsive" />
</div>
31
Online Examination Portal
<div
class="rating-left">
<img
src="images/1.png" alt=" " class="img-responsive" />
</div>
<div
class="clearfix"> </div>
</div>
</div>
</div>
<div class="new-collections-grid1-left
simpleCart_shelfItem">
<p><i>$280</i> <span
class="item_price">$150</span><a class="item_add" href="#">add to cart </a></p>
</div>
</div>
</div>
</div>
</div>
<div class="new-collections-grid1-image">
<div class="new-collections-grid1-image-pos">
32
Online Examination Portal
<a href="single.html">Quick View</a>
</div>
<div class="new-collections-grid1-right">
<div class="rating">
<div class="rating-left">
<img
src="images/2.png" alt=" " class="img-responsive" />
</div>
<div class="rating-left">
<img
src="images/2.png" alt=" " class="img-responsive" />
</div>
<div class="rating-left">
<img
src="images/2.png" alt=" " class="img-responsive" />
</div>
<div class="rating-left">
<img
src="images/1.png" alt=" " class="img-responsive" />
</div>
<div class="rating-left">
<img
src="images/1.png" alt=" " class="img-responsive" />
</div>
</div>
</div>
</div>
33
Online Examination Portal
<div class="new-collections-grid1-left
simpleCart_shelfItem">
<p><i>$180</i> <span
class="item_price">$120</span><a class="item_add" href="#">add to cart </a></p>
</div>
</div>
<div class="new-collections-grid1-image">
<div class="new-collections-grid1-image-pos">
</div>
<div class="new-collections-grid1-right">
<div class="rating">
<div class="rating-left">
<img
src="images/2.png" alt=" " class="img-responsive" />
</div>
<div class="rating-left">
<img
src="images/2.png" alt=" " class="img-responsive" />
</div>
<div class="rating-left">
<img
src="images/2.png" alt=" " class="img-responsive" />
</div>
<div class="rating-left">
34
Online Examination Portal
<img
src="images/2.png" alt=" " class="img-responsive" />
</div>
<div class="rating-left">
<img
src="images/1.png" alt=" " class="img-responsive" />
</div>
</div>
</div>
</div>
<div class="new-collections-grid1-left
simpleCart_shelfItem">
<p><i>$340</i> <span
class="item_price">$257</span><a class="item_add" href="#">add to cart </a></p>
</div>
</div>
</div>
</div>
</div>
</div>
<?php include('footer.php')
35
Online Examination Portal
Chapter : 7
Project Snapshots
7.1 HOME PAGE
36
Online Examination Portal
7.2 REGISTER
7.3 LOG IN
37
Online Examination Portal
7.4 USER PANEL PAGE
38
Online Examination Portal
7.6 ADMIN LOGIN PAGE
40
Online Examination Portal
Table: 8.2 Test Case for Register Page
41
Online Examination Portal
8.1.3 LOG IN PAGE
The sign in is the page that the user to authenticate himself for the website and use
various resources and facilities
In the sign in page, the has to provide the username and password .
If he/she provides a valid detail , he/she is successfully logged in the site.
Some test cases are generated as under:
Table: 8.3 Test Case for Sign In Page
42
Online Examination Portal
The site as soon as hosted on the internet, the site becomes available to use .At first, when
the user opens the site in a pc, he/she has to sign up for the site.
After he/she has signed up successfully, he/she will be able to appear for the various
exams like VB, C, etc, he/she can maintain his/her account on the site.
43
Online Examination Portal
CONCLUSIONS
1. SUMMARY
The system was design in such a way that future modification can be done easily. The
following conclusions can be deduced from the development of the project:
2. FUTURE SCOPE
The development of this project surely prompts many new areas of investigations. This
project has wide scope to implement it in any ecommerce websites.
This project covers all functionalities related to Book Selling. Hence it can be
implemented anywhere else after minute in a click
The sharing facility will be available only to the logged in users.
We are also planning to provide the user with the facility to define different themes of
the apps and provide online chat system.
44
Online Examination Portal
REFERENCES
[1] The Unified Modeling Language Reference Manual - James Rumbaugh, Ivar
Jacobson, Grady Booch- Addison Wesley
[2] Database Management Systems-Third Edition (IE) - Raghu Ramakrishnan, Johannes
Gerkhe, Mc Graw Hill Edition.
[3] Software Engineering -K.K. Aggarwal and Yogesh Singh
[4] Web Enabled Commercial Application Development -Ivan Bayross
[5] Complete PHP Reference - www.w3schools.com
[6] Mahindra Student Portal - https://stportal.mahindras.org/
[7] Complete JavaScript Books Reference - https://jsbooks.revolunet.com/
45
Online Examination Portal