Professional Documents
Culture Documents
Hemanth
Hemanth
BACHELOR OF ENGINEERING
IN
COMPUTER SCIENCE AND ENGINEERING
By
KARTHIK K S 1AY20CS067
HEMANTH M 1AY20CS062
CertifiCate
Certified that the Database Management Systems mini project entitled “ONLINE CSE BOOK
STORE MANAGEMENT SYSTEM ” is a bonafide work carried out by KARTHIK K S
(1AY20CS067) and HEMANTH M (1AY20CS062) of 5th semester in partial fulfillment for the award
of degree of Bachelor of Engineering in Computer Science & Engineering of the Visvesvaraya
Technological University, Belagavi, during the year 2022-2023 It is certified that all corrections/
suggestions indicated for internal assessments have been incorporated in the Report deposited in the
departmental library. The Mini Project report has been approved as it satisfies the academic
requirements in respect of Mini Project work prescribed for the Bachelor of Engineering Degree.
1.
2.
ABSTRACT
Online shopping is the process whereby consumers directly buy goods ,services etc. from a seller
interactively in real time without an intermediary service over the internet. Online shopping is the
process of buying goods and services from merchants who sell on the internet .Since the emergence
of the world wide web, .merchants have sought to sell their books to people who surf the internet
.Shoppers can visit web stores from the comfort of their homes and shop as they sit in front of the
computer .Consumers buy a variety of items from online stores. In fact,people can purchase just
about anything from companies that provide their books online. Books , clothing ,household
appliances, toys, hardware ,software and health insurance are just some of the hundreds of books
consumers can buy from an online store. Many people choose to conduct shopping online because
of the convenience. For example, when a person shops at a brick and motor store , she has to drive
to the store ,find a parking place , and walk throughout the store until she locates the books she needs
.After finding the items she wants to purchase ,she may often need to stand in long lines at the cash
registe
ACKNOWLEDGEMENT
I express my gratitude to our institution and management for providing us with good
infrastructure, laboratory, facilities and inspiring staff whose gratitude was of immense help
in completion of this seminar successfully.
I express my sincere gratitude to our principal, Dr. RAJATH HEGDE for providing
required environment and valuable support for developing this mini project.
My sincere thanks to Dr. Ajith Padyana, Head of the Department, Computer Science and
Engineering, Acharya Institute of Technology for his valuable support and for rendering us
resources for this mini project work.
I express my gratitude to Prof. RAJINI, Assistant Professors, Dept. Computer Science and
Engineering, Acharya Institute of Technology who guided me with valuable suggestions in
completing this miniproject at every stage.
My gratitude thanks should be rendered to many people who helped me in all possible ways.
KARTHIK K S
(1AY20CS067)
HEMANTH M
(1AY20CS062)
ONLINE CSE BOOK STORE MANAGEMENT SYSTEM
TABLE OF CONTENTS
1. Abstract (i)
2. Acknowledgement (ii)
3.Table of contents (iii)
4. List of figures (iv)
1 .Introduction ...............................................................................................1-2
1.1 Introduction to book store management system ..........................................1
1.2 Objectives of the project ............................................................................1
1.3Functionalities provided by Online Book Store Management System…2
5.2.1 PHP………………………………………………………………………………….11
5.2.2 Apache……………………………………………………………………………….12
5.2.3 MySQL ……………………………………………………………………………...12
5.2.4 Xampp Server ……………………………………………………………………13
7. Results………………………………………………………………….……………17-21
9 .Bibilorapghy……………………………………………………………………….…23
CHAPTER 1
INTRODUCTION
1.1 Overview
In this era of highly advanced softwares, one can observe a lot of progress in the zone of
architectural design and its principles. There are various innovative and efficient software
engineering market which have made the life of a common man very simple and effective. Our
Online Bookstore is one such software. Using the online bookstore system has a lot many benefits. There
is absolutely no necessity for a consumer to go out in search of a particular book.
*The objective of our project is to develop a basic online book store management website for the
sales of books over the internet. The website allows an user to search for different books
of different categories which are available for purchase. Online book store is a virtual store on the
internet where customers can browse the catalog books of interest.
*The selected books may be collected in a shopping cart. At checkout time, the books in the
shopping cart will be presented as order.
* The user can then complete the purchasing by making a transaction with a credit/debit card.
1.2 Objectives
The main objective of the project is to create an online book store that allows users to search and
purchase a book online based on title , author and publisher. The selected books are displayedin the
cart and the user can order their books online through credit/debit card payment. Using this website
the user can purchase a book online instead of going out to a book store and wasting time.
• Provides the searching facilities based on various factors such as books, customer, orders.
• It also manages the login details online for books details, order details, price details.
• It tracks all the information of books, orders etc.
• Shows the information and description of the books, publishers, shopping cart.
• To increase efficiency of managing the books.
• It deals with monitoring the information and transaction of order.
• Editing, adding and updating of books is improved which results in proper resource
management of book store.
• Manage information of cart, books.
• Integration of all books of publishers.
Chapter 2
SYSTEM ANALYSIS
In the existing problem the work is done only manually but in the proposed system we have
to computerize the work using the application.
The aim of the proposed system is to develop a system of improved facilities. The proposed
system can overcome all the limitations of the existing system. The system provides proper security and
reduces the manual work.
• Security of data.
• Ensure data accuracy.
• Proper control of the higher officials.
• Minimize manual data entry.
• Minimum time needed for the various processing.
• Greater efficiency.
• Better service.
• User friendly and interactive.
Language : PHP
RAM : 128 MB
CHAPTER 3
SYSTEM DESIGN
3.1 Introduction
The most creative and challenging face of the system development is System Design. It
provides the understanding and procedural details necessary for implementing the system
recommended in the feasibility study. Design goes through the logical and physical stagesof
development. In designing a new system, the system analyst must have a clear understanding of the
objectives, which the design is aiming to fulfill. The first step is to determine how the output isto be
produced and in what format. Second, input data and master files have to be designed to meet the
requirements of the proposed output. The operational phases are handled through program
construction and testing. Design of a system can be defined as a process of applying various
techniques and principles for the purpose of defining a device, a process or a system in sufficient
detail to permit its physical realization. Thus system design is a solution to “how to” approach to
the creation of a new system. Thus important phase provides the understanding and the procedural
details necessary for implementing the system recommended in the feasibility study. The design
step provides a data design, architectural design, and a procedural design.
User Interface Design is concerned with the dialogue between a user and the computer. It
is concerned with everything from starting the system or logging into the system to the eventually
presentation of desired inputs and outputs. The overall flow of screens and messages is called a
dialogue.
The following steps are various guidelines for User Interface Design
3) Message, instructions or information should be displayed long enough to allow the system
user to read them.
4) Use display attributes sparingly.
5) Default values for fields and answers to be entered by the user should be specified.
6) A user should not be allowed to proceed without correcting an error.
7) The system user should never get an operating system message or fatal error.
Chapter 4
admin
book_isbn book_price
Publisher
An Entity Relationship Diagram (ERD) shows the relationships of entity sets stored in a database. An
entity in this context is an object, a component of data. An entity set is a collection of similar
entities. These entities can have attributes that define its properties.
By defining the entities, their attributes, and showing the relationships between them, an ER
diagram illustrates the logical structure of databases. ER diagrams are used to sketch out the design
of a database.
admin:
FIELD TYPE NULL KEY DEFAULT EXTRA
name varchar(20) NO PRI NULL
password varchar(40) NO PRI NULL
Books:
FIELD TYPE NULL KEY DEFAULT EXTRA
books_isbn varchar(20) NO PRI NULL
book_title varchar(60) YES NULL
book_author varchar(60) YES NULL
book_image varchar(40) YES NULL
book_descr text YES NULL
book_price decimal(6,2) NO NULL
publisherid int(10) NO NULL
Customers:
FIELD TYPE NULL KEY DEFAULT EXTRA
customerid int(10) NO PRI NULL auto_increment
name varchar(100) NO NULL
address varchar(80) NO
NULL city varchar(30) NO
NULL zip_code varchar(10) NO
NULL country varchar(60) NO
orders:
FIELD TYPE NULL KEY DEFAULT EXTRA
orderid int(10) NO PRI NULL auto_increment
customerd varchar(10) NO NULL
amount decimal(6,2) NO NULL
date timestamp NO current_timestamp()
ship_name char(60) NO NULL
ship_address char(80) NO NULL
ship_city char(30) NO NULL
orderlog:
FIELD TYPE NULL KEY DEFAULT EXTRA
id int(11) NO PRI NULL auto_increment
catid int(11) NO NULL
action varchar(20) NO NULL
c_date datetime NO NULL
order_items:
FIELD TYPE NULL KEY DEFAULT EXTRA
orderid int(10) NO NULL
book_isbn varchar(20) NO NULL
item_price decimal(6,2) NO NULL
quantity tinyint(3) NO NULL
publisher:
FIELD TYPE NULL KEY DEFAULT EXTRA
publisherid int(10) NO PRI NULL auto_increment
publisher_name varchar(60) NO NULL
CHAPTER 5
SYSTEM IMPLEMENTATION
5.1 Introduction
System implementation is the important stage of project when the theoretical design is tuned into
practical system. The main stages in the implementation are as follows:
* planning
* training
* system testing and
* change over planning
Planning is the first task in the system implementation. At the time of implementation of any
system people from different departments and system analysis involve. They are confirmed to
practical problem of controlling various activities of people outside their own data processing
departments. The line managers controlled through an implementation coordinating committee. The
committee considers ideas, problems and complaints of user department.
5.2.1 PHP
PHP is a server-side scripting language designed for web development but also used as a general-
purpose programming language. Originally created by Rasmus Lerdorf in 1994, the PHP reference
implementation is now produced by The PHP Group. PHP originally stood for Personal Home Page, but
it now stands for the recursive acronym PHP: Hypertext Preprocessor.
PHP code may be embedded into HTML code, or it can be used in combination with various web
template systems, web content management system and web frameworks. PHP code is usually
5.2.2 Apache
The Apache HTTP Server, colloquially called Apache, is free and open-source crossplatform web
server software, released under the terms of Apache License 2.0. Apache is developed and
maintained by an open community of developers under the auspices of the Apache Software
Foundation. The Apache HTTP server is a software (or program) that runs in the background under an
appropriate operating system, which supports multi-tasking, and provides services to other applications
that connect to it, such as client web browsers. It was first developed to work with Linux/Unix
operating systems, but was later adapted to work under other systems, including Windows and
Mac. The Apache binary running under UNIX is called HTTPd (short for HTTP daemon), and
under win32 is called Apache.exe.
5.2.3 MySQL
MySQL is a freely available open source Relational Database Management System (RDBMS) that uses
Structured Query Language (SQL). Its name is a combination of "My", the name of cofounder
Michael Widenius's daughter, and "SQL", the abbreviation for Structured Query Language.
SQL is the most popular language for adding, accessing and managing content in a database. It is
most noted for its quick processing, proven reliability, ease and flexibility of use. MySQL is an
essential part of almost every open source PHP application. Good examples for PHP &
MySQLbased scripts are WordPress, Joomla, Magento and Drupal.
One of the most important things about using MySQL is to have a MySQL specialized host.
XAMPP is a free and open-source cross-platform web server solution stack package developed by Apache
Friends, consisting mainly of the Apache HTTP Server, MariaDB database, and interpreters for scripts
written in the PHP and Perl programming languages. Since most of the servers use XAMPP,it makes
transitioning easier.
CHAPTER 6
SYSTEM TESTING
The purpose of testing is to discover errors. Testing is the process of trying to discover every
conceivable fault or weakness in a work product. It provides a way to check the functionality of
components, sub-assemblies, assemblies and/or a finished product It is the process of exercising
software with the intent of ensuring that the
Software system meets its requirements and user expectations and does not fail in an unacceptable
manner. There are various types of test. Each test type addresses a specific testing requirement.
Unit testing involves the design of test cases that validate that the internal program logic is
functioning properly, and that program inputs produce valid outputs. All decision branches and
internal code flow should be validated. It is the testing of individual software units of the
application .it is done after the completion of an individual unit before integration. This is
a structural testing, that relies on knowledge of its construction and is invasive. Unit tests perform
basic tests at component level and test a specific business process, application, and/or
system configuration. Unit tests ensure that each unique path of a business process performs
accurately to the documented specifications and contains clearly defined inputs and expected
results.
Integration tests are designed to test integrated software components to determine if they
actually run as one program. Testing is event driven and is more concerned with the basic
outcome of screens or fields. Integration tests demonstrate that although the components were
individually satisfaction, as shown by successfully unit testing, the combination of components is
correct and
consistent. Integration testing is specifically aimed at exposing the problems that arise from the
combination of components.
Functional tests provide systematic demonstrations that functions tested are available
as specified by the business and technical requirements, system documentation, and user manuals.
System testing ensures that the entire integrated software system meets requirements. It tests
a configuration to ensure known and predictable results. An example of system testing
is the configuration oriented system integration test. System testing is based on process
descriptions and flows, emphasizing pre-driven process links and integration points.
White Box Testing is a testing in which in which the software tester has knowledge of the
inner workings, structure and language of the software, or at least its purpose. It is purpose.
It is used to test areas that cannot be reached from a black box level.
Black Box Testing is testing the software without any knowledge of the inner workings, structure
or language of the module being tested. Black box tests, as most other kinds of tests, must be
written from a definitive source document, such as specification or requirements document, such
as specification or requirements document. It is a testing in which the software under test is
treated, as a black box you cannot “see” into it.
CHAPTER 7
RESULTS
Publishers Book
Book Details
My Cart
Checkout Page
Purchasing a Book
CHAPTER 8
CONCLUSION AND FUTURE ENHANCEMENTS
The online book store management system is an attempt to overcome the present in efficient and
time consuming process of locating reserving and purchasing quality reading materials available in
the shop. Through automated book shop solution, provide an easy way of searching reservingand
purchasing of books. It’s worth analyzing and identifying the benefits as it would directly
influence the productivity of the shop. This software can be easily implemented under various
situations. Any education institute can make use of it for providing information about author,
content of the available books in the library. Modifications can be easily done according to the
requirements and when necessary. it can be used in any type of Book store for managing all the
sales and purchased activities.
BIBILIOGRAPHY
www.w3schools.com
www.phppoint.com
www.mysqltutorial.com
www.html.com