You are on page 1of 64

BOOK OF BLISS

CHAPTER 1
INTRODUCTION

1.1 TRADITIONAL FILE SYSTEM


File System is collection of data. In this system, user has to write procedures for managing database. It
provides details of data representation and storage of data. In this-

• Data is stored in files.


• Each file has specific format.
• Programs that use these files depend on knowledge about that format.
• In earlier days, database applications were built on top of file systems .
Basically, it is a collection of application programs that performs services for end users such as production of
reports. Each file defines and manages its own data.

1.1.1 PROS AND CONS OF TRADITIONAL APPROACH


PROS:

• File processing cost less and can be more speed than database.
• File processing design approach was well suited to mainframe hardware and batch input.
• Companies mainly use file processing to handle large volumes of structured data on a regular basis
• It can be more efficient and cost less than DBMS in certain situations.
• Design is simple.
• Customization is easy and efficient.

CONS:
• Data redundancy and inconsistency.
• Difficulty in accessing data.
• Data isolation – multiple files and formats.
• Integrity problems

Dept of CSE, SJBIT 2021-2022 1|Page


BOOK OF BLISS

• Unauthorized access is not restricted.


• It co-ordinates only physical access.

1.2 INTRODUCTION TO DBMS


Databases and database technology have had a major impact on the growing use of computers. A database
is a collection of related data. By data, we mean known facts that can be recorded and that have implicit
meaning. For example, consider the names, telephone numbers, and addresses of the people you know.
Nowadays, this data is typically stored in mobile phones, which have their own simple database software.
In other words, a database has some source from which data is derived, some degree of interaction with
events in the real world, and an audience that is actively interested in its contents.A database can be of any
size and complexity. For example, the list of names and addresses referred to earlier may consist of only a
few hundred records, each with a simple structure. On the other hand, the computerized catalogue of a large
library may contain half a million entries organized under different categories.
A database has the following implicit properties:
• A database represents some aspect of the real world, sometimes called the mini world or the universe
of discourse. Changes to the mini world are reflected in the database.
• A database is a logically coherent collection of data with some inherent meaning. A random
assortment of data cannot correctly be referred to as a database.
• A database is designed, built, and populated with data for a specific purpose. It has an intended group
of users and some preconceived applications in which these users are interested.

A database management system (DBMS) is a computerized system that enables users to create and maintain
a database. The DBMS is a general-purpose software system that facilitates the processes of defining,
constructing, manipulating, and sharing databases among various users and applications. Defining a
database involves specifying the data types, structures, and constraints of the data to be stored in the
database. The database definition or descriptive information is also stored by the DBMS in the form of a
database catalogue or dictionary; it is called meta-data. Constructing the database is the process of storing
the data on some storage medium that is controlled by the DBMS. Manipulating a database includes
functions such as querying the database to retrieve specific data, updating the database to reflect changes
in the mini world, and generating reports from the data. Sharing a database allows multiple users and
programs to access the database simultaneously.

Dept of CSE, SJBIT 2021-2022 2|Page


BOOK OF BLISS

1.3 INDICATIVE AREAS FOR THE USE OF DBMS


SECTOR USE OF DBMS

BANKING For customer information, account activities, payments,


deposits, loans, etc.

AIRLINES For reservations and schedule information.

UNIVERSITIES For student information, course registrations, colleges


and grades.

TELECOMMUNICATION It helps to keep call records, monthly bills, maintaining


balances, etc.

FINANCE For storing information about stock, sales, and


purchases of financial instruments like stocks and bonds.

SALES Use for storing customer, product & sales information.

MANUFACTURING It is used for the management of supply chain and for


tracking production of items. Inventories status in
warehouses.
HR MANAGEMENT For information about employees, salaries, payroll,
deduction, generation of paychecks, etc.

Table 1.1 Indicative areas of DBMS

Table no.1.1 indicates the different sectors to which DBMS can be applied for easy access of data,
to avoid integrity problems and also to overcome data redundancy and inconsistency. To handle
large volumes of data in a structured manner on a regular basis.

1.4 ADVANTAGES OF DBMS


Compared to the File Based Data Management System, Database Management System has many
advantages.

1.Reducing Data Redundancy

Dept of CSE, SJBIT 2021-2022 3|Page


BOOK OF BLISS

The file based data management systems contained multiple files that were stored in many different
locations in a system or even across multiple systems. Because of this, there were sometimes multiple
copies of the same file which lead to data redundancy.
This is prevented in a database as there is a single database and any change in it is reflected immediately.
Because of this, there is no chance of encountering duplicate data.

2.Data Integrity

Data integrity means that the data is accurate and consistent in the database. Data Integrity is very important
as there are multiple databases in a DBMS. All of these databases contain data that is visible to multiple
users. So it is necessary to ensure that the data is correct and consistent in all the databases and for all the
users.

3.Data Security

Data Security is vital concept in a database. Only authorised users should be allowed to access the database
and their identity should be authenticated using a username and password. Unauthorised users should not
be allowed to access the database under any circumstances as it violates the integrity constraints.

4.Privacy

The privacy rule in a database means only the authorized users can access a database according to its privacy
constraints. There are levels of database access and a user can only view the data he is allowed to. For
example - In social networking sites, access constraints are different for different accounts a user may want
to access.

5.Backup and Recovery

Database Management System automatically takes care of backup and recovery. The users don't need to
backup data periodically because this is taken care of by the DBMS. Moreover, it also restores the database
after a crash or system failure to its previous condition.

6.Data Consistency

Data consistency is ensured in a database because there is no data redundancy. All data appears consistently
across the database and the data is same for all the users viewing the database. Moreover, any changes made
to the database are immediately reflected to all the users and there is no data inconsistency.

Dept of CSE, SJBIT 2021-2022 4|Page


BOOK OF BLISS

1.5 COMPONENTS OF DBMS

Fig 1.1 components of DBMS

Fig 1.1 indicates the components of DBMS like users,database application,DBMS and database
• Users: Users may be of any kind, such as data base administrators, system developers or
database users.
• Database application: Database application may be Departmental, Personal,
Organizational and /or Internal
• DBMS: Software that allows users to create and manipulate database access
• Database: Collection of logical data as a single unit.

1.6 PROBLEM STATEMENT


The concept of “Books of Bliss” Developed a well-organized book borrowing system So,
the interest of the user matches with any of the book listed with the system. It aims to provide a
transparency in borrowing process. The system provides a feature that can easily manage user’s
information, book details and manage borrowing transactions. The system provides “Book of
Bliss” provides easy experience for shopping. The user will have a different categories like story

Dept of CSE, SJBIT 2021-2022 5|Page


