Online Bookstore Management System
CHAPTER 1
INTRODUCTION
1.1 INTRODUCTION TO WEB TECHNOLOGY
Web development is a term that takes on different meanings depending on the audience and
context. In practice, web development requires people with complementary but distinct
expertise working together toward a single goal. Whereas a graphic designer might regard
web development as the application of good graphic design strategies, a database
administrator might regard it as a simple interface to anunderlying database. Software
engineers and programmers might regard web development as a classic software development
task with phases and deliverables, wherea systems administrator sees a system that has to be
secured from attackers. Withso many different classes of user and meanings for the term, it's
no wonder that web development is often poorly understood. Too often, in an effort to fully
cover oneaspect of web development, the other principles are ignored altogether,
leavingstudents without a sense of where their skills fit into the big picture.
A true grasp of web development requires an understanding of multiple perspectives. As you
will see, the design and layout of a website are closely related to the code and the database.
The quality of the graphics is related to the performance and configuration of the server, and
the security of the system spans every aspect ofdevelopment. All of these seemingly
independent perspectives are interrelated and therefore a web developer (of any type) should
have a foundational understanding of all aspects, even if they only possess expertise in a
handful of areas.
Dept of CSE, SaIT Page 1
Online Bookstore Management System
1.2 HISTORY OF HTML,CSS AND JS
Dedicated HTML books invariably begin with a brief history of HTML. Such ahistory
might begin with the ARPANET of the late 1960s, jump quickly to the first public
specificationof the HTML by Tim Berners-Lee in 1991, and then to HTML's codification by
the World Wide Web Consortium(better known as the W3C) in 1997. Some histories of
HTML might also tell stories about the Netscape Navigator and Microsoft Internet Explorer
of the early and mid-1990s, a time when intrepid developers working for the two browser
manufacturers ignored the W3C andbrought forward a variety of essential new tags (such as,
for instance, the <table>tag), and features such as CSS and JavaScript, all of which have been
essential to the growth and popularization of the web.
CSS is a W3C standard for describing the appearance of HTML elements.Another
common way to describe CSS's function is to say that CSS is used to define the presentation
of HTML documents. With CSS, we can assign font properties, colours, sizes, borders,
background images, and even position elements on the page. CSS can be added directly to
any HTML element (via the style attribute), within the <head> element, or, most commonly,
in a separate text file that contains only CSS.
JavaScript was created by Brendan Eich in 1995 during his time at Netscape
Communications. It was inspired by Java, Scheme and Self.JavaScript has become the de-
facto standard programming language of the Web, not only because of its first-mover
advantage, but because it is open, standardized, and, most importantly a very good language;
well-suited to the Web with its dynamic nature and tight integration with the DOM.
1.3 HISTORY OF PHP AND MySQL
PHP is an "HTML-embedded scripting language" primarily used for dynamic Web
applications. The first part of this definition means that PHP code can be interspersed with
HTML, making it simple to generate dynamic pieces of Web pages on the fly. As a scripting
language, PHP code requires the presence of the PHP processor. PHP code is normally run in
plain-text scripts, that will only run on PHP-enabled computers (conversely programming
languages can create standalone binary executable files, a.k.a. programs). PHP takes most of
its Syntax from C, Java, and Perl. It is an open source technology and runs on most operating
systems and with most Web servers. PHP was written in the C programming language by
Rasmus Lerdorf in 1994 for use in monitoring his online resume and related personal
Dept of CSE, SaIT Page 2
Online Bookstore Management System
information. For this reason, PHP originally stood for "Personal Home Page". Lerdorf
combined PHP with his own Form Interpreter, releasing the combination publicly as PHP/FI
(generally referred to as.PHP 2.0) on June 8, 1995. Two programmers, Zeev Suraski and Andi
Gutmans, rebuilt PHP's core, releasing the updated result as PHP/FI 2 in 1997. The acronym
was formally changed to PHP: Hyper Text Pre processor, at this time. (This is an example of a
recursive acronym: where the acronym itself is in its own definition.) In 1998, PHP 3 was
released, which was the first widely used version. PHP 4 was released in May 2000, with a
new core, known as the Zend Engine 1.0. PHP 4 featured improved speed and reliability over
PHP 3.
MySQL is an open source database product that was created by MySQL AB, a company
founded in 1995 in Sweden. In 2008, MySQL AB announced that it had agreed to be acquired
by Sun Microsystems for approximately $1 billion. The project of MySQL was started in
1979, when MySQL's inventor, Michael Widenius developed an in-house database tool called
UNIREG for managing databases. After that UNIREG has been rewritten in several different
languages and extended to handle big databases. After some time, Michael Widenius
contacted David Hughes, the author of MySQL, to see if Hughes would be interested in
connecting MySQL to UNIREG's B+ ISAM handler to provide indexing to MySQL. That's
the way MySQL came in existence.
Dept of CSE, SaIT Page 3
Online Bookstore Management System
CHAPTER 2
SYSTEM DESIGN
2.1 OVERVIEW
Online Book Store System Online book store system project allows customer to buy books
online from seller’s website in real-time system and pay cash on delivery. Online bookstore
project can manage all the working of Online shopping website and it also manage the back
office process whenever we buy books online.
This system can be used as an information management system for the Bookstore. Where
people can order the books which they want and even they do not need to bother about the
location and do not worry about picking it up from the store. This system will help you to get
the book from the store to your home just by a single click.
We can also make the payment after delivery of the book which will make us feel safe
regarding our money.
Now, we can see that nearly everything is very much possible to perform with a single click,
so this application will help you to computerize the system of Online bookstore management
so that readers can access the system online and search the books what they want.
2.2.1 MODULES OF THE PROJECT
User Signup
User login
Forgot password
Search author
Search books
Book order
Payment
My orders history
Track my order
Books category
Ask query
Update order details
Dept of CSE, SaIT Page 4
Online Bookstore Management System
2.2.2 KEY FEATURES OF THE SYSTEM
These are some key features of the system which is as follows:
To reduce the headache of maintaining the record of bookkeepers and customer
related documents.
To reduce the cumbersome job of maintaining several documents like whom we have
issued the book and when will he return that.
It will eliminate the delays in making the payments, where people use to stand for a
long time in the queue to pay and get their book.
Searching will become more efficient and fast in comparison of manual searching.
It will also provide assurance that we have a proper record of the selling of the books
so that we can limit our books stock according to that.
Overall it will reduce the cost and time of the shopkeeper who will take care of the
shop.
Dept of CSE, SaIT Page 5
Online Bookstore Management System
CHAPTER 3
SYSTEM REQUIREMENTS SPECIFICATION
3.1 HARDWARE REQUIREMENTS:
PROCESSOR : ANY GENERATION
RAM : 256MB
MONITOR : ANY AVAILABLE
HARDDISK : 1GB
KEYBOARD : STANDARD 102 KEYS
3.2 SOFTWARE REQUIREMENTS:
OPERATING SYSTEM : WINDOWS, LINUX, MAC.
ENVIRONMENT : XAMPP
LANGUAGE : PHP
PHP : VERSION 5.6
PHP EDITOR : SUBLIME TEXT EDITOR.
WEB TECHNOLOGY : HTML, CSS, JAVASCRIPT.
BACKEND : MySQL
BROWSER : ANY AVAILABLE, LIKE GOOGLE CHROME
Dept of CSE, SaIT Page 6
Online Bookstore Management System
CHAPTER 4
CODE SNIPPETS
4.1 LOGIN PAGE
<?php
include "dbconnect.php";
if(isset($_POST['submit']))
{
if($_POST['submit']=="login")
{
$username=$_POST['login_username'];
$password=$_POST['login_password'];
$query = "SELECT * from users where UserName ='$username' AND
Password='$password'";
$result = mysqli_query($con,$query)or die(mysql_error());
if(mysqli_num_rows($result) > 0)
{
$row = mysqli_fetch_assoc($result);
$_SESSION['user']=$row['UserName'];
header("Location: index.php?login=" . "Successfully Logged In");
}
else
echo "Incorrect username or password";
}
}
?>
Dept of CSE, SaIT Page 7
Online Bookstore Management System
CHAPTER 5
SCREENSHOTS
5.1 HOME PAGE
Fig 5.1: Home page
This is the first screen of Online Book Store Management System.The user will see the screen
when they load the website.
5.2 SIGN UP PAGE
Fig 5.2 : Member Registration Form
This form can be viewed by clicking SIGNUP, at the top left of the home page. The user can
register to the website by providing valid details.
Dept of CSE, SaIT Page 8
Online Bookstore Management System
5.3 LOGIN PAGE
Fig 5.3: Login Form
If valid credentials are keyed-in, the prompt of success is seen. Otherwise, an error message
appears.
5.4 THE BOOK SHOP
Fig 5.4: Entrance Exam Store
This page lists books of the first category of the Book store- The Entrance Exam Store.
Dept of CSE, SaIT Page 9
Online Bookstore Management System
Fig 5.5: Literature and Fiction Store
This page lists books of the second category of the Book store- Literature and Fiction Store.
Fig 5.6: Academic and Professional Store
This page lists books of the third category of the Book store- Academic and Professional
Store
Dept of CSE, SaIT Page 10
Online Bookstore Management System
Fig 5.7: Biographies and Auto Biographies Store
This page lists books of the fourth category of the Book store- Biographies and Auto
Biographies Store.
Fig 5.8: Children and Teens Store
This page lists books of the fifth category of the Book store- Children and Teens Store.
.
Dept of CSE, SaIT Page 11
Online Bookstore Management System
Fig 5.9: Regional Books Store
This page lists books of the sixth category of the Book store- Regional Book Store
Fig 5.10: Buisness and Management Store
This page lists books of the seventh category of the Book store- Buisness and Management
Store.
Dept of CSE, SaIT Page 12
Online Bookstore Management System
Fig 5.11: Health and Cooking Store
This page lists books of the eigth category of the Book store- Health and Cooking Store.
Fig 5.12: Cart page
This page shows up the books added to the cart by the user.
Dept of CSE, SaIT Page 13
Online Bookstore Management System
5.5 QUERY PAGE
Fig 5.13: Ask your Query Page
This page allows the user to post his/her query.
Dept of CSE, SaIT Page 14
Online Bookstore Management System
CONCLUSION
The project entitled Online Bookstore Management system was completed successfully. The
system has been developed with much care and free of errors and at the same time it is
efficient and less time consuming. The purpose of this project was to develop a web
application for the online booking to purchase a book for customers/users. This project helped
us in gaining valuable information and practical knowledge on several topics like designing
web pages using HTML &CSS, usage of responsive templates and management of database
using MySQL. The entire system is secured. Also, the project helped us understanding about
the development phases of a project and software development life cycle. We learned how to
test different features of a project. This project has given us great satisfaction in having
designed an application which can be implemented to get access to the updates.
The main objective of the project is to create an online book store that allows users to search
and purchase a book online based on title, author and subject. The selected books are
displayed in a tabular format and the user can order their books online and make their
payment on delivery. Using this Website the user can purchase a book online instead of going
out to a book store and wasting time.
Dept of CSE, SaIT Page 15
Online Bookstore Management System
BIBLIOGRAPHY
SOURCE:
Internet:
[1]https://udemy.com
[2] https://www.geeksforgeeks.org/web-technology/html-css/
[3] https://www.geeksforgeeks.org/javascript-tutorial/
Books:
[1] Introduction to web technology
[2] JavaScript By McGraw Hill Publication
[3] Fundamentals of web development
Links:
[1] www.w3schools.com
[2] www.krazytech.com
[3] www.stackoverflow.com
[4] www.learn-php.org
Dept of CSE, SaIT Page 16