0% found this document useful (0 votes)
565 views36 pages

Book Shop Automation System

This document provides an introduction and overview of an online bookshop management system. The system was developed to automate operations for a bookstore like managing books, processing orders, maintaining stock, and accounting. Key features of the system include allowing customers to purchase books online without complexity, tracking purchases and inventory, and generating reports. The proposed computerized system provides advantages over a manual paper-based system like reduced errors, time savings, increased security and reliability. The document also provides hardware and software requirements to run the online bookshop system, including using PHP and MySQL on a XAMPP server.

Uploaded by

The Tech Expert
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
565 views36 pages

Book Shop Automation System

This document provides an introduction and overview of an online bookshop management system. The system was developed to automate operations for a bookstore like managing books, processing orders, maintaining stock, and accounting. Key features of the system include allowing customers to purchase books online without complexity, tracking purchases and inventory, and generating reports. The proposed computerized system provides advantages over a manual paper-based system like reduced errors, time savings, increased security and reliability. The document also provides hardware and software requirements to run the online bookshop system, including using PHP and MySQL on a XAMPP server.

Uploaded by

The Tech Expert
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 36

Online Book Shop

INTRODUCTION
Book Store Management System is the web application to automate all kinds of operations in the
book shop. The purpose of this software is to manage the books in the book store. Generally, it
includes the Order Processing, Stock Management and Accounts Management. We developed
this software to maintain records of sales, purchase and staff records. Here we are try to develop
such type system which is provide the automation on the any type of the bookshop. That means a
shop which has the type system which provides the facility to the customers of the shop to
purchase the books from the shop without any complexity.

At the start of the business, the books store owner buys the book from the dealers. All the name
of the books is noted down in the software along with rate. In the present system user has to do
all work manually. In present system during issuing order of more stock, the product register is
required to check to availability of stock in hand. And it takes time to check records

1.1 OBJECTIVE.
The amount paid to a particular dealer from whom the book was bought is also saved in
the dealers tab. In present book store management system, to generate the reports based on the
management requirement, will require extensive searching of records. In case of Supplier and
Staff Record Management, the registers need to be updated time to time as information (like
Phone No., Address) changes frequently. The stock section gives the total number of book stocks
available in the store. When a customer buys a book from the store, a bill is generated. The bill
contains the name of the book purchased, rate per book, quantity, total rate and the total amount.
For example any customer want to purchase any book from the shop than first of all customer
just choose the stream of the book than he/she can see the more than one type of books there and
then he/she can choose the specific book from there. And then purchase it by paying price on
bookshop cash counter and receives its invoice.

BCA IN WEB SCIENCE Page 1


Online Book Shop

. EXISTING SYSTEM
The book shop contains different types of books of various subjects with various qualities
according to the customer’s need and requirement. The main things of the book shop are to
maintain lot of records for the daily transaction of the business. It is necessary for an every
business to maintain all records, which show the profit and loss of the business.

In today’s life people have very little time and main things to do. They have to manage
all this unbalance work load, although everyone wants to archive all their ambition and dream.
And the present system of managing books is very time consuming so it is very difficult to
maintain good records and fast services. The paper work is becoming very difficult to handle day
by day. Currently we have to keep track of each and every thing about the book shop on the
paper or in register. We have to maintain lot of registers to enter these large volumes of data.
This leads to the wastage of stationary.

DISADVANTAGES OF EXISTING SYSTEM:


 Manual system involves a lot of paper work, so it becomes time-consuming and costly.
 The chances of errors in calculation of delivery of Books are more in the current manual
system. The calculation of total collection for day or month or year is very difficult.
 Currently no security is provided to the large amount of data of the every book details.
 It becomes very difficult to maintain details of every Book as records increases day by
day.

BCA IN WEB SCIENCE Page 2


Online Book Shop

PROPOSED SYSTEM
While creating new software we should analyze what is the basic need of the software.
Analysis is nothing but a planning of creation of software to get proper output from it. Analysis
is details study of projects that you want to show in your software solving problems. The basic
need of the software is to save the time of the user with the help of all useful information. And
also to maintain the collection of data in your computer systematically, so that it’s easy to
understand. The proposed system provides lot of facility to the user to store information of the
Books and it provides information in Quick time in a systematic manner. The processing time on
the data is very fast. It provides required data quickly to the user and also in specified manner to
the user. All the information of Books changes is given to the user and also the reports are also
generated according to the requirement of the user. Today it is becoming very difficult to maintain record
manually. This software system easily does the job of maintaining daily records as well as the
transaction according to the user requirements.