BOOK OF BLISS

Books, fiction books, autobiography, classic books,…The user can buy any selected books, and
also can rent a book if available.

1.7 SCOPE
In the system, entitled “Books of Bliss” Developed a well-organized book borrowing system So,the interest
of the user matches with any of the book listed with the system. It aims to provide a transparency in
borrowing process. The system provides a feature that can easily manage user’s information, book details
and manage borrowing transactions. The system provides “Book of Bliss” provides easy experience for
shopping. The user will have a different categories like story Books, fiction books, autobiography, classic
books,…The user can buy any selected books, and also can rent a book if available. Admin can able to add
authors, new books, available rental books. Admin able to see and manage request received from the rent
books.

All the information will be saved safely in the database. Any information needed can be retrieved easily
without any errors. The system is user friendly and error free. The data is maintained and processed quickly
providing user flexibility. The application developed is responsive and can be accessed from laptops,
mobiles and other variable screen devices rendering user comfort to use the application. Here, we have
apache web server which provides a server for clients where the requests of the clients is satisfied, WAMP
is used as database to store the data that is obtained from clients. The basic objective of web server is to
store, process and deliver web pages to the users. This intercommunication is done using Hypertext Transfer
Protocol (HTTP). The database that is used is MySQL, it is an open-source relational database management
system. It creates a database for storing manipulating data, defining the relationship of each table. Clients
can make requests by typing specific SQL statements on MySQL. The server application will respond with
the requested information and it will appear on the clients’ side.

Dept of CSE, SJBIT 2021-2022 6|Page


BOOK OF BLISS

CHAPTER 2

REQUIREMENT ANALYSIS

2.1 HARDWARE SPECIFICATIONS:


 Microprocessor : Processor Intel Core 2 Duo CPU 2.10 GHz.
 Processor : Minimum 1 GHz; Recommended 2GHz or more
 Memory(RAM) : Minimum 1 GB; Recommended 4 GB or above

2.2 SOFTWARE SPECIFICATIONS:


 Operating system : Windows 7 or newer
 Web Browser : All industry standard web browsers (Internet Explorer, Mozilla Firefox,
Google Chrome and Apple Safari)
 Web Server : Apache Web Server
 PHP Version : PHP 5.4 or above
 Database : MySQL 5.1 or above
 Software : WAMP
 Text editor : Sublime text

Dept of CSE, SJBIT 2021-2022 7|Page


BOOK OF BLISS

CHAPTER 3
SOFTWARE REQUIREMENT SPECIFICATIONS
3.1 WAMP

The software that we used here is WAMP application, it is a stack of software, which includes Apache
distributions used to develop and test website locally before its deployment on the internet. WAMP is an
abbreviation for cross-platform, Apache, MySQL, PHP and Perl, and it allows you to build WordPress
site offline, on a local web server on your computer. WAMP also provides support for creating and
manipulating databases in MariaDB and SQLite among others. Once WAMP is installed, it is possible to
treat a localhost like a remote host by connecting using an FTP client. Using a program like FileZilla has
many advantages when installing a content management system (CMS) like WordPress It is also possible
to connect to localhost via FTP with an HTML editor.

3.2 MySQL

MySQL is a free-to-use, open-source database that facilitates effective management of databases by


connecting them to the software. It is a stable, reliable and powerful solution with advanced features
including: Recent Posts By contributor. MySQL is designed to meet even the most demanding applications
while ensuring optimum speed, full-text indexes and unique memory caches for enhanced performance.
Though MySQL began as a low-end alternative to more powerful proprietary databases, it has gradually
evolved to support higher-scale needs as well. It is still most commonly used in small to medium scale
single-server deployments, either as a component in a LAMP -based web application or as a standalone
database server. Much of MySQL's appeal originates in its relative simplicity and ease of use, which is
enabled by an ecosystem of open source tools such as phpMyAdmin. In the medium range, MySQL can be
scaled by deploying it on more powerful hardware, such as a multi-processor server with gigabytes of
memory.

3.3 PHP

PHP Hypertext Preprocessor is a widely-used open source general-purpose scripting language that is

Dept of CSE, SJBIT 2021-2022 8|Page


BOOK OF BLISS

Especially suited for web development and can be embedded into HTML . It is used to manage dynamic
content, databases, session tracking, even build entire e-commerce sites. Originally designed to create
dynamic web pages, PHP now focuses mainly on server side scripting and it is similar to other server-side
scripting languages that provide dynamic content from a web server to a client, such as as ASP.NET, Sun
Micro Systems, and mod perl. PHP has also attracted the development of many software frameworks that
provide building blocks and a design structure to promote rapid application development (RAD).

3.4 APACHE

Apache HTTP Server is a free and open-source web server that delivers web content through the internet.
It is commonly referred to as Apache and after development, it quickly became the most popular HTTP
client on the web. Although we call Apache a web server, it is not a physical server, but rather a software
that runs on a server. Its job is to establish a connection between a server and the browsers of website
visitors (Firefox, Google Chrome, Safari, etc.) while delivering files back and forth between them (client-
server structure).

3.5 SUBLIME

Sublime Text is a shareware cross-platform source code editor with a Python application programming
interface (API). It natively supports many programming languages and markup languages, and functions
can be added by users with plugins, typically community-built and maintained under free-software licenses.

Dept of CSE, SJBIT 2021-2022 9|Page


BOOK OF BLISS

CHAPTER 4

ANALYSIS AND DESIGN

4.1 E.R DIAGRAM

An Entity–relationship model describes the structure of a database with the help of a diagram, which is
known as Entity Relationship Diagram . An ER model is a design or blueprint of a database that can later
be implemented as a database. The main components of E-R model are: entity set and relationship set.

Fig No.4.1-Represents the ER Diagram of the relational database that helps in understanding the

relationships between the entities and how they are related to each other

Dept of CSE, SJBIT 2021-2022 10 | P a g e


BOOK OF BLISS

4.2 DFD (Data Flow Diagram)


The flow of data of a system or a process is represented by DFD. It also gives insight into the inputs
and outputs of each entity and the process itself. DFD does not have control flow and no loops or
decision rules are present. Specific operations depending on the type of data can be explained by a
flowchart. Data Flow Diagram can be represented in several ways. The DFD belongs to structured-
analysis modeling tools. Data Flow diagrams are very popular because they help us to visualize the
major steps and data involved in software-system processes.

4.2.1 DFD Level 0

It is also known as a context diagram. It’s designed to be an abstraction view, showing the system as a
single process with its relationship to external entities. It represents the entire system as a single bubble
with input and output data indicated by incoming/outgoing arrows. As you see, when you build the
levels of data flow diagrams, the connections of the transactions and data also broadens and gets more
specific.

