Bmsprojectreport
Bmsprojectreport
PROJECT REPORT
BOOK STORE MANAGEMENT SYSTEM
This is to certify that the above statement made by the candidate is correct to the best
of my knowledge.
Asst. Prof.
INDUSTRY/COMPANY CERTIFICATE
DECLARATION
2021-2023
I Neha Devi (21013728026), a student of Master of Computer Application, Govt.
P.G. College, Dharamshala, hereby declare that the work presented in this Industrial
Projects is outcome of my own work, is bonfire, correct to the best of my knowledge
and this work has been carried out taking care of Software Ethics. The work presented
does not infringe any patented work and has not been submitted to any University for
the award of any degree or any professional diploma.
We have taken efforts in this project. However, it would not have been possible without the kind
support and help of our Faculties. We would like to extend my sincere thanks to all of them.
We are highly indebted to Govt. P.G. College Dharamshala for their guidance and constant
supervision as well as for providing necessary information regarding the project & also for their support in
completing the project.
We would like to express my gratitude towards my parents & member of Govt. P.G. College
Dharamshala for their kind co-operation and encouragement which help us in completion of this project.
Last but not least, many thanks go to the head of the project, Mr. Sachin Awasthi whose have invested his full
effort in guiding the team in achieving the goal. We have to appreciate the guidance given by other
supervisor as well as the panels especially in our project presentation that has improved our presentation
skills thanks to their comment and advices.
We would like to express our special gratitude and thanks to all above mentioned people for giving
us such attention and time. Our thanks and appreciations also go to our colleague in developing the project
and people who have willingly helped us out with their abilities.
Neha Devi
(21013728026)
ABSTRACT
Bookstore Management System is basically used to build an web application program which help
people to find and buy latest design of Books with different categories like Biography, Programming,
Management, etc. It is useful in the way that it makes an easier way to buy Personal Bookstore.
Today most of the book shop is useful for shopping site. The admin have lots of paper work and they
are using desktop, spread sheet like MS Excel application to manage data in soft copy about user record. In
this proposed Bookstore System it will run in server and user can handle whole the registration activities.
This application maintains the centralized database so that any changes done at a location reflects
immediately. This is an online tool so more than one user can login into system and use the tool
simultaneously.
The aim of this application is to reduce the manual effort needed to manage transactions and
historical data used in various gods owns. Also this application provides an interface to users to view the
details And Design about Bookstore.
TABLE OF CONTENTS
1. INTRODUCTION 1-2
1.1 Project Background 1
1.2 Objectives of project 1
1.3 Purpose of Project 1
1.4 Scope of Project 2
1.5 Applicability of Project: 2
5. CONCLUSION 88-90
1) Admin
2) Client
Functionalities of Admin:
This Module includes the mainly following tasks:
Entry of Category.
Category List.
View Book.
View Books.
Search Books.
Windows 7/8/8.1/10
Mac OS
350MB RAM
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.
2.5 Planning and scheduling
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”.
Brief overview of the technology
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.
CSS is designed primarily to enable the separation of document content from
document presentation, including aspects 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 HTML pages to share
formatting by specifying the relevant CSS in a separate .css file, and reduce complexity
and repetition in the structural content.
The CSS specifications are maintained by the World Wide Web Consortium
(W3C). Internet media type (MIME type) text/css is registered for use with CSS by RFC
2318 (March 1998). The W3C operates a free CSS validation service for CSS documents
CSS has a simple syntax and uses a number of English keywords to specify the
names of various style properties. A style sheet consists of a list of rules. Each rule or
rule-set consists of one or more selectors, and a declaration block.
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.
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. Rasmus Lerdorf 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.
User
Functionality
One or more user visit web page at a time.
Usability
Performance
Admin
Admin can manage system.
Provide books.
Functionality
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.
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.
(Figure 2 : Spiral Model)
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.
Customer is not sure of their requirements which are usually the case.
New product line which should be released in phases to get enough customer
feedback.
Significant changes are expected in the product during the development cycle.
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.
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.
5. Development can be divided into smaller parts and the risky parts can be developed
earlier which helps in better risk management.
Chapter 3
System Design
System Design is the process of defining the architecture, components, modules, interfaces and
data for a system to satisfy specified requirements.
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…
Add to
cart
Order
Details
Order
Successfullylo
(Figure 5 : 1 Level
st
Data Flow Diagram)
w Diagram
Flowchart Diagram
(Figure 6 : BMS Flowchart Diagram)
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.
User Use Case Diagram
View Product
Order
Login
User
Add to Cart
Admin
Register
Delete User
Home Page
View
Books
Book
Detail
S
e
l
e
c
t
B
o
o
k
Add to Cart
qty price
id name
name price
image Cart Bo No
oks
Sub
mit
Login Order
Adde
d to
Cart Regist
er Order
Place
d
Is a
Mem
ber
Yes
BMS
Contai
ns
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:
.
Field Type Description
image
Cat..
7. Cart Page
//
New Template.
/
(Figure 30 : BMS Add New Category)
16. View Category
List of Books.
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:
Interface errors
Tests are done from a user’s point of view and will help in exposing discrepancies in
the specifications.
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.
Expected Result :
Expected Result :
If fields empty then gives a error for fill up fields
If password or username does not exist then gives error for valid detail.
Expected Result :
Expected Result :
Screen-Shots
1. User Login
(Figure 39 : Test Cases 1)
2. Admin Login
3. Add Book
(Figure 41 : Text Cases 3)
4. User Registration
1.Login.php
<?php
include("includes/header.php");
?>
<div id="content">
<div class="post">
<p class="meta"></p>
<div class="entry">
Password :<br>
<?php
if(!empty($_SESSION['error']))
{
foreach($_SESSION['error'] as $er)
echo '<font
color="red">'.$er.'</font><br>';
unset($_SESSION['error']);
?>
<br>
<p class="login_link">
</p>
</form>
</div>
</div>
</div><!-- end #content -->
<?php
include("includes/footer.php");
?>
2.Login Process.php
<?php
session_start();
if(! empty($_POST))
extract($_POST);
$_SESSION['error']=array();
if(empty($unm) || empty($pwd))
header("location:login.php");
else
include("includes/connection.php");
$q="select * from register where r_unm='$unm' and r_pwd='$pwd'";
$res=mysql_query($q,$link);
$row=mysql_fetch_assoc($res);
if(! empty($row))
$_SESSION['client']['unm']=$row['r_fnm'];
$_SESSION['client']['id']=$row['r_id'];
$_SESSION['client']['status']=true;
header("location:index.php");
else
header("location:login.php");
else
header("location:login.php");
}
?>
3.Index.php
<?php
include("includes/header.php");
?>
<div id="content">
<div class="post">
<p class="meta"></p>
<div class="entry">
Password :<br>
<?php
if(!empty($_SESSION['error']))
{
foreach($_SESSION['error'] as $er)
echo '<font
color="red">'.$er.'</font><br>';
unset($_SESSION['error']);
?>
<br>
<p class="login_link">
</p>
</form>
</div>
</div>
</div><!-- end #content -->
<?php
include("includes/footer.php");
?>
4.register.php
<?php
include("includes/header.php");
?>
<div id="content">
<div class="post">
<p class="meta"></p>
<div class="entry">
<?php
if(isset($_GET['register']))
echo '<br><br>';
?>
Full Name :<br>
<?php
if(isset($_SESSION['error']['fnm']))
?>
<br><br>
<?php
if(isset($_SESSION['error']['unm']))
?>
<br><br>
Password :<br>
<?php
if(isset($_SESSION['error']['pwd']))
?>
<br><br>
E-Mail :<br>
<?php
if(isset($_SESSION['error']['email']))
?>
<br><br>
Contact No :<br>
<?php
if(isset($_SESSION['error']['cno']))
{
?>
<br><br>
</select>
<?php
if(isset($_SESSION['error']['que']))
?>
<br><br>
<?php
if(isset($_SESSION['error']['answer']))
{
echo '<font color="red">'.
$_SESSION['error']['answer'].'</font>';
?>
<br><br>
<p class="login_link">
</p>
</form>
<?php
unset($_SESSION['error']);
unset($_GET['register']);
?>
</div>
</div>
<?php
include("includes/footer.php");
?>
5.cart.php
<?php
include("includes/header.php");
?>
<div id="content">
<div class="post">
<p class="meta"></p>
<div class="entry">
<tr align="center">
<th width="7%">No</th>
<th width="30%">Name</th>
<th width="20%">Image</th>
<th width="15%">Qty</th>
<th width="10%">Price</th>
<th width="10%">Rate</th>
<th width="7%">Remove</th>
</tr>
<?php
$count=1;
$total=0;
if(isset($_SESSION['cart']))
foreach($_SESSION['cart'] as $id=>$val)
$rate=$val['qty'] * $val['price'];
$total=$total+$rate;
echo '<tr>
<td>'.$count.'</td>
<td>'.$val['nm'].'</td>
<td><img src="'.
$val['img'].'" width="80" height="60"></td>
<td><input
type="number" min="1" value="'.$val['qty'].'" style="width: 50px" name="'.$id.'"></td>
<td>'.$val['price'].'</td>
<td>'.$rate.'</td>
<td><a style="color:
red;text-decoration:none;" href="addtocart.php?id='.$id.'">X</a></td>
</tr>';
$count++;
}
}
?>
</tr>
</table>
?>
</div>
</form>
</div>
</div>
<?php
include("includes/footer.php");
?>
6.contact.php
<?php
include("includes/header.php");
?>
<div id="content">
<div class="post">
<p class="meta"></p>
<div class="entry">
<tr valign="top">
<td width="100%">
<form class="contact"
action="contact_process.php" method="post">
if(isset($_SESSION['error']
['fnm']))
echo '<font
color="red">'.$_SESSION['error']['fnm'].'</font>';
?>
<br><br>
Mobile No :<br>
<?php
if(isset($_SESSION['error']
['mno']))
echo '<font
color="red">'.$_SESSION['error']['mno'].'</font>';
?>
<br><br>
E-Mail ID :<br>
<?php
if(isset($_SESSION['error']
['email']))
echo '<font
color="red">'.$_SESSION['error']['email'].'</font>';
?>
<br><br>
Message :<br>
<textarea class="txt"
name="msg"></textarea>
<?php
if(isset($_SESSION['error']
['msg']))
echo '<font
color="red">'.$_SESSION['error']['msg'].'</font>';
unset($_SESSION['error']);
?>
<br><br>
</form>
</td>
</tr>
</table>
</div>
</div>
<?php
include("includes/footer.php");
?>
7.order.php
<?php
include("includes/header.php");
include("includes/connection.php");
?>
<div id="content">
<div class="post">
<p class="meta"></p>
<div class="entry">
if(isset($_GET['order']))
?>
<?php
if(!empty($_SESSION['error']))
foreach($_SESSION['error'] as $er)
echo '<font
color="red">'.$er.'</font><br>';
unset($_SESSION['error']);
?>
<br>
City :<br>
State :<br>
</form>
</div>
</div>
<?php
include("includes/footer.php");
?>
8.search.php
<?php
include("includes/header.php");
?>
<div id="content">
<div class="post">
<p class="meta"></p>
<div class="entry">
<?php
include("includes/connection.php");
$s=$_GET['s'];
while($blrow=mysql_fetch_assoc($blres))
<a href="book_detail.php?id='.
$blrow['b_id'].'">
<img src="'.$blrow['b_img'].'">
<h2>'.$blrow['b_nm'].'</h2>
<p>Rs. '.$blrow['b_price'].'</p>
</a>
</div>';
?>
<div style="clear:both;"></div>
</div>
</div>
<?php
include("includes/footer.php");
?>
9.logout.php
<?php
session_start();
session_destroy();
header("location:index.php");
?>
10.forgotpassword.php
<?php
include("includes/header.php");
?>
<div id="content">
<div class="post">
<p class="meta"></p>
<div class="entry">
<?php
if(!empty($_SESSION['error']))
foreach($_SESSION['error'] as $er)
{
echo '<font color="red">'.$er.'</font><br>';
unset($_SESSION['error']);
?>
<?php
if(isset($_SESSION['error']['unm']))
?>
</select>
<br><br>
Security Answer :<br>
<?php
if(isset($_SESSION['error']['answer']))
?>
<br><br>
<br><br>
</form>
</div>
</div>
<?php
include("includes/footer.php");
?>
Chapter 5
Conclusion
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..
Help
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
Multilingual is not supported in our system. Therefore user cannot work in different
languages.
Help module
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 www.google.com
o www.w3cschools.com
o www.stackoverflow.com
o www.quora.com
o www.Scribd.com
Apps Used
Youtube
Cat..