ADVANTAGES OF PROPOSED SYSTEM.


 User friendly software
 Easy to record all data about the Books and its details.
 It saves time of the user as well as prevents paper work.
 It provides the security to the database that is large amount of important data of book.
 The Book Shop It provides more reliability for keeping information

BCA IN WEB SCIENCE Page 3


Online Book Shop

SOFTWARE & HARDWARE REQUIREMENTS


4.1 Hardware Requirements :
 HDD : 20 GB Free Space
 Processor : Pentium 199 MHz
 RAM : 128 MB
 Monitor : Any System
 Keyboard : Standard
 Mouse : Optional
 4.2 Software Requirements :

 FrontEnd : HTML,CSS,HTML
 MiddleWare : PHP
 BackEnd : MYSQL
 Server : XAMPP
 Connector : PHPMYSQL
 Codingpurpose : Notepad++
 Browser : Google Chrome ,Internet Explorer ,Mozilla Firefox

BCA IN WEB SCIENCE Page 4


Online Book Shop

INTRODUCTION TO PHP & MYSQL


5.1 PHP
PHP is a popular high-level scripting language used by a range of organizations and developers.
Originally developed as a small Perl project by RasmusLerdorf in late 1995, PHP was intended
as a means to assist in developing his home page, and as such he named it Personal Home Page
(PHP) Tools.

When Lerdorf was contracted to work for the University of Toronto to build adial-up system for
students to access the Internet, he had no means of connecting Web sites to databases. To solve
this problem, the enterprising Lerdorf replaced his Perl code with a C wrapper that added the
capability to connect his Web pages to a MySQL database. As his small project grew, he gave
away his changes on the Internet as an Open Source project and cordially received improvements
from other programmers with an interest in PHP. The language was later renamed to the current
recursive acronym PHP: Hypertext Pre-processor by ZeevSuraski and AndiGutmans after they
rewrote the parser in 1997. The software continued to develop and now forms the comprehensive
PHP platform we know today.

PHP provides a solid and well-defined programming language that includes support for object
orientated programming, conditions, file handling, arithmetic, and more. The language that PHP
forms is similar in semantics to that of a shell scripting language combined with the easier bits of
the C language. PHP subscribes to the batteries-included philosophy of programming languages
and includes extensive support for a huge range of needs, such as cookies,forms, sessions,include
files, network sockets, e-mail and more. Database support covers not only MySQL but many
others, including but not limited to Posture SQL, Oracle, MS SQL, dBase, Sybase, and DB2.
This flexible database support is useful if you ever need to port your application to a different
database. In addition to PHP’s capability as a Web scripting language, PHP also can be used as a
shell scripting language.

XAMPP provides a complete PHP, Apache, and MySQL Web development environment that
can be installed by downloading, unzipping, and running the software. XAMPP makes the
installation dramatically easier, and the software also includes a raft of additions and extras that
are genuinely useful, including PHP extensions, a Web front end for MySQL (which is used
throughout the book), and more. XAMPP is freely available for Windows, Linux, Mac OS X,
and Solaris.

BCA IN WEB SCIENCE Page 5


Online Book Shop
Vision provides cost-effective and customizable PHP Web Programming Services in order to
render a range of PHP Web Development Services for both new and existing websites running
on PHP / Apache/ MySQL combination which is becoming the choice of IT and non-IT industry
leaders for dynamic websites

Oceanic Vision leads the world market as a quality PHP Outsourcing Company in India through
the development of PHP based websites and fast driven applications. Oceanic Vision provides
timely, efficient and affordable PHP Programming Services. We have gained experience through
a variety of PHP Projects done for customers based in India