Fig No.4.2-Represents the data flow diagram at level 0 of checking validity of login,register page and
user home page

Dept of CSE, SJBIT 2021-2022 11 | P a g e


BOOK OF BLISS

Fig No.4.3-Represents the data flow diagram at level 0 of user login

4.2.2 DFD Level 1


In 1-level DFD, the context diagram is decomposed into multiple bubbles/processes. In this level, we
highlight the main functions of the system and breakdown the high-level process of 0-level DFD into
subprocesses. This type of data is represented by a data store.

Fig No.4.4- Represents data flow diagram at level 1 of book of bliss this procedures require
information from which books can be located.

Dept of CSE, SJBIT 2021-2022 12 | P a g e


BOOK OF BLISS

4.2.3 DFD Level 1(Admin)

Fig No.4.5- Represent the data flow diagram of admin in level 1

4.3 TABLES

4.3.1Register table

The Register table consists of attributes like id,fullname,mobile,email,password.

Fig No.4.3.1-The figure Represents the register table

4.3.2Add Category table

The Add Category table consists of attributes like id and category

Dept of CSE, SJBIT 2021-2022 13 | P a g e


BOOK OF BLISS

Fig No.4.6-The figure represents the add category table

4.3.3Add book table


The add book table consists of attributes like id, bookname, author, price, quantity, image,
category,old/new, desc, name.

Fig No.4.7-The figure represents the add bokk table

4.3.4Author table

The author table consists of attributes like id and authorname.

Fig No.4.8-The figure represents the author table

Dept of CSE, SJBIT 2021-2022 14 | P a g e


BOOK OF BLISS

4.3.5 Rent book table


The Rent book table consists of attributes like id, bookname, authorname, category, user, datefrom, dateto,
date, status

Fig No.4.9-The figure represents the rent book table

4.3.6 Subscribe table


The subscribe table consists of attributes like id,bookname, authorname, category, user

Fig No.4.10-The figure represents the subscribe table

Dept of CSE, SJBIT 2021-2022 15 | P a g e


BOOK OF BLISS

CHAPTER 5
IMPLEMENTATAION

5.1 CREATE TABLE COMMANDS

• Table structure for table `addbook`


CREATE TABLE IF NOT EXISTS `addbook` (

`id` int(11) NOT NULL AUTO_INCREMENT,

`bookname` varchar(200) NOT NULL,

`authorname` varchar(50) NOT NULL,

`price` varchar(10) NOT NULL,

`quantity` varchar(10) NOT NULL,

`image` varchar(200) NOT NULL,

`category` varchar(50) NOT NULL,

`oldnew` varchar(200) NOT NULL,

`des` varchar(200) NOT NULL,

`name` varchar(200) NOT NULL,

PRIMARY KEY (`id`)

) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=9 ;

• Table structure for table `addcategory`


CREATE TABLE IF NOT EXISTS `addcategory` (

`id` int(11) NOT NULL AUTO_INCREMENT,

`category` varchar(100) NOT NULL,

Dept of CSE, SJBIT 2021-2022 16 | P a g e


BOOK OF BLISS

PRIMARY KEY (`id`)

) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=4 ;

• Table structure for table `admin`


CREATE TABLE IF NOT EXISTS `admin` (

`id` int(11) NOT NULL AUTO_INCREMENT,

`email` varchar(100) NOT NULL,

`password` varchar(12) NOT NULL,

PRIMARY KEY (`id`)

) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=2 ;

• Table structure for table `author`


CREATE TABLE IF NOT EXISTS `author` (

`id` int(11) NOT NULL AUTO_INCREMENT,

`authorname` varchar(100) NOT NULL,

`image` varchar(200) NOT NULL,

PRIMARY KEY (`id`)

) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=3 ;

• Table structure for table `cart`


CREATE TABLE IF NOT EXISTS `cart` (

`id` int(11) NOT NULL AUTO_INCREMENT,

`bookid` varchar(10) NOT NULL,

`bookname` varchar(100) NOT NULL,

Dept of CSE, SJBIT 2021-2022 17 | P a g e


BOOK OF BLISS

`price` varchar(10) NOT NULL,

`user` varchar(50) NOT NULL,

`dt` varchar(10) NOT NULL,

`img` varchar(150) NOT NULL,

`stat` varchar(10) NOT NULL,

`author` varchar(100) NOT NULL,

PRIMARY KEY (`id`)

) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

• Table structure for table `contactus`


CREATE TABLE IF NOT EXISTS `contactus` (

`id` int(200) NOT NULL AUTO_INCREMENT,

`user` varchar(200) NOT NULL,

`email` varchar(200) NOT NULL,

`phone_nu` varchar(200) NOT NULL,

`subject` varchar(200) NOT NULL,

`Message` varchar(200) NOT NULL,

PRIMARY KEY (`id`)

) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

• Table structure for table `deliveryaddress`


CREATE TABLE IF NOT EXISTS `deliveryaddress` (

`id` int(11) NOT NULL AUTO_INCREMENT,

`fullname` varchar(50) NOT NULL,

Dept of CSE, SJBIT 2021-2022 18 | P a g e


BOOK OF BLISS

`phone` varchar(12) NOT NULL,

`pincode` varchar(7) NOT NULL,

`state` varchar(30) NOT NULL,

`city` varchar(20) NOT NULL,

`address1` varchar(200) NOT NULL,

`address2` varchar(200) NOT NULL,

PRIMARY KEY (`id`)

) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=5 ;

• Table structure for table `register`


CREATE TABLE IF NOT EXISTS `register` (

`id` int(11) NOT NULL AUTO_INCREMENT,

`fullname` varchar(100) NOT NULL,

`mobile` varchar(12) NOT NULL,

`email` varchar(200) NOT NULL,

`password` varchar(30) NOT NULL,

PRIMARY KEY (`id`)

) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=5 ;

• Table structure for table `rentbooks`


CREATE TABLE IF NOT EXISTS `rentbooks` (

`id` int(200) NOT NULL AUTO_INCREMENT,

`bookname` varchar(200) NOT NULL,

`authorname` varchar(200) NOT NULL,

Dept of CSE, SJBIT 2021-2022 19 | P a g e


BOOK OF BLISS

`category` varchar(200) NOT NULL,

`oldnew` varchar(200) NOT NULL,

`user` varchar(200) NOT NULL,

`datefrom` date NOT NULL,

`dateto` date NOT NULL,

`date` date NOT NULL,

`status` varchar(200) NOT NULL DEFAULT 'Pending',

PRIMARY KEY (`id`)

) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=3 ;

