Bookstore Management System Project Report
Bookstore Management System Project Report
A Project Report:
Under the guidance of:
Mrs. POOJA KUMARI JHA
Submitted By:
MAHESH KUMAR MAHATO KRISHNA ORAON ANIL KUMAR BAITHA ASHISH MAHTO
23M51083 23M51068 23M51049 23M51127
ACKNOWLEDGEMENT
1|Page
BOOKSTORE MANAGEMENT SYSTEM
At the end I also want to pay my heartiest thanks to the whole family of out
sponsoring organization that always seem prompt to help and create a
friendly environment.
MAHESH KUMAR MAHATO KRISHNA ORAON ANIL KUMAR BAITHA ASHISH MAHTO
DECLARATION
2|Page
BOOKSTORE MANAGEMENT SYSTEM
I declare that this project is my own work by the best of my knowledge and
belief. This project has never been submitted to any University or Institute
for the partial fulfillment of the award of any degree or diploma.
MAHESH KUMAR MAHATO KRISHNA ORAON ANIL KUMAR BAITHA ASHISH MAHTO
3|Page
BOOKSTORE MANAGEMENT SYSTEM
BONAFIDE CERTIFICATE
SIGNATURE
NAME:
(GUIDE)
4|Page
BOOKSTORE MANAGEMENT SYSTEM
EXAMINER’S CERTIFICATION
Name: Name:
Designation: Designation:
5|Page
BOOKSTORE MANAGEMENT SYSTEM
Has worked under my supervision and that guidance and that no part of this
report has been submitted for the award of any other Degree, Diploma,
fellowship or other similar titles or prizes and that the work has not been
published in any Journal of Magazine.
MAHESH KUMAR MAHATO KRISHNA ORAON ANIL KUMAR BAITHA ASHISH MAHTO
Certified
6|Page
BOOKSTORE MANAGEMENT SYSTEM
7|Page
BOOKSTORE MANAGEMENT SYSTEM
Table of Contents
INTRODUCTION...........................................................................................................................8
1.1Project Background.................................................................................................................9
1.2Objectives of project...............................................................................................................9
1.3Purpose of Project...................................................................................................................9
1.4Scope of Project....................................................................................................................10
1.5Applicability of Project:........................................................................................................10
REQUIREMENT AND ANALYSIS............................................................................................11
2.1Problem Statement................................................................................................................12
2.2Requirement specifications...................................................................................................12
2.3Hardware requirement...........................................................................................................13
2.4Software Requirement...........................................................................................................13
2.5Planning and scheduling.......................................................................................................14
SYSTEM DESIGN........................................................................................................................23
3.1Over All System Design Using Designing Tools.................................................................24
3.2Data dictionary......................................................................................................................37
3.3 coding………………………………………………………………………………………...64
8|Page
BOOKSTORE MANAGEMENT SYSTEM
Chapter-1
Introduction
9|Page
BOOKSTORE MANAGEMENT SYSTEM
10 | P a g e
BOOKSTORE MANAGEMENT SYSTEM
11 | P a g e
BOOKSTORE MANAGEMENT SYSTEM
Chapter 2
Requirement And Analysis
12 | P a g e
BOOKSTORE MANAGEMENT SYSTEM
1) Admin
2) Client
Functionalities of Admin:
This Module includes the mainly following tasks:
Entry of Category.
Category List.
Add a New Book.
View Book.
View Message which Send by Client.
13 | P a g e
BOOKSTORE MANAGEMENT SYSTEM
Functionalities of Client:
This Module includes the mainly following tasks:
View Books.
Add books to Cart.
Search Books.
View or Add items in Cart.
2.3Hardware requirement
System type 32 bit Operating System.
Windows 7/8/8.1/10
Mac OS
350MB RAM
2.4Software Requirement
Wamp Server
MySQL
Browser
PHPMyAdmin
Operating System : Windows or open source 32/64 bit operating system, or later
versions. Browser Mozilla Firefox 2.0 /Internet Explorer 8.0 Onwards / Google
Chrome.
14 | P a g e
BOOKSTORE MANAGEMENT SYSTEM
Different amount of time may be required for each stage in the project cycle,
depending on the particulars of the key aspect of the project cycle seem to recur during
development process. The information obtained during the requirement gathering of pre-
development phase provides the impetus for the requirement analysis and the information is
further used in the design phase.
The above schedule specifies the estimated time that will be required in various software
development phases, considering all situational factors. Team members are technically ready accepting
few days training on to get the Technology Awareness. Thus, according to calculation, it is feasible to
build such solution in time. “The schedule will be revised at the end of each phase and updated as
required”.
15 | P a g e
BOOKSTORE MANAGEMENT SYSTEM
1. HTML
HTML stands for HYPER TEXT MARKUP LANGUAGE, which is most
widely used language on web to develop web pages. HTML refers to the way in which
Web pages (HTML documents) are linked together. Thus, the link available on a web
page is called Hypertext.
HTML was created by Berners-Lee in late 1991 but “HTML 2.0” was the first
standard HTML specification which was published in 1995. HTML 4.01 was a major
version of HTML and it was published in late 1999. Though HTML 4.01 version is
widely used but currently we are having HTML-5 version which is an extension to
HTML 4.01, and this version was published in 2012.
As its name suggests, HTML is a Mark-up Language which means you use
HTML to simply “mark-up” a text document with tags that tells a web browser how to
structure it to display.
Originally, HTML was develop with the intent of defining the structure of
documents like heading, paragraph, lists, and so forth to facilitate the sharing of scientific
information between researchers. Now, HTML is being widely used to format web pages
with the help of different tags available in HTML.
2. CSS
Cascading Style Sheet is a style sheet language used for describing the
presentation of a document written in a markup language Although most often used to set
the visual style of web page and user interfaces written in HTML and XHTML, the
language can be applied to any XML document, including plain XML, SVG and XUL,
and is applicable to rendering in speech, or on other media. Along with HTML and
JavaScript, CSS is a cornerstone technology used by most websites to create visually
engaging webpages, user interfaces for web applications, and user interfaces for many
mobile applications.
16 | P a g e
BOOKSTORE MANAGEMENT SYSTEM
3. BOOTSTRAP
Bootstrap is a free and open-source, front-end web frame work for designing
websites and web applications. It contains HTML- and CSS-based design templates for
typography, forms, buttons, navigation and other interface components, as well as
optional JavaScript extensions. Unlike many web frameworks, it concerns itself with
front-end development only.
Bootstrap is modular and consists of a series of less stylesheets that implement the
various components of the toolkit. These stylesheets are generally compiled into a bundle
and included in web pages, but individual components can be included or removed.
Bootstrap provides a number of configuration variables that control things such as color
and padding of various components.
Since Bootstrap 2, the Bootstrap documentation has included a customization
wizard which generates a customized version of Bootstrap based on the requested
components and various settings.
As of Bootstrap 4, is used instead of less for the stylesheets. Each Bootstrap
component consists of an HTML structure, CSS declarations, and in some cases
accompanying JavaScript code.
17 | P a g e
BOOKSTORE MANAGEMENT SYSTEM
1. PHP
The PHP Hypertext Pre-processor (PHP) is a programming language that allows
web developers to create dynamic content that interacts with databases. PHP is basically
used for developing web based software applications. This tutorial helps you to build
your base with PHP. PHP started out as a small open source project that evolved as more
and more people found out how useful it was. RasmusLerdorf unleashed the first version
of PHP way back in 1994.
PHP is a recursive acronym for "PHP: Hypertext Preprocessor".
PHP is a server side scripting language that is embedded in HTML. It is used to
manage dynamic content, databases, session tracking, even build entire e-
commerce sites.
It is integrated with a number of popular databases, including MySQL, Postgre
SQL, Oracle, Sybase, Informix, and Microsoft SQL Server.
PHP is pleasingly zippy in its execution, especially when compiled as an Apache
module on the Unix side. The MySQL server, once started, executes even very
complex queries with huge result sets in record-setting time.
PHP supports a large number of major protocols such as POP3, IMAP, and
LDAP. PHP4 added support for Java and distributed object architectures (COM
and CORBA), making n-tier development a possibility for the first time.
PHP is forgiving: PHP language tries to be as forgiving as possible.
PHP Syntax is C-Like.
2. MySQL
MySQL is a database, widely used for accessing querying, updating, and
managing data in databases.
MySQL is an open source RDBMS that relies on SQL for processing the data in
database. MySQL provides APIs for the languages like C, C++, Eiffel, JAVA, Perl, PHP
and Python. MySQL is most commonly used for web applications and for embedded
applications and has become a popular alternative to proprietary database system because
of its speed and reliability. MySQL can run on UNIX, Windows and Mac OS.
18 | P a g e
BOOKSTORE MANAGEMENT SYSTEM
User
Functionality
One or more user visit web page at a time.
Usability
Performance
Admin
Functionality
19 | P a g e
BOOKSTORE MANAGEMENT SYSTEM
Spiral Model
The spiral model combines the idea of iterative development with the systematic,
controlled aspects of the waterfall model. This Spiral model is a combination of iterative
development process model and sequential linear development model i.e. the waterfall model
with a very high emphasis on risk analysis. It allows incremental releases of the product or
incremental refinement through each iteration around the spiral.
Identification
This phase starts with gathering the business requirements in the baseline spiral. In the
subsequent spirals as the product matures, identification of system requirements, subsystem
requirements and unit requirements are all done in this phase.
Design
The Design phase starts with the conceptual design in the baseline spiral and involves
architectural design, logical design of modules, physical product design and the final design in
the subsequent spirals.
Construct or Build
The Construct phase refers to production of the actual software product at every spiral. In
the baseline spiral, when the product is just thought of and the design is being developed a POC
(Proof of Concept) is developed in this phase to get customer feedback.
20 | P a g e
BOOKSTORE MANAGEMENT SYSTEM
Then in the subsequent spirals with higher clarity on requirements and design details a
working model of the software called build is produced with a version number. These builds are
sent to the customer for feedback.
The following illustration is a representation of the Spiral Model, listing the activities in
each phase.
21 | P a g e
BOOKSTORE MANAGEMENT SYSTEM
Based on the customer evaluation, the software development process enters the next
iteration and subsequently follows the linear approach to implement the feedback suggested by
the customer. The process of iterations along the spiral continues throughout the life of the
software.
This method is consistent with approaches that have multiple software builds and
releases which allows making an orderly transition to a maintenance activity. Another positive
aspect of this method is that the spiral model forces an early user involvement in the system
development effort.
22 | P a g e
BOOKSTORE MANAGEMENT SYSTEM
On the other side, it takes a very strict management to complete such products and there
is a risk of running the spiral in an indefinite loop. So, the discipline of change and the extent of
taking change requests are very important to develop and deploy the product successfully.
23 | P a g e
BOOKSTORE MANAGEMENT SYSTEM
Chapter 3
System Design
24 | P a g e
BOOKSTORE MANAGEMENT SYSTEM
Physical Design
Database Design
Physical Design
The Physical Design is a graphical representation of a system showing the system’s
internal and external entities and the flow of data into and out of these entities. An internal
entity is an entity within the system that transforms data.
To represent the Physical Design of the system, we use diagrams like Data Flow
Diagrams, E-R Diagrams, Use Case Diagrams, etc…
USER Required
Selection of
Select from Books
information books
BOOKSTORE MANAGEMENT SYSTEM
Flowchart Diagram
27 | P a g e
BOOKSTORE MANAGEMENT SYSTEM
28 | P a g e
BOOKSTORE MANAGEMENT SYSTEM
An actor is represents a user or another system that will interact with the sys
Item you are modeling. A use case is an external view of the system that
represents some action the user might perform in order to complete a task.
29 | P a g e
BOOKSTORE MANAGEMENT SYSTEM
30 | P a g e
BOOKSTORE MANAGEMENT SYSTEM
Order
Login
User
Add to Cart
Admin
Register
Delete User
31 | P a g e
BOOKSTORE MANAGEMENT SYSTEM
3. Activity Diagram
Activity diagram is basically a flowchart to represent the flow from one activity to
another activity. The activity can be described as an operation of the system .
32 | P a g e
BOOKSTORE MANAGEMENT SYSTEM
33 | P a g e
BOOKSTORE MANAGEMENT SYSTEM
Home Page
View Books
Select Book
Is a Member
Login
Yes
No
Register
Added to Cart
Submit Order
Order Placed
34 | P a g e
BOOKSTORE MANAGEMENT SYSTEM
35 | P a g e
BOOKSTORE MANAGEMENT SYSTEM
4. E-R Diagram
Entity-Relationship Diagram is a graphical representation of entities and their
relationship to each other. It describes how data is related to each other. An entity is a piece
of data- an object or a concept about which data is stored. A relationship is how the data is
shared between entities.
36 | P a g e
BOOKSTORE MANAGEMENT SYSTEM
city e-mail
password con-no
name date
Buys
id Customers id
name
name
image
id price
BMS Contains
Cat..
price
HasMany
desc
Category
id name
37 | P a g e
BOOKSTORE MANAGEMENT SYSTEM
1. Admin
2. Book
3. Category
4. Contact
5. Register
6. Order
Detail of all the tables with its all the fields are as below:
38 | P a g e
BOOKSTORE MANAGEMENT SYSTEM
39 | P a g e
BOOKSTORE MANAGEMENT SYSTEM
40 | P a g e
BOOKSTORE MANAGEMENT SYSTEM
.
Field Type Description
41 | P a g e
BOOKSTORE MANAGEMENT SYSTEM
<?php
session_start();
if(isset($_GET['bcid']))
include("includes/[Link]");
$res=mysql_query($q,$link);
$row=mysql_fetch_assoc($res);
$_SESSION['cart']
[]=array("nm"=>$row['b_nm'],"img"=>$row['b_img'],"price"=>$r
ow['b_price'],"qty"=>1);
else if(!empty($_POST))
foreach($_POST as $id=>$qty)
42 | P a g e
BOOKSTORE MANAGEMENT SYSTEM
$_SESSION['cart'][$id]['qty']=$qty;
else if(isset($_GET['id']))
$id=$_GET['id'];
unset($_SESSION['cart'][$id]);
header("location:[Link]");
?>
<?php
include("includes/[Link]");
?>
<div id="page-wrapper">
43 | P a g e
BOOKSTORE MANAGEMENT SYSTEM
<div class="row">
<div class="col-lg-12">
</div>
</div>
<div class="row">
<div class="col-lg-12">
<div class="panel-heading">
</div>
<div class="panel-body">
<div class="row">
<div class="col-lg-12">
44 | P a g e
BOOKSTORE MANAGEMENT SYSTEM
<form role="form"
action="process_book_add.php" method="post"
enctype="multipart/form-data">
<div class="form-group">
<label>Book Name</label>
<?php
if(isset($_SESSION['error']['bnm']))
?>
</div>
<div class="form-group">
<label>Book Category</label>
<?php
include("../includes/[Link]");
$cres=mysql_query($cq,$link);
while($crow=mysql_fetch_assoc($cres))
?>
</select>
</div>
<div class="form-group">
<label>Description
46 | P a g e
BOOKSTORE MANAGEMENT SYSTEM
<?php
if(isset($_SESSION['error']['desc']))
?>
</label>
</textarea>
</div>
<div class="form-group">
<label>Price</label>
<?php
if(isset($_SESSION['error']['price']))
47 | P a g e
BOOKSTORE MANAGEMENT SYSTEM
?>
</div>
<div class="form-group">
<label>Book Image</label>
<?php
if(isset($_SESSION['error']
['b_img']))
?>
</div>
48 | P a g e
BOOKSTORE MANAGEMENT SYSTEM
</form>
<?php
unset($_SESSION['error']);
?>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<?php
include("includes/[Link]");
?>
<?php
include("includes/[Link]");
include("../includes/[Link]");
50 | P a g e
BOOKSTORE MANAGEMENT SYSTEM
$res=mysql_query($cq,$link);
$crow=mysql_fetch_assoc($res);
?>
<div id="page-wrapper">
<div class="row">
<div class="col-lg-12">
</div>
</div>
<div class="row">
<div class="col-lg-12">
<div class="panel-heading">
Edit Book
51 | P a g e
BOOKSTORE MANAGEMENT SYSTEM
</div>
<div class="panel-body">
<div class="row">
<div class="col-lg-12">
<form role="form"
action="process_book_edit.php" method="post"
enctype="multipart/form-data">
<div class="form-group">
<label>Book Name</label>
<?php
if(isset($_SESSION['error']['bnm']))
?>
52 | P a g e
BOOKSTORE MANAGEMENT SYSTEM
</div>
<div class="form-group">
<label>Book Category</label>
<?php
include("../includes/[Link]");
$cres=mysql_query($cq,$link);
while($crow=mysql_fetch_assoc($cres))
?>
</select>
</div>
<div class="form-group">
<label>Description
<?php
if(isset($_SESSION['error']['desc']))
?>
</label>
</textarea>
</div>
54 | P a g e
BOOKSTORE MANAGEMENT SYSTEM
<div class="form-group">
<label>Price</label>
<?php
if(isset($_SESSION['error']['price']))
?>
</div>
<div class="form-group">
<label>Book Image</label>
<?php
if(isset($_SESSION['error']
['b_img']))
55 | P a g e
BOOKSTORE MANAGEMENT SYSTEM
?>
</div>
</form>
<?php
unset($_SESSION['error']);
?>
56 | P a g e
BOOKSTORE MANAGEMENT SYSTEM
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<?php
include("includes/[Link]");
?><?php
include("includes/[Link]");
57 | P a g e
BOOKSTORE MANAGEMENT SYSTEM
include("../includes/[Link]");
$res=mysql_query($cq,$link);
$crow=mysql_fetch_assoc($res);
?>
<div id="page-wrapper">
<div class="row">
<div class="col-lg-12">
</div>
</div>
<div class="row">
<div class="col-lg-12">
58 | P a g e
BOOKSTORE MANAGEMENT SYSTEM
<div class="panel-heading">
Edit Book
</div>
<div class="panel-body">
<div class="row">
<div class="col-lg-12">
<form role="form"
action="process_book_edit.php" method="post"
enctype="multipart/form-data">
<div class="form-group">
<label>Book Name</label>
<?php
if(isset($_SESSION['error']['bnm']))
?>
</div>
<div class="form-group">
<label>Book Category</label>
<?php
include("../includes/[Link]");
$cres=mysql_query($cq,$link);
while($crow=mysql_fetch_assoc($cres))
{
60 | P a g e
BOOKSTORE MANAGEMENT SYSTEM
?>
</select>
</div>
<div class="form-group">
<label>Description
<?php
if(isset($_SESSION['error']['desc']))
?>
</label>
61 | P a g e
BOOKSTORE MANAGEMENT SYSTEM
</textarea>
</div>
<div class="form-group">
<label>Price</label>
<?php
if(isset($_SESSION['error']['price']))
?>
</div>
<div class="form-group">
<label>Book Image</label>
<?php
62 | P a g e
BOOKSTORE MANAGEMENT SYSTEM
if(isset($_SESSION['error']
['b_img']))
?>
</div>
</form>
<?php
unset($_SESSION['error']);
63 | P a g e
BOOKSTORE MANAGEMENT SYSTEM
?>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<?php
include("includes/[Link]");
64 | P a g e
BOOKSTORE MANAGEMENT SYSTEM
Book
Category
65 | P a g e
BOOKSTORE MANAGEMENT SYSTEM
2. Selected Category
Books of
DetectiveC
ategory
66 | P a g e
BOOKSTORE MANAGEMENT SYSTEM
67 | P a g e
BOOKSTORE MANAGEMENT SYSTEM
68 | P a g e
BOOKSTORE MANAGEMENT SYSTEM
5. Register Page
69 | P a g e
BOOKSTORE MANAGEMENT SYSTEM
6. Contact Us Page
7. Cart Page
70 | P a g e
BOOKSTORE MANAGEMENT SYSTEM
8. Order Page
71 | P a g e
BOOKSTORE MANAGEMENT SYSTEM
72 | P a g e
BOOKSTORE MANAGEMENT SYSTEM
73 | P a g e
BOOKSTORE MANAGEMENT SYSTEM
74 | P a g e
BOOKSTORE MANAGEMENT SYSTEM
Search
Books
New Template.
76 | P a g e
BOOKSTORE MANAGEMENT SYSTEM
List of Books.
78 | P a g e
BOOKSTORE MANAGEMENT SYSTEM
79 | P a g e
BOOKSTORE MANAGEMENT SYSTEM
Chapter 4
Testing And Implementation
80 | P a g e
BOOKSTORE MANAGEMENT SYSTEM
This method is named so because the software program, in the eyes of the tester,
is like a black box; inside which one cannot see. This method attempts to find errors in
the following categories:
Tests are done from a user’s point of view and will help in exposing
discrepancies in the specifications.
81 | P a g e
BOOKSTORE MANAGEMENT SYSTEM
Tester need not know programming languages or how the software has been
implemented.
White box testing involves looking at the structure of the code. When you know
the internal structure of a product, tests can be conducted to ensure that the internal
operations performed according to the specification. And all internal components have
been adequately exercised.
Gray-box Testing:
Grey-box testing is a testing technique performed with limited information about
the internal functionality of the system. Grey-box testers have access to the detailed
design information about requirements.
82 | P a g e
BOOKSTORE MANAGEMENT SYSTEM
Grey box are generated based on the state based modes, UML diagrams or of the
target system.
Grey Box Testing is a technique to test the software product or application with
partial knowledge of the internal workings of an application.
4.2Test Cases
4.2.1 Admin Login Detail
83 | P a g e
BOOKSTORE MANAGEMENT SYSTEM
Expected Result :
Screen-Shots
1. User Login
2. Admin Login
84 | P a g e
BOOKSTORE MANAGEMENT SYSTEM
3. Add Book
85 | P a g e
BOOKSTORE MANAGEMENT SYSTEM
4. User Registration
86 | P a g e
BOOKSTORE MANAGEMENT SYSTEM
4.3Implementation approaches
Far the biggest challenge encountered was time constraints. Implementation takes an
extraordinary amount of time and a large amount of coordination. Scheduling project
meetings around every group member’s schedule has been nearly impossible. Many of the
group members were unable to devote the amount of focus that the implementation stage
required. Both the former and the latter problem may be more of an issue in the academic
environment where priorities of the different group members are skewed in a variety of
directions. Another issue that cropped up was knowledge of the PHP programming. At least
two of the four group members were unfamiliar with PHP Swing API, which is php primary
user interface package. Again, this may not be as much of an issue in software engineering
outside the academic arena.
One of tools we found very useful, in situations where member responsibilities need
to be hashed out, is the responsibility matrix. It has really been the only tool that has allowed
us to continue making progress. Everyone is assigned a task, and everyone is held
accountable for the completion of their assigned task. It also allows us to track tasks that
need to be done. The responsibility matrix has proven to be an invaluable tool in the software
engineering process.
87 | P a g e
BOOKSTORE MANAGEMENT SYSTEM
Chapter 5
Conclusion
88 | P a g e
BOOKSTORE MANAGEMENT SYSTEM
Conclusion
At the first look we can say that Bookstore Management System is a perfect system but it
has many limitations that are as follow :
This is also used for list the category and books also manage the customer and books of
the Bookstore.
The Bookstore Management System is used to give information of the Books to the
customer.
We faced problems like Database creation, Flow of our system, designing of front end
and back end tools, coding etc.
Only single user can use a system at a time.
In this system we cannot add a service module.
We learnt new languages like jQuery, PHP, Boot-Strap, HTML, CSS, etc..
Currently the help feature is not available. Using this functionality user can get
help about the system.
Payment
Currently the feature of online payment is not available. User cannot give
payment online.
Multilingual
User cannot take the backup or recover the data in this the system.
89 | P a g e
BOOKSTORE MANAGEMENT SYSTEM
Using this module user can get help on how to access the system. All
functionalities of system are described in this module. And user can easily access the
entire module using this feature.
User can do their payment online using this functionality. In future we will add
the online payment for make payment easier for the user.
Multilingual
In this system we will add the multilingual therefore user can work in different
languages and understand easily.
5.3 Bibliography
Websites Used
o [Link]
o [Link]
o [Link]
o [Link]
o [Link]
Apps Used
Youtube
Solo Learn
Udemy..
90 | P a g e