History
The first version of PHP, PHP/FI, was developed by RasmusLerdorf as a means of monitoring
page views for his online resume’s and slowly started making a mark in mid-1995. This version
of PHP had support for some basic functions, primarily the capability to handle form data and
support for the mSQL database. PHP/FI 1.0 was followed by PHP/FI 2.0 and, in turn, quickly
supplanted in 1997 by PHP 3.0.

PHP 3.0, developed by AndiGutmans and ZeevSuraski, was where things started to get
interesting. PHP 3.0 was a complete rewrite of the original PHP/FI implementation and it
included support for a wider range of databases, including MySQL and Oracle. PHP 3.0’s
extensible architecture encouraged independent developers to begin creating their own language
extensions, which served to increase the language’s popularity in the developer community.
Before long, PHP3.0 was installed on hundreds of thousands of web servers, and more and more
people were using it to build database-backed web applications.

PHP 4.0,which was released in 2003, used a new engine to deliver better performance, greater
reliability and scalability, support for web servers other than Apache, and a host of new language
features, including built-in session management and better OOP support. And, as if that wasn’t
enough, the current tversion of PHP, PHP 5.0, offers a completely revamped object model that
uses object handles for more consistent behaviour when passing objects around, as well as
abstract classes, destructors, multiple interfaces, and class type hints.

PHP5.0also includes better exception handling, a more consistent XML toolkit, improved
MySQL support, and a better memory manager. So far, all these changes have conspired to make

BCA IN WEB SCIENCE Page 6


Online Book Shop
PHP 5.0 the best PHP release in the language’s ten-year history . . . a fact amply illustrated by
the April 2004 Netcraft survey, which shows PHP in use on over fifteen million web sites.

Features
As a programming language for the Web, PHP is hard to ignore. Clean syntax, object-oriented
fundamentals, an extensible architecture that encourages innovation, support for both current and
upcoming technologies and protocols, and excellent database integration are just some of the
reasons for the popularity it currently enjoys in the developer community.

• Simplicity
Because PHP uses a consistent and logical syntax, and because it comes witha clearly written
manual, even novices find it easy to learn. In fact, the quickest way to learn PHP is to step
through the manual’s introductory tutorial, and then start looking at code samples off the Web.
Within a few hours, you’ll have learned the basics and will be confident enough to begin writing
your own scripts. This adherence to the KISS (Keep It Simple, Stupid) principle has made PHP
popular as a prototyping and rapid application development tool for web applications. PHP can
even access C

libraries and take advantage of program code written for this language, and the language is
renowned for the tremendous flexibility it allows programmers in accomplishing specific tasks.

• Portability
With programming languages, portability—the ease with which a program can be made to work
on different platforms—is an important factor. PHP users have little to fear here, because
crossplatform development has been an important design goal of PHP since PHP 3.0. Today,
PHP is available for a wide variety of platforms, including UNIX, Microsoft Windows, Mac OS,
and OS/2. Additionally, because PHP code is interpreted and not compiled, PHP scripts written
on one platform usually work as is on any other platform for which an interpreter exists. This
means that developers can code on Windows and deploy on UNIX without any major
difficulties.

BCA IN WEB SCIENCE Page 7


Online Book Shop
• Speed
Out of the box, PHP scripts run faster than most other scripting languages, with numerous
independent benchmarks putting the language ahead of competing alternatives like JSP,
ASP.NET, and Perl. When PHP 4.0 was first released, it raised the performance bar with its
completely new parsing engine. PHP 5.0 improves performance even further through the use of
an optimized memory manager, and the use of object handles that reduce memory consumption
and help applications run faster.

• Open Source
Possibly the best thing about PHP is that it’s free—its source code is freely available on the Web,
and developers can install and use it without paying licensing fees or investing in expensive
hardware or software. Using PHP can thus significantly reduce the development costs of a
software application, without compromising on either reliability or performance. The open-
source approach also ensures faster bug fixes and quicker integration of new technologies into
the core language, simply due to the much larger base of involved developers.