• Table structure for table `subscribe`


CREATE TABLE IF NOT EXISTS `subscribe` (

`id` int(200) NOT NULL,

`bookname` varchar(200) NOT NULL,

`authorname` varchar(200) NOT NULL,

`category` varchar(200) NOT NULL,

`user` varchar(200) NOT NULL,

`sub` varchar(200) NOT NULL

) ENGINE=InnoDB DEFAULT CHARSET=latin1;

5.2 CODING

5.2.1 HOME PAGE


<!DOCTYPE html>

Dept of CSE, SJBIT 2021-2022 20 | P a g e


BOOK OF BLISS

<html lang="en">

<head>

<!-- basic -->

<meta charset="utf-8">

<meta http-equiv="X-UA-Compatible" content="IE=edge">

<!-- mobile metas -->

<meta name="viewport" content="width=device-width, initial-scale=1">

<meta name="viewport" content="initial-scale=1, maximum-scale=1">

<!-- site metas -->

<title>Book of Bliss</title>

<meta name="keywords" content="">

<meta name="description" content="">

<meta name="author" content="">

<!-- bootstrap css -->

<link rel="stylesheet" href="css/bootstrap.min.css">

<!-- style css -->

<link rel="stylesheet" href="css/style.css">

<!-- Responsive-->

<link rel="stylesheet" href="css/responsive.css">

<!-- fevicon -->

<link rel="icon" href="images/fevicon.png" type="image/gif" />

<!-- Scrollbar Custom CSS -->

<link rel="stylesheet" href="css/jquery.mCustomScrollbar.min.css">

<!-- Tweaks for older IEs-->

Dept of CSE, SJBIT 2021-2022 21 | P a g e


BOOK OF BLISS

<!--[if lt IE 9]>

<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>

<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script><![endif]-->

</head>

<!-- body -->

<body class="main-layout home_page">

<!-- loader -->

<!-- end loader -->

<!-- header -->

<?php

include ('include/header.php');

?>

<!-- end header -->

<section class="slider_section">

<div id="myCarousel" class="carousel slide banner-main" data-ride="carousel">

<div class="carousel-inner">

<div class="carousel-item active">

<img class="first-slide" src="images/banner.jpg" alt="First slide">

<div class="container">

<div class="carousel-caption relative">

<h1>The Best Libraries That<br> Every Book Lover Must<br> Visit!</h1>

5.2.2 LOGIN PAGE

Dept of CSE, SJBIT 2021-2022 22 | P a g e


BOOK OF BLISS

<h2>Login Here</h2>

</div>

<div class="about">

<div class="container"

<div class="row justify-content-center">

<div class="col-md-6">

<form action="loginsql.php" method="post">

<h3>Login to Bookies</h3>

<hr>

<input type="text" name="fullname" class="form-control" autocomplete="off" placeholder="Enter


Name" required><br>

<input type="password" name="password" class="form-control" autocomplete="off"


placeholder="Enter Password" pattern="(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{8,}" title="Must contain at
least one number and one uppercase and lowercase letter, and at least 8 or more characters"
required><br>

<div class="text-center">

<input type="submit" value="Login" class="btn btn-primary" name="sub">

</div>

<br><br>

</form>

</div></div>

<br>

<center>

<p style="letter-spacing:3px">Need an account? <a href="register.php">Sign Up </a></p>

</center>

Dept of CSE, SJBIT 2021-2022 23 | P a g e


BOOK OF BLISS

<br>’

5.2.3 REGISTRATION PAGE


<h3>Register</h3>
<hr>
<input type="text" name="name" class="form-control" autocomplete="off" placeholder="Enter
Full Name" required><br>
<input type="number" name="mobile" class="form-control" autocomplete="off"
placeholder="Enter Mobile Number" required><br>
<input type="email" name="email" class="form-control" autocomplete="off" placeholder="Enter
Email" required><br>
<input type="password" name="password" class="form-control" autocomplete="off"
placeholder="Set Password" pattern="(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{8,}" title="Must contain at
least one number and one uppercase and lowercase letter, and at least 8 or more characters"
required><br>
<div class="text-center">
<input type="submit" value="Register" class="btn btn-primary" name="sub">
<br><br>
</form>
</div></div>
<center>
<p style="letter-spacing:3px">Already have an account? <a href="login.php">Sign in </a></p>
</center>
<br>
</div>

5.2.4 ABOOUT US PAGE


<h2>About <strong class="black">Us</strong></h2>
<span> The book of bliss store offers you thousands of titles across categories like childrens
book,story books,fiction books,novels & articles </span>

Dept of CSE, SJBIT 2021-2022 24 | P a g e


BOOK OF BLISS

</div>
</div>
</div>
<div class="row border">
<div class="col-xl-7 col-lg-7 col-md-12 col-sm-12">
<div class="about-box">
<p> We create a set of learning experiences across creative & intellectual pursuits by partnering
with the best in the business.We bring these learning experiences to communicate around Book of
Bliss libraries.We are working towards bringing our experiences to the web and we strive to
upload this prestige by serving our customers better</p>
</div>
</div>
<div class="col-xl-5 col-lg-5 col-md-12 col-sm-12">
<div class="about-box">
<figure><img src="images/about.png" alt="img" /></figure>
</div>
</div>
</body>
</html>

5.2.5 BOOKS CATEGORY


</head>

<!-- body -->

<body class="main-layout home_page">

<!-- loader -->

<div class="loader_bg">

<div class="loader"><img src="images/loading.gif" alt="#" /></div>

</div>

Dept of CSE, SJBIT 2021-2022 25 | P a g e


BOOK OF BLISS

<!-- end loader -->

<!-- header -->

<?php

include ('include/header.php');

?>

<!-- end header -->

<!-- <section class="slider_section">

<div id="myCarousel" class="carousel slide banner-main" data-ride="carousel">

<div class="carousel-inner">

<div class="carousel-item active">

<img class="first-slide" src="images/banner.jpg" alt="First slide">

<div class="container">

<div class="carousel-caption relative">

<h1>The Best Libraries That<br> Every Book Lover Must<br> Visit!</h1>

</div>

</div>

</div>

</div>

</section> -->

<!-- about -->

<div class="about">

<div class="container">

<div class="row">

<div class="col-md-10 offset-md-1">

Dept of CSE, SJBIT 2021-2022 26 | P a g e


BOOK OF BLISS

<div class="aboutheading">

<h2>All <strong class="black">Categories</strong></h2>

</div>

</div>

</div>

<div class="row border rounded" style="border:double;">

<?php

include('include/conn.php');

$sql="select * from addcategory";

$data =mysqli_query($conn,$sql);

$total=mysqli_num_rows($data);

if($total !=0){

while($row=mysqli_fetch_assoc($data)){

?>

<div class="myDiv rounded bg-light">

<h2><?php echo $row['category'] ?></h2>

<a href="allbooks.php?id=<?php echo $row['category'] ?>" >

<button class="pull-left" style="background-color: blue; width:100%;border-


radius:50px;padding:5px">

Shop Now</button>

</div>

5.2.6 RENT BOOKS


<?php

include_once 'include/conn.php';

Dept of CSE, SJBIT 2021-2022 27 | P a g e


BOOK OF BLISS

$result = mysqli_query($conn,"SELECT * FROM addbook WHERE id='" . $_GET['id'] . "'");


$row= mysqli_fetch_array($result);
?>
<?php
if(isset($_POST['submit'])){
//getting text data from the fields
$bookname = $row['bookname'];
$authorname = $row['authorname'];
$category = $row['category'];
$oldnew=$_POST['oldnew'];
$user=$_POST['user'];
$datefrom=$_POST['datefrom'];
$dateto=$_POST['dateto'];
$insert_product = "insert into rentbooks
(bookname,authorname,category,oldnew,user,datefrom,dateto,date)
VALUES ('$bookname','$authorname','$category','$oldnew','$user','$datefrom','$dateto',NOW())";
$run_c=mysqli_query($conn,$insert_product);
}
else{
echo "Something went wrong!";
}
?>

5.2.7 SUBSCRIBE BOOK

<?php
include_once 'include/conn.php';
$result = mysqli_query($conn,"SELECT * FROM addbook WHERE id='" . $_GET['id'] . "'");
$row= mysqli_fetch_array($result);
?>

Dept of CSE, SJBIT 2021-2022 28 | P a g e


BOOK OF BLISS

<?php
if(isset($_POST['submit'])){
//getting text data from the fields
$id = $row['id'];
$bookname = $row['bookname'];
$authorname = $row['authorname'];
$category = $row['category'];
$user=$_POST['user'];
$sub=$_POST['sub'];
$insert_product = "insert into subscribe (id,bookname,authorname,category,user,sub)
VALUES ('$id','$bookname','$authorname','$category','$user','$sub')";
$run_c=mysqli_query($conn,$insert_product);
header("location:viewSubscribe.php");
}
else{
echo "Something went wrong!";
}
?>

5.2.8 VIEW APPROVED BOOKS

<?php
$i=0;
while($row = mysqli_fetch_array($result)) {
if($i%2==0)
$classname="even";
else
$classname="odd";
?>
<td style="text-align: center"><?php echo $row["id"]; ?></td>
<td style="text-align: center"><?php echo $row["bookname"]; ?></td>

Dept of CSE, SJBIT 2021-2022 29 | P a g e


BOOK OF BLISS

<td style="text-align: center"><?php echo $row["authorname"]; ?></td>


<td style="text-align: center"><?php echo $row["category"]; ?></td>
<td style="text-align: center"><?php echo $row["oldnew"]; ?></td>
<td style="text-align: center"><?php echo $row["user"]; ?></td>
<td style="text-align: center"><?php echo $row["datefrom"]; ?></td>
<td style="text-align: center"><?php echo $row["dateto"]; ?></td>
<td style="text-align: center"><?php echo $row["status"]; ?></td>
</tr>
<?php
$i++;
}

5.2.9 VIEW SUBSCRIBED BOOK

<?php
$select=mysql_query("SELECT addbook.id,addbook.bookname, addbook.name, subscribe.user
FROM addbook
INNER JOIN subscribe ON addbook.id=subscribe.id;");
while($row1=mysql_fetch_array($select)){
$name=$row1['bookname'];
$id=$row1['id'];
$bname = $row1['name'];
?>
<tr>
<td><?php echo $id;?></td>
<td width="300">
<?php echo $user;?>.
</td>
<td><?php echo $name;?></td>
<td width="300">
<a href="download.php?filename=<?php echo $bname;?>"><button class="btn-sm btn-
success">Read online</button></a>

Dept of CSE, SJBIT 2021-2022 30 | P a g e


BOOK OF BLISS

</td>
</tr>
<?php }?>
</table><?php
$conn=mysql_connect("localhost","root","") or die(mysql_error());
$sdb=mysql_select_db("bookofbliss",$conn) or die(mysql_error());
?>

5.2.10 MYCART

<?php
if(isset($_SESSION['user']))
{
$pt=0;
$user=$_SESSION['user'];
$sql="select * from cart where user='$user'";
$data =mysqli_query($conn,$sql);
$total=mysqli_num_rows($data);
if($total !=0){
while($row=mysqli_fetch_assoc($data)){
$pt=$pt+$row['price'] ;
?>
<tr>
<td><img src="<?php echo $row['img'] ?> " alt="" height="150" width="150" ></td>
<td >
<h6 style="font-weight:600;letter-spacing:2px;"><span class="pull-right"><?php echo $row['dt']
?></span></h6>
<h4 style="font-weight:500;letter-spacing:2px;font-size:25px;font-family:tahoma"><?php echo
$row['bookname'] ?></h4>
<h6 style="font-weight:600;letter-spacing:2px;color:grey"><?php echo $row['author'] ?></h6>
<h5 style="font-weight:700;letter-spacing:2px;color:green;font-size:20px">

Dept of CSE, SJBIT 2021-2022 31 | P a g e


BOOK OF BLISS

<span class="fa fa-rupee"></span> <?php echo $row['price'] ?></h5>


<a href="remove.php?x=<?php echo $row['id'] ?>">
<button class="pull-right" style="border:none;padding:5px;"> Remove</button>
</a>
</td></tr>
<?php
}

5.2.11 ORDER SUMMARY

<?php
if(isset($_SESSION['user']))
{ $user=$_SESSION['user'];
$sql1="select * from deliveryaddress where phone='$user'";
$data1 =mysqli_query($conn,$sql1);
$row1=mysqli_fetch_array($data1);
if($row1){
?>
<br>
<b>ORDER SUMMARY </b>
<hr>
<h4 style="font-weight:800;letter-spacing:2px"><?php echo $row1['fullname'] ?></h4>
<h5 style="font-weight:500;letter-spacing:2px;color:grey"><?php echo $row1['address1']
?></h5>
<h5 style="font-weight:500;letter-spacing:2px;color:grey"><?php echo $row1['address2']
?></h5>
<h5 style="font-weight:700;letter-spacing:2px;color:green"> <?php echo $row1['city'] ?>, <?php
echo $row1['pincode'] ?> </h5>
<?php echo $row1['phone'] ?>
<h1><br></h1>
<?php

Dept of CSE, SJBIT 2021-2022 32 | P a g e


BOOK OF BLISS

?>
<hr>
<?php
$pt=0;

$sql2="select * from cart where user='$user'";

$data2 =mysqli_query($conn,$sql2);
$total2=mysqli_num_rows($data2);

if($total2 !=0){
while($row2=mysqli_fetch_assoc($data2)){
$pt=$pt+$row2['price'] ;
$i=0;

?>
<h6 style="font-weight:600;letter-spacing:2px;"><span class="pull-right"><?php echo $row2['dt']
?></span></h6>
<h4 style="font-weight:500;letter-spacing:2px;font-size:25px;font-family:tahoma"><?php echo
$row2['bookname'] ?></h4>
<h6 style="font-weight:600;letter-spacing:2px;color:grey"><?php echo $row2['author'] ?></h6>
<h5 style="font-weight:700;letter-spacing:2px;color:green;font-size:20px">
<span class="fa fa-rupee"></span><input type="text " value="<?php echo $row2['price'] ?>"
readonly="readonly" style="border:none" >
</h5>
<?php } ?>
<hr>
<b style="font-size:24px;color:orange">TOTAL PAYBLE : <span class="fa fa-inr" ></span>
<?php echo $pt ?> </b>
<br clear="all">

Dept of CSE, SJBIT 2021-2022 33 | P a g e


BOOK OF BLISS

<br>
<div class="button_section" > <a class=" btn btn-success" href="delete.php?x=<?php echo $user
?>"><span class="btn btn-success">Continue</span></a> </div>
<h2><br></h2>
<?php
}

5.2.12 PAYMENT
<?php
include ('include/header.php');
?>
<!-- end header -->
<!-- about -->
<div class="about-bg">
<div class="container">
<div class="row">
<div class="col-xl-12 col-lg-12 col-md-12 col-sm-12">
<div class="abouttitle">
<h2>PAYMENT METHOD</h2>
</div>
</div>
</div>
</div>
</div>
<div class="about">
<div class="container">
<div class="col col-lg-3"></div>
<div class="col col-lg-5" style="background:#fff">
<h3>PAYMENT</h3>
<hr>

Dept of CSE, SJBIT 2021-2022 34 | P a g e


BOOK OF BLISS

<input type="radio" id="" name="pay"> Net Banking <br>


<input type="radio" name="pay" id=""> Cash On Delivery <br>
<input type="radio" name="pay" id=""> Wallet
<br><hr>
<div class="button_section btn btn-success" onclick="msg()"> <a><span class="btn btn-
success">Continue</span></a> </div>
<h1><br></h1>
<script>
function msg(){
alert("Thank You !! You Ordered Successfully ....");
window.location="index.php";
}
</script>
</div>
</div>
</div>
</div>
</div>
<!-- end about -->
<!-- footer -->
<?php

5.2.13 ADMIN
<h3 class="font-weight-bold">Welcome Admin</h3>
</div>
</div>
</div>
</div>
<div class="col-12 grid-margin stretch-card">
<div class="card">

Dept of CSE, SJBIT 2021-2022 35 | P a g e


BOOK OF BLISS

<div class="card-body">
<h4 class="card-title">View Proflie</h4>
<table id="customers">
<tr>
<th style="text-align: center">ID</th>
<th style="text-align: center">admin Email</th>
<th style="text-align: center">password</th>
<th style="text-align: center">Update </th>
</tr>
<?php
$i=0;
while($row = mysqli_fetch_array($result)) {
if($i%2==0)
$classname="even";
else
$classname="odd";
?>
<td style="text-align: center"><?php echo $row["id"]; ?></td>
<td style="text-align: center"><?php echo $row["email"]; ?></td>
<td style="text-align: center"><?php echo $row["password"]; ?></td>
<td style="text-align: center"><a href="updatepassword.php?id=<?php echo $row["id"];
?>">Update</td>
</tr>
<?php
$i++;
}
?>

5.2.14 APPROVE REQUEST


<?php

Dept of CSE, SJBIT 2021-2022 36 | P a g e


BOOK OF BLISS

$i=0;
while($row = mysqli_fetch_array($result)) {
if($i%2==0)
$classname="even";
else
$classname="odd";
?>

<td style="text-align: center"><?php echo $row["id"]; ?></td>


<td style="text-align: center"><?php echo $row["bookname"]; ?></td>
<td style="text-align: center"><?php echo $row["authorname"]; ?></td>
<td style="text-align: center"><?php echo $row["category"]; ?></td>
<td style="text-align: center"><?php echo $row["oldnew"]; ?></td>
<td style="text-align: center"><?php echo $row["user"]; ?></td>
<td style="text-align: center"><?php echo $row["datefrom"]; ?></td>
<td style="text-align: center"><?php echo $row["dateto"]; ?></td>
<td style="text-align: center"><?php echo $row["status"]; ?></td>
</tr>
<?php
$i++;
}
?>
</table>
</div>
</div>
</div>
<!-- partial -->
</div>
<!-- main-panel ends -->
</div>
<!-- page-body-wrapper ends -->
</div>

Dept of CSE, SJBIT 2021-2022 37 | P a g e


BOOK OF BLISS

<!-- container-scroller -->

<!-- plugins:js -->


<script src="vendors/js/vendor.bundle.base.js"></script>
<!-- endinject -->
<!-- Plugin js for this page -->
<script src="vendors/chart.js/Chart.min.js"></script>
<script src="vendors/datatables.net/jquery.dataTables.js"></script>
<script src="vendors/datatables.net-bs4/dataTables.bootstrap4.js"></script>
<script src="js/dataTables.select.min.js"></script>

<!-- End plugin js for this page -->


<!-- inject:js -->
<script src="js/off-canvas.js"></script>
<script src="js/hoverable-collapse.js"></script>
<script src="js/template.js"></script>
<script src="js/settings.js"></script>
<script src="js/todolist.js"></script>
<!-- endinject -->
<!-- Custom js for this page-->
<script src="js/dashboard.js"></script>
<script src="js/Chart.roundedBarCharts.js"></script>
<!-- End custom js for this page-->
</body>

</html>

Dept of CSE, SJBIT 2021-2022 38 | P a g e


BOOK OF BLISS

5CHAPTER 6
SNAPSHOTS AND RESULTS

6.1 THE HOME PAGE


As soon as the User enters the website, the very first page visible is the home page.

Fig No.6.1 – Represents the home page

6.2 ABOUT US PAGE


After the home page as we scroll down about us page is visible.

Dept of CSE, SJBIT 2021-2022 39 | P a g e


BOOK OF BLISS

Fig No.6.2-Represents the about us page.

6.3 REGISTRATION PAGE


As soon as the user enters the website the home page and about us page is displayed if the user needs to buy
a book should initially register on the book of bliss website. The below shown is the registration of the user
page

Dept of CSE, SJBIT 2021-2022 40 | P a g e


BOOK OF BLISS

Fig No.6.3-Represents the registration page

6.4 LOGIN PAGE


Once the user gets registered themselves they need to login to their account for buying or renting the book

Fig No.6.4-Represents the login page

6.5 HOME DASHBOARD PAGE

Dept of CSE, SJBIT 2021-2022 41 | P a g e


BOOK OF BLISS

The below represents the home dashboard page of book of bliss website.

Fig No.6.5-Represents the home dashboard page

6.6 ALL CATEGORIES PAGE


The user can go to all categories to buy or rent the books of their need .All the categories page contains
the categories that are available in the store for buying or renting of the books

Fig No.6.6-Represents the all categories page.

Dept of CSE, SJBIT 2021-2022 42 | P a g e


BOOK OF BLISS

6.7 NEW/RENT BOOKS DETAILS PAGE


The details of the new books which are new and which are available for rent are displayed here

Fig No.6.7-Represents the new/rent books details page

Dept of CSE, SJBIT 2021-2022 43 | P a g e


BOOK OF BLISS

6.8 MY CART PAGE


If the user wants to buy a book first need to add the book to the my cart page..

Fig No.6.8-Represents the my cart page.

6.9 SHIPPING ADDRESS DETAILS


Once the user adds the books to the my cart page they need to place order first dor delivery of the books
address is required so shipping adress details are required

Dept of CSE, SJBIT 2021-2022 44 | P a g e


BOOK OF BLISS

Fig No.6.9-Represents the shipping address details

6.10 BILLING PAGE


The billing of books is done after the shipping address details is entered.

Fig No.6.10-Represents the billing page.

Dept of CSE, SJBIT 2021-2022 45 | P a g e


BOOK OF BLISS

6.11 PAYMENT PAGE


As soon as the billing of the book is done it directs to payment page , payment method includes

net banking, cash on delivery and wallet

Fig No.6.11-Represents the payment page.

6.12 ADMIN LOGIN PAGE


Admin login page consists of email and password.

Fig No.6.12-Represents the admin login page.

Dept of CSE, SJBIT 2021-2022 46 | P a g e


BOOK OF BLISS

6.13 ADMIN DASHBOARD PAGE


As soon as the admin login it directs to the admins dashboard page. The admin dashboard page consists of
author, category, books and rent books.

Fig No.6.13-Represents the admin dashboard page.

6.14 ADD AUTHOR PAGE


In the admin dashboard the details of the author can be added

Fig No.6.14-Represents the add author page.

Dept of CSE, SJBIT 2021-2022 47 | P a g e


BOOK OF BLISS

6.15VIEW AUTHOR PAGE


The author details added can be viewed in the view author page, all the details of the author can be seen .

Fig No.6.15-Represents the view author page.

6.16 ADD CATEGORY PAGE


Admin can add the all the different kinds of categories here.

Fig No.6.16-Represents the add category page

Dept of CSE, SJBIT 2021-2022 48 | P a g e


BOOK OF BLISS

6.17 VIEW CATEGORY PAGE


The categories added by the admin can be viewed in the view category section.

Fig No.6.17-Represents the view category page.

6.18 ADD BOOKS PAGE


Admin adds the all the books in the add books page. The details such as book image,book name ,add author

Add category,old/new books,price of the book ,quantity ,description of the book and book file.

Dept of CSE, SJBIT 2021-2022 49 | P a g e


BOOK OF BLISS

Fig No.6.18-Represents the add books page

Dept of CSE, SJBIT 2021-2022 50 | P a g e


BOOK OF BLISS

6.19 VIEW BOOKS PAGE


We can view the books which are added by the admin in the view books page.

Fig No.6.19-Represents the view books page.

Dept of CSE, SJBIT 2021-2022 51 | P a g e


BOOK OF BLISS

6.20 VIEW RENT BOOKS REQUEST PAGE


The books which are requested for rent of the books can be viewed in the admins view rent books request
page depending upon the availiability of the books the admin approves the rent books request

Fig No.6.20-Represents the view rent books request page

6.21 VIEW RENT BOOKS APPROVED PAGE


The books which are approved can be viewed in the rent books approved page.

Fig No.6.21-Representsthe view rent books approved page

Dept of CSE, SJBIT 2021-2022 52 | P a g e


BOOK OF BLISS

CHAPTER 7
TESTING

7.1 TEST CASES


Testing is the process of finding differences between the expected behavior specified by system models
and the observed behavior of the system. During testing, the program to the tested is executed with a set
of test cases, and the output of the program for the test cases is evaluated to determine if the program is
performing as it is expected to. When differences are found, developers identify the defect causing the
observed failure and modify the system to correct it. In other cases, the system model is identified as
cause of the difference and model updated to reflect the state of the system.

7.2 NEEDS OF TESTING:


The goal of testing is to design tests that exercise defects in the system and to the reveal problems. Testing
is a fault detection technique that tries to create failures or errors in a parallel way. This allows a developer
to detect failure in the system before it is released to the customer. The characteristics of a good test
model are that it contains test cases that identify errors. Every input that can possibly be given to the
system to be tested. Otherwise, there is a chance that falls are not detected.

7.3 SOFTWARE TESTING:


In any software development, testing is a process to show the correctness of the program and it meets the
design specification. Testing is needed to prove correctness, to show completeness, to improve the quality
of the software and to provide the maintenance aid. Some testing standards are therefore necessary to
ensure completeness of testing, improve the quality of the software, and reduce the testing costs and to
reduce study needs and operation time.

7.4 GOALS OF TESTING:

Dept of CSE, SJBIT 2021-2022 53 | P a g e


BOOK OF BLISS

The following are the goals of testing:

• Testing is a process of executing a program with the intent of finding an error.


• A good test case is the one that has a high probability of finding as a yet undiscovered error
• A successful test is the one that uncovers an as yet undiscovered error.

7.5 TESTING METHODS:


• Bottom-Up Testing
• Top-Down Testing
• Black Box Testing
• White Box Testing

7.5.1 Top-Down Testing:


Top-Down Testing tests the higher levels of a system before the testing its detailed components. The
program is represented as a single abstract component with sub components represented by stubs. Subs
have the same interface as the components but very limits functionality. After the top-level component has
been tested, its sub-components are implemented and tested in the same way. This process continues
recursively until the bottomlevel components are implemented. The whole system may be then completely
tested.

7.5.2 Bottom-Up Testing:


Bottom-Up Testing is the converse of Top-Down Testing. It involves testing the modules at the lower levels
of the hierarchy and then working up the hierarchy of the modules until the final module is tested. When
using bottom-up testing test drivers must be written to exercise the lower level components. The test drivers
simulate the components environment and are valuable components: the test drivers and test data should be
distributed with the component. Potential re-users can then run these tests to satisfy themselves that the
component behaves as expected in their environment.

7.5.3 Black Box Testing:


Knowing the specified function that a product has been designed to perform: test can be conducted that
demonstrates each function that is fully operational, at the same time searching for errors in each function.
Black Box testing focuses on functional requirements of the software. Black Box Testing is a software

Dept of CSE, SJBIT 2021-2022 54 | P a g e


BOOK OF BLISS

testing method in which the functionalities of software applications are tested without having knowledge
of internal code structure, implementation details and internal paths. Black Box Testing mainly focuses on
input and output of software applications and it is entirely based on software requirements and
specifications. It is also known as Behavioral Testing. Black box testing gives abstraction from code and
focuses on testing effort on the software system behavior .Black Box testing attempts to find out errors in
the following categories:

• Incorrect or missing functions.


• Interface errors.
• Errors in data structures or external database excess.
• Performance and errors.
• Initialization and termination errors.

7.5.4 White Box Testing:


Knowing the internal working of a product, test can be conducted to ensure that “all gears mesh” that is
internal operation performs according to specification and all internal components have been adequately
exercised. The testing can be done at system, integration and unit levels of software development. One of
the basic goals of whitebox testing is to verify a working flow for an application. It involves testing a series
of predefined inputs against expected or desired outputs so that when a specific input does not result in the
expected output, you have encountered a bug.Using White Box testing methods, the software engineer can
derive test cases that:

• Guarantee that all independent paths with in a module has been exercised at least once………Basis
path testing.
• Exercise all logical decisions on their true and false sides……condition testing.
• Execute all loops at their boundaries and within their operation bounds….loop testing.

7.6 TEST CASES-SNAPSHOTS


7.6.1 Register Page – (Name field)
The below shown is the test case for the register page in the name field.

Dept of CSE, SJBIT 2021-2022 55 | P a g e


BOOK OF BLISS

Fig No.7.1-Represents testcase of name in the register page

Dept of CSE, SJBIT 2021-2022 56 | P a g e


BOOK OF BLISS

7.6.2 Register Page – (Email field)


The below shown is the test case for the register page in the email field

Fig No.7.2-Represents testcase of email in the register page

Dept of CSE, SJBIT 2021-2022 57 | P a g e


BOOK OF BLISS

7.6.3 Register Page – (Contact field)


The below shown is the test case for the register page in the contact field

Fig No.7.3-Represents testcase of contact number in the register page

Dept of CSE, SJBIT 2021-2022 58 | P a g e


BOOK OF BLISS

7.6.4 Register Page – (Password field)


The below shown is the test case for the register page in the password field.

Fig No.7.4-Represents testcase of password in the register page

7.6.5 Login Page – (Validation)


The below shown is the test case for the login page validation.

Dept of CSE, SJBIT 2021-2022 59 | P a g e


BOOK OF BLISS

Fig No.7.5-Represents testcase of name in the register page

7.7 TESTCASE TABLES


7.7.1 REGISTER (PHONE NUMBER)

In the phone number field we have to enter the vaild 10 number numeric digits in the first case in the phone
number field if we enter as ABC it shows invalid . In the second test case if we enter as 111 a 3 digit number
it shows invalid and in the last test case we have given a 10 digit number 9767544267 it’s a valid

Dept of CSE, SJBIT 2021-2022 60 | P a g e


BOOK OF BLISS

SL NO FIELDS TESTCASE VALID/INVALID

1 PHONE NUMBER ABC INVALID

2 PHONE NUMBER 111 INVALID

3 PHONE NUMBER 9767544297 VALID

Table 7.1-testcase tables of phone number field in registration

7.7.2 REGISTER (EMAIL)

In the email field we have to enter the vaild email with using special character in the first case in the email
field if we enter as MIKE it shows invalid . In the second test case if we enter as MIKE123 it shows invalid
and in the last test case we have given as mike@gmail.com it’s a valid

SL NO FIELDS TESTCASE VALID/INVALID

1 EMAIL MIKE INVALID

2 EMAIL MIKE123 INVALID

3 EMAIL mike@gmail.com VALID

Table 7.2-testcase table of email field in registration

7.7.3 REGISTER (PASSWORD)

In the password field we have to enter a valid password should contain at least 8 characters—the more
characters, the better. A mixture of both uppercase and lowercase letters.A mixture of letters and
numbers. Inclusion of at least one special character, e.g., ! @ # ? ]

SL NO FIELDS TESTCASE VALID/INVALID

Dept of CSE, SJBIT 2021-2022 61 | P a g e


BOOK OF BLISS

1 PASSWORD acbdw INVALID

2 PASSWORD A@543 INVALID

3 PASSWORD Abcd@123 VALID

Table 7.3-testcase table of password field in registration

Dept of CSE, SJBIT 2021-2022 62 | P a g e


BOOK OF BLISS

CONCLUSION AND FUTURE ENHANCEMENT

The project “Book of Bliss” was successfully designed and is tested for accuracy and quality. During this
project we have accomplished all the objectives and this project meets the needs of the organization. The
users will consume less amount of time when compared to manual paper work through the automated
system. The system will take care of all the servicing activity in a quick manner. Data storing is easier.
This system will provide the serving activity in quick and easy manner. It will consume less amount of
time as it is based on automatic system. This project helps users to save a lot of time in searching for new
books and to rent books through our website. Our project provides users to get register from anywhere
and anytime

The proposed system can be further enhanced by having below features:

• Ability to add search box.


• Sending email updates on purchase on books
• Ability for user to have a query/suggestions chat box
• Connecting to global server to receive mails and messeges
• Ability to recover for user id and password.

Dept of CSE, SJBIT 2021-2022 63 | P a g e


BOOK OF BLISS

BIBLIOGRAPHY

[1]www.w3schools.com
[2]www.mySql.com
[3]www.apach.com
[4]www.php.net
[5]www.phptpoint.com
[6]www.phpgurukul.com
[7]Html & CSS textbook by JON DUCKETT
[8]MYSQL textbook by PAUL DUBOIS

Dept of CSE, SJBIT 2021-2022 64 | P a g e

You might also like