• Extensible
Keeping future growth in mind, PHP’s creators built an extensible architecture that enables
developers to easily add support for new technologies to the language through modular
extensions. This extensibility keeps PHP fresh and always at the cutting edge of new technology.
To illustrate this, consider what PHP lets youdo through its add-on modules: dynamically create
image, PDF, and SWF files; connect to IMAP and POP3 servers; interface with MySQL, Oracle,
Postgre SQL, and SQLite databases; handle electronic payments; parse XML documents; and
execute Perl, Java, and COM code through a PHP script. And as if all that wasn’t enough, there’s
also an online repository of free PHP classes called PEAR, the PHP Extension and Application
Repository, which provides a source of reusable, bug-free PHP components.

• XML and Database Support


Regardless of whether your web application sources its data from an XML fileor a database,
PHP has you covered. PHP 5.0 comes with an improved MySQL extension that enables you to
take advantage of new features in the MySQL RDBMS (including subqueries, transactions, and
referential integrity), and the language also supports DB2, PostgreSQL, Oracle, mySQL, MS-
SQL, Informix,Sybase, and SQLite. Alternatively, if it’s XML you’re after, PHP 5.0 offersa
completely redesigned XML API built around the libxml2 toolkit; this API supports SAX, DOM,
and XSLT, as well as the new Simple XML and SOAP extensions.

BCA IN WEB SCIENCE Page 8


Online Book Shop

5.2 MySQL
MySQL is a high-performance, multiuser relational database management system that is today
the de facto standard for database-driven software applications, both on and off the Web.
Designed around three fundamental principles—speed, stability, and ease of use—and freely
available under the GNU General Public License, MySQL has been dubbed “the world’s most
popular open-source database” by its parent company. And with good reason. Official statistics
reveal over five million sites are creating, using, and deploying MySQL-based applications, with
more coming into the fold on a daily basis.

If you are planning on starting, for example, a bank or a savings and loan, MySQL probably isn’t
for you. But for the majority of people using the majority of applications, MySQL is a great
choice. It is particularly well suited for Web applications.

MySQL is a powerful and comprehensive relational database server, which was originally
developed by David Axmark, Allan Larsson, and Michael “Monty” Widenius. The commercial
company they founded, MySQL AB, develops and markets MySQL and associated products.
Although the MySQL software originated as an Open Source project, its creators were confident
that they could run a business using the product as a base. This business enables the developers
to work full time on the software, which in turn benefits both the Open Source community and
commercial users of MySQL. Both the open and commercial MySQL variants are functionally
the same; the only difference in the software is how it is licensed.

MySQL also has support for a number of programming languages to access and query the
database. This includes languages such as PHP, Python, Perl, C, C++, and Java, among others.
Although you may wish to initially use only PHP to query the database, Multilanguage support is
useful if you need to write modules and applications in different languages in the future.

History
The MySQL story hasn’t always been about rocketing growth rates and high user satisfaction
ratings, however. MySQL has an interesting history, with roots going back to 1979, when
Michael “Monty” Widenius created a database system named UNIREG for the Swedish
company TcX. UNIREG didn’t work for TcX on account of performance issues, and so
TcXbegan a search for alternatives. They tried mySQL, a competing DBMS created by David
Hughes, but when that attempt also failed, a new approach was called for. Thus, Widenius
decided to create a new database server customized to his specific requirements, but based on the
mySQL API (to simplify porting applications between the two). That system, completed and
released to a small group in May 1996, became MySQL 1.0.

A few months later, MySQL 3.11 saw its first public release as a binary distribution for Solaris.
Linux source and binaries followed shortly; an enthusiastic developer community and a friendly,

BCA IN WEB SCIENCE Page 9


Online Book Shop
GPL-based licensing policy took care of the rest. As MySQL grew in popularity, TcX became
MySQL AB, a private company that today is the sole owner of the MySQL server source code
and trademark. MySQL AB is responsible for maintenance, marketing, and further development
of the MySQL database server and related products. Today, MySQL is available for a wide
variety of platforms, including Linux, MacOS, and Windows.

Features
MySQL’s development history has always been characterized by a clear-eyed focus on the most
important attributes of a good RDBMS: speed and stability. This has resulted in a system that
outperforms most of its competitors without sacrificing reliability or ease of use, thereby gaining
it a loyal base of developers, administrators, and users worldwide. The following sections
describe MySQL’s most compelling features.

• Speed
In an RDBMS, speed—the time taken to execute a query and return the results to the caller—is
everything. MySQL scores high on this parameter, with better performance than almost all its

competitors, including commercial systems like Microsoft SQL Server and IBM DB2. This
blazing performance is more the result of intelligent software design than luck: MySQL uses a
fully multithreaded architecture; special optimizers for complex tasks like joins and indexing; a
query cache, which improves performance without any special programming needed by the user;
and the capability to use different storage engines on a per-table basis, so that users can mix and
match different feature sets to squeeze the maximum performance out of the system.

• Reliability
When it comes to reliability, MySQL’s creds are impeccable. The MySQL RDBMS has been
tested and certified for use in high-volume, mission-critical applications by some of the world’s
largest organizations, including NASA, HP, and Yahoo! Because MySQL has deep roots in the
open-source community, every new release is typically “battle-tested” by users all over the
world, on different operating systems and in different operating conditions, to ensure that itis
completely bug-free before being certified for use. Further, every new release of MySQL first
has to pass MySQL’s in-house test suite, affectionately known as crash-me because its primary
goal is to attempt to crash the system.

BCA IN WEB SCIENCE Page 10


Online Book Shop
• Security
Security is an important concern when dealing with multiuser databases, and MySQL’s
developers have taken a great deal of care to ensure that MySQL is as secure as possible.
MySQL comes with a sophisticated access control and privilege system to prevent unauthorized
users from accessing the system. This system, implemented as a five-tiered privilege hierarchy,
enables MySQL administrators to protect access to sensitive data using a combination of user-
and host-based authentication schemes. Users can be restricted to performing operations only on
specified databases or fields, and MySQL even makes it possible to control which types of
queries a user can run, at database, table, or field level.

• Scalability and Portability


MySQL can handle extremely large and complex databases without too much of a drop in
performance. Tables of several gigabytes containing hundreds of thousands of records are not
uncommon, and the MySQL web site itself claims to use databases containing 50 million
records.

And once you’ve got your tables filled with data ,you can move them from one platform to
another without any difficulty—MySQL is available for both UNIX and non-UNIX operating
systems, including Linux, Solaris, FreeBSD, OS/2, MacOS, and Windows 95, 98, Me, 2000, XP,
and NT. It runs on a range of architectures, including Intel x86, Alpha, SPARC, PowerPC, and
IA64, and supports many different hardware configurations, from low-end 386s to high-end
Pentium machines.

• Ease of Use
Most commercial RDBMSs are intimidating, with cryptic command-line interfaces and
hundreds of tunable parameters. Not this one, though—well aware that a complex interface adds
to the total cost of ownership of an RDBMS, the MySQL development team has taken pains to
make MySQL easy to use, administer, and optimize. A simple SQL command-line interface
(SQL commands are covered in Chapters 9 to 11) is the primary user interface to the server;
users with a more visual bent can, instead, use MySQL Control Center or MySQL Administrator,
two GUI clients developed by MySQL AB for MySQL usage and administration. A number of
other browser-based tools are also available, and the application is well supported by a detailed
manual, a knowledgeable developer community, and some excellent books and tutorials.

BCA IN WEB SCIENCE Page 11


Online Book Shop

• Compliance with Existing Standards


MySQL 4.0 supports most of the important features of the ANSI SQL-99 standard, with support
for missing features slated to be added in future versions. MySQL also extends the ANSI
standard with its own custom functions and data types designed to improve portability and
provide users with enhanced functionality. On the internationalization front, MySQL 4.0
supports a number of important character sets (including Latin, Big5, and European character
sets), with full Unicode support scheduled for future versions.

• Wide Application Support


MySQL exposes APIs to many different programming languages, thereby making it possible to
write database-driven applications in the language of your choice. This book focuses specifically
on using PHP with MySQL, but readers working with other programming languages will be
pleased to hear that MySQL AB also provides native ODBC and JDBC drivers for the Microsoft
Windows and Java platforms. Additionally, hooks to MySQL are available in C, C++, Perl,
Python, and Tcl, to offer developers maximum freedom in designing MySQL-backed
applications.

• Easy Licensing Policy


The MySQL RDBMS is licensed under the GPL, and users are free to download and modify the
source code of the application to their needs, and to use it to power their applications free of cost.
This licensing policy has only fuelled MySQL’s popularity, creating an active and enthusiastic
global community of MySQL developers and users. This community plays an active role in
keeping MySQL an ahead of its competition, both by crash-testing the software for reliability on
millions of installations worldwide and by extending the core engine to stay abreast of the latest
technologies and newest developments.

5.3 APPLICATION ARCHITECTURE


In information systems, applications architecture or application architecture is one of several
architecture domains that form the pillars of an enterprise architecture (EA).

Applications architecture describes the behavior of applications used in a business, focused on


how they interact with each other and with users. It is focused on the data consumed and
produced by applications rather than their internal structure. In application portfolio
management, the applications are usually mapped to business functions and to application.
BCA IN WEB SCIENCE Page 12
Online Book Shop
The applications architecture is specified on the basis of business and functional requirements.
This involves defining the interaction between application packages, databases, and middleware
systems in terms of functional coverage. This helps identify any integration problems or gaps in
functional coverage. A migration plan can then be drawn up for systems which are at the end of
the software life cycle or which have inherent technological risks.

Applications architecture tries to ensure the suite of applications being used by an organization to
create the composite architecture is scalable, reliable, available and manageable. Applications
architecture means managing how multiple applications are poised to work together. It is
different from software architecture, which deals with technical designs of how a system is built.

One not only needs to understand and manage the dynamics of the functionalities the composite
architecture is implementing but also help formulate the deployment strategy and keep an eye out
for technological risks that could jeopardize the growth and/or operations of the organization.

• Application modeling
Employs modeling as a framework for the development of new or enhanced applications, uses
modeling to find problems, reduce risk, improve predictability, reduce cost and time-to-market,
tests various product scenarios, incorporating clients' needs/requirements, adds test design
decisions to the development process as necessary, evaluates product design problems.
Competitive intelligence, business modeling, strategic analysis understanding of the global
marketplace, consumers, industries and competition, and how global business models, strategies,
finances, operations and structures interrelate. Understanding of the competitive environment,
including current trend in the market, industry, competition and regulatory environment, as well
as understanding of how the components of business model (i.e. strategy, finances, operations)
interrelate to make organization competitive in the marketplace. Understanding of organization's
business processes, systems, tools, regulations and structure and how they interrelate to provide
products and services that create value for customers, consumers and key stakeholders.
Understanding of how the value create for customers, consumers and key stakeholders aligns
with organization's vision, business, culture, value proposition, brand promise and strategic
imperatives. Understanding of organization's past and present achievements and shortcomings to
assess strengths, weaknesses, opportunities and risks in relation to the competitive environment.

BCA IN WEB SCIENCE Page 13


Online Book Shop
• Technology
Understanding of IT strategy, development lifecycle and application/infrastructure maintenance;
Understanding of IT service and support processes to promote competitive advantage, create
efficiencies and add value to the business.

• Technology standards
Demonstrates a thorough understanding of the key technologies which form the infrastructure
necessary to effectively support existing and future business requirements, ensures that all
hardware and software comply with baseline requirements and standards before being integrated
into the business environment, understands and is able to develop technical standards and
procedures to facilitate the use of new technologies, develops useful guidelines for using and
applying new technologies.

BCA IN WEB SCIENCE Page 14


Online Book Shop

FEASIBILITY STUDY
An initial inspection is to come across whether the request done by the system is feasible. All systems
are viable when it is provided with never ending time and boundless resource. This circumstance does
not exist in realistic world. Therefore it is better to assess the system feasibility during the initial phase.
Feasibility & risk analysis are co-related. If there exist much risk in a project, then, the chance of
developing high quality software is less. The different feasibilities to be analyzed are as follows:

6.1 Performance Analysis:


First thesoftware must run in a well networking environment in order to enhance complete
functionality. Normally, windows 10 are used as O.S.

6.2 Technical Analysis:


System is said to be favorable when the information meets the technical requirements of an
organization. It checks whether the system work properly when developed & installed, and also
checks if there exists any barriers to implement the system. Apart from these, there several points
to focus on the technical analysis:

 Modifications to be made in the system: Modifications made should be such that, it


increased the level of efficiency.
 Required skills: Skilled manpower is readily available in the industry with known
languages and platforms used in the project.
 Acceptability: An end user must accept the structure of the system.

6.3 Economical Analysis


Cost of the hardware used is less. Many users can access the system at same time as it is
based on the network. For running this system, high performance servers are not required.

Software modules are used to implement the functions. No physical devices are used for
connection which makes it more economical on.

BCA IN WEB SCIENCE Page 15


Online Book Shop

DESIGN OBJECTIVE
7.1 DATA FLOW DIAGRAM:
7.1.1 LEVEL 0:

Requestfor Process Ordered


Customer book Display book
order

Books

Invoice

BCA IN WEB SCIENCE Page 16


Online Book Shop

7.1.2 LEVEL 1:

1.0
Request for book Demanded book
Customer Process Displays book
order

List of books Supplier Publication

Book request 2.0 Demanded book


1.0
Search by
topic

BCA IN WEB SCIENCE Page 17


Online Book Shop

7.1.3 ER DIAGRAM

Contact_no Customer id
_id
Customer name

CUSTOMER Address
1

Buys
Address
Book name Publisher name
Author
N Book isbn N
Price
BOOKS
Published PUBLICATION
by

Publication Publisher Id

Supplies
Supplier name

Customer name
1
SUPPLIER Address

Supplier id
Email

BCA IN WEB SCIENCE Page 18


Online Book Shop

DATA TABLE
8.1 Customer Table

ATTRBUTES CONSTRAINTS DATA TYPE

Customer Id Primary Key Number

Customer Name Varchar

Address Varchar

Contact No Varchar

8.2 Books Table


ATTRBUTES CONSTRAINTS DATA TYPE
BookISBN PrimaryKey Number

BookName Varchar

Author Varchar

Publisher Varchar

Amount Number

BCA IN WEB SCIENCE Page 19


Online Book Shop

8.3 Supplier Table


ATTRBUTES CONSTRAINTS DATA TYPE

Supplier Id PrimaryKey Number

Supplier Name Varchar

Address Varchar

Contact No. Varchar

Email Id Varchar

8.4 Publication Table


ATTRBUTES CONSTRAINTS DATA TYPE
Publication Id Primary Key Number

Publication Name Varchar


Address Varchar

BCA IN WEB SCIENCE Page 20


Online Book Shop

MODULE DESCRIPTION
9.1 Login :-
User identification of customer login registration need to first register themselves to login into
the system .

9.2 Customer Details Module :-


After log in to the page a form will be given for the user to fill the required fields like user name
, contact no , address.

9.3 Books :
By which user can put the details of books and user can search it and buy the book online and see
other related books of same author or of the same category .

9.4 Supplier
Supplier are the organization that provide goods or services , suppliers do not interact with
consumers directly leaves for vendors.

9.5 Publication:
It includes the name of publisher and year of the book that has been published .

BCA IN WEB SCIENCE Page 21


Online Book Shop

TEST CASES
10.1 Test scenario for admin login

Test scenario for admin id: admin


Test case description: Login positive test case

Pre-Requisite: A valid admin dashboard

Test Case ID: 101

sl no. Action Inputs Expected Actual Test Test


Output Output Result Comments
Launch the localhost/bookshop Book shop Book shop Pass Login
1. application home page home page successful

Enter the Username: admin Login Login Pass Login


2. correct Password: xxxx successful successful successful
username
and
password
and hit the
login button

BCA IN WEB SCIENCE Page 22


Online Book Shop

BCA IN WEB SCIENCE Page 23


Online Book Shop
10.2 Test scenario for admin login with password
Test scenario for admin id: admin

Test case description: Login negative test case

Pre-Requisite: A invalid admin dashboard

Test Case ID: 102

sl no. Action Inputs Expected Actual Test Test


Output Output Result Comments
Enter invalid Username: The The Fail Invalid
1. username and property username username login
any password Password: that you that you attempt
and hit the xxxxx have have stopped
login button entered is entered is
wrong wrong
enter again enter again
? ?
Enter the Username: Password Password Fail Invalid
2. valid admin you have you have login
username and Password: entered is entered is attempt
incorrect xxx incorrect incorrect stopped
password and
hit the login
button

BCA IN WEB SCIENCE Page 24


Online Book Shop

BCA IN WEB SCIENCE Page 25


Online Book Shop
10.3 Test scenario for Add Book
Test scenario for Adding book

Test case description: Register positive test case

Pre-Requisite: A valid Add property home page

Test Case ID: 103

sl Action Inputs Expected Actual Test Test


no. Output Output Result Comments
Open Localhost/ Add book Add book Pass Add book
1. market bookshop/admin/ page will page will page open
page and add book open we open we successfully
add can add can add
product. product. product.

Enter the Title: crop Details Details Pass Add book


2. details title, Type: vegetable you have you have successfully
type, sold, Description: good entered is entered is
price, for health correct correct
Farmer, Image: (upload) and based and based
description, on on
image. category category
book will book will
be be
displayed. displayed.

BCA IN WEB SCIENCE Page 26


Online Book Shop

BCA IN WEB SCIENCE Page 27


Online Book Shop
10.4 Test scenario for Add Book
Test scenario for Adding book

Test case description: Register negative test case

Pre-Requisite: A invalid Add product home page

Test Case ID: 104

sl Action Inputs Expected Actual Test Test


no. Output Output Result Comments
Enter the Title: book Details Details Fail Add book
1. details title, Type: novel you have you have unsuccessfully
type, sold, Description: good entered is entered is
price, for health incorrect incorrect
author Image: (upload) try again. try again.
name,
description,
image.

BCA IN WEB SCIENCE Page 28


Online Book Shop

BCA IN WEB SCIENCE Page 29


Online Book Shop

REPORT GENERATION
11.1 Home Page:
The home page is the main web page of a website. The term can also refer to one or
more pages always shown in a web browser when the application starts up. The home page
is used to facilitate navigation to other pages on the site by providing links to prioritized
and recent pages.

BCA IN WEB SCIENCE Page 30


Online Book Shop
11.2 ADMIN LOGIN
Here the admin can login if he is already a user or else he/she can register by giving the
details that is required

BCA IN WEB SCIENCE Page 31


Online Book Shop
11.3 Cart:
Add to Cart is a way to create a temporary list of items by adding them to your cart, which
will keep track of the items until you leave our website. You can export items in
your cart by saving the list to a file or sending it to an email address. You can also place the
items on hold or add them to your wish list.

BCA IN WEB SCIENCE Page 32


Online Book Shop
11.4 Publisher :
Publishers set the editorial and commercial direction for companies that publish books,
newspapers, magazines and digital content. They make decisions about the markets their
companies will serve and the type of content they will offer their audience.

BCA IN WEB SCIENCE Page 33


Online Book Shop
11.5 Contact Page

Contact us pages are often the go-to for a new visitor on a mission. It's where they go when they
have a question and truly want to speak to an individual at your organization. They exist to serve
the user with the purpose of providing the user with information on how they can get in touch
with you.

BCA IN WEB SCIENCE Page 34


Online Book Shop

CONCLUSION
This Bookshop Management System is an attempt to overcome the present inefficient and time-
consuming process of locating, reserving and purchasing quality.

Reading materials available in the store. Currently, clients have to go through a time consuming
process to perform aforementioned tasks which cause waste of labor and firms resources.
Through our automated book store solution, we provide an easy way of searching, reserving and
purchasing of books.

User data are validated and checked for authenticity with the data stored in the system database.

All the newly coined processes will address time consuming, ineffective and inefficient areas
of the existing system which has being wasting a lot of firms resources such as, labor, electricity,
equipment, products and services, while discouraging customers to make purchases and repelling
clients from the book store.

BCA IN WEB SCIENCE Page 35


Online Book Shop

FUTURE SCOPE
In future, we will try to cover all the states and cities till now we have covered it at very small
scale.We will also introduce new features such as Author videos and his reviews so that users
can get more satisfaction about his deal.Now we can think that how the days have been changed
with time. People had to stand in rows to wait there terms to buy a particular thing from a
popular shop.As the technology emerges, it is possible to upgrade the system and can be
adaptable to desired environment.Because it is based on object-oriented design, any further
changes can be easily adaptable.

BCA IN WEB SCIENCE Page 36

You might also like