Professional Documents
Culture Documents
Submitted in partial fulfilment for the award of the degree of bachelor of engineering in
computer science and engineering
SUBMITTED BY:
SUSHMA KARJOL(1KT20CSO87)
Prof. SUSHMA M
Assistant professor, Dept of CSE, SKIT
BANGALORE – 560090
CERTIFICATE
This is to certify that the mini project entitled “ONLINE CSE BOOK STORE
MANAGEMENT SYSTEM” as a part of 18CSL58 laboratory, is bonafide work carried out
by a PRANITA SHAHI bearing USN:1KT20CS056 and SUSHMA KARJOL bearing
USN:1KTO20CS087 partial fulfilment for the award of degree in bachelor of
Engineering in Computer Science Engineering from Visvesvaraya Technological
University, Belagavi during the academic year 2022-23. It is certified that all the
corrections/suggestions indicated for internal assessment have been incorporated in
reports submitted in the department Library. This mini project report has been
approved as it satisfies the academic requirements in respect of the mini project report
prescribed for award of said degree.
1…………………… 1………………
2…………………… 2………………
ACKNOWLEDGMENT
Any achievement does not depend solely on individual efforts but on the
guidance, encouragement and cooperation of intellectuals, elders and
friends. A number of personalities, in their own capacities, have helped us in
carrying out this mini project work. We would like to take this opportunity
to thank them all.
This completion of mini project work brings a sense of satisfaction, but it is
never complete without thanking the persons responsible for its successful
completion.
I express my heartfelt sincere gratitude to Dr SHANTHARAM NAYAK,
Professor and HOD, Department of Computer Science and Engineering, Sri
Krishna Institute of Technology, Bengaluru, for his valuable suggestions and
support.
I extend my special in-depth, heartfelt, sincere gratitude to my guide Prof
SAVITHA B PATIL and Prof SUSHMA M Assistant Professor, Department of
Computer Science and Engineering, Sri Krishna Institute of Technology,
Bengaluru, for her constant support and valuable guidance for completion of
the mini-project work.
I would like to thank all the teaching and non-teaching staff members in my
Department Of Computer Science and Engineering, Sri Krishna Institute of
Technology, Bengaluru, for their support.
Finally, we thank our Parents and Friends and Teacher for their moral
support.
PRANITA SHAHI
1KT20CS056
SUSHMA KARJOL
Dept of CSE,SKIT 2022-2023 Page 3
Online CSE Book Store Management System
1KT20CS087
DECLARATION
I, PRANITA SHAHI and SUSHMA KARJOL student of 5th semester in Computer
Science and Engineering, Sri Krishna Institute of Technology, Bengaluru, hereby declare that
the mini project entitled, “ONLINE CSE BOOK STORE MANAGEMENT SYSTEM” has been
carried out by us under the supervision of Prof SAVITHA B PATIL and Prof SUSHMA M
Assistant professor, Dept. of Computer Science and Engineering, Sri Krishna Institute of
Technology, Bengaluru and submitted in partial fulfilment for the award of degree In
Bachelor of Engineering in Computer Science and Engineering of Visvesvaraya Technological
university, Belagavi during the academic year 2022 – 2023. We further declare that the
report has not been submitted to any other University for the award of any other degree.
PRANITA SHAHI
1KT20CS056
SUSHMA KARJOL
1KT20CS087
Place: Banglore
Date:
ABSTRACT
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 subject. The selected books
are displayed in a tabular format and the user can order their books online through credit
card payment. Using this Website the user can purchase a book online instead of going out
to a book store and wasting time.
There are many online book stores like Powell's Amazon which were designed using Html. I
want to develop a similar website using NET, SQL Server.
Online Book store is an online web application where the customer can purchase books
online. Through a web browser the customers can search for a book by its title or author,
later can add to the shopping cart and finally purchase using credit card transaction. The
user can login using his account details or new customers can set up an account very
quickly. They should give the details of their name, contact number and shipping address.
The user can also give feedback to a book by giving ratings on a score of five. The books are
divided into many categories based on subject like Software, Database, English, and
Architecture etc.
The Online Book Store Website provides customers with online shopping through a web
browser. A customer can, create, sign in to his account, place items into a shopping cart and
purchase using his credit card details.
The Administrator will have additional functionalities when compared to the common user.
He can add, delete and update the book details, book categories, member information and
also confirm a placed order.
This application is developed using HTML, AND PHP Programming languages. The Master
page, data sets, data grids, user controls are used to develop the Online Book store.
TABLE OF CONTENTS
CHAPTER 1: INTRODUCTION
1.1 Overview……………………………………………………………………………...………………8
1.2 Objectives…………………………………………………………………………….…….…………8
2.3.2Hardware Requirements………………………………………………………….…...…………11
3.1 Introduction…………………………………………………………………………….……………12
4.1 SCHEMA……………………………………………………………………………….……………….14
5.2.1 PHP……………………………………………………………………………………………..18-19
5.2.2 Apache……………………………………………………………………………….….………..19
5.2.3 MySQL………………………………………………………………………………….………..19
Admin……………………………………………………………………………….…………………..………23-24
Admin_verify………………………………………………………………………………………….………..25-26
List of Books……………………………………………………………………………………….……….………..28
List of Publishers………………………………………………………………………………..….….…...…..…28
Publisher Book………………………………………………………………………………..……..…..……..…..29
Book Details…………………………………………………………………………………………..…..……....…29
My Cart………………………………………………………………………………………………………..………..30
Purchasing a Books…………………………………………………………………………………….………….31
BIBILIOGRAPHY …………………………………………………….……………………...………….33
CHAPTER 1
INTRODUCTION
1.1Overview
In this era of highly advanced software, one can observe a lot of progress in the zone of
architectural design and its principles. There are various innovative and efficient software
engineering markets 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 a 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 catalogue 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 displayed in 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, and
orders.
• It also manages the login details online for books details, order details, price details.
• Shows the information and description of the books, publishers, shopping cart.
• Editing, adding, and updating of books is improved which results in proper resource
management of book store.
Chapter 2
SYSTEM ANALYSIS
2.1 Existing System
In the existing problem the work is done only manually but in the proposed
system we have to computerize the work using the application.
• Time consuming.
• Security of data.
• Greater efficiency.
• Better service.
Language: PHP
2.3.2Hardware Requirements
RAM: 128 MB
Hard Disk: 20 G
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 thesystem
recommended in the feasibility study. Design goes through the logical andphysical stages of
development. In designing a new system, the system analyst musthave a clear
understanding of the objectives, which the design is aiming to fulfil. Thefirst step is to
determine how the output is to be produced and in what format. Second, input data and
master files must be designed to meet the requirements of the proposedoutput. The
operational phases are handled through program construction and testing.Design of a
system can be defined as a process of applying various techniques andprinciples for the
purpose of defining a device, a process or a system in sufficient detail to permit its physical
realization. Thus, system designis a solution to “how to” approach to the creation of a new
system. Thus,Important phase provides the understanding and the procedural
detailsNecessary for implementing the system recommended in the feasibility study.The
design step provides a data design, architectural design, and a proceduraldesign .
The following steps are various guidelines for User Interface Design
1) The system user should always be aware of what to do next.
2) The screen should be formatted so that various types of information, instruction and
messages always appear in the same general display area.
5) Default values for fields and answers to be entered by the user should be specified.
7) The system user should never get an operating system message or fatal error.
Chapter 4
DATABASE RELATIONSHIP
4.1 SCHEMA
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.
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
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.
PHP is a server-side scripting language designed for web development but also used as a
general-purpose programming language. Originally created by Ramus Lerdor1994, 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 Pre-
processor. 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 processed by a PHP interpreter implemented as a module
in the web server or as a Common Gateway Interface (CGI) executable.
5.2.2 Apache
The Apache HTTP Server, colloquially called Apache, is free and open-source cross platform
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 HTTP (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 Wideness’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 & MySQL based scripts are WordPress, Joomla, Magneto and Drupal. One
of the most important things about using MySQL is to have a MySQL specialized host.
Server, MariaDB database, and interpreters for script written in the PHP
and Perl programming languages. ince 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 tests. 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 istreated, as a black box you cannot “see” into it.
Admin
<?php
?>
<div class="form-group">
<div class="col-md-4">
</div>
</div>
<div class="form-group">
<div class="col-md-4">
</div>
</div>
</form>
<?php
require_once "./template/footer.php";
Admin_verify
<?php
session_start();
if(!isset($_POST['submit'])){
exit;
require_once "./functions/database_functions.php";
$conn = db_connect();
$name = trim($_POST['name']);
$pass = trim($_POST['pass']);
exit;
$pass = sha1($pass);
// get from db
if(!$result)
exit;
$row = mysqli_fetch_assoc($result);
$_SESSION['admin'] = false;
exit;
$_SESSION['admin'] = true;
header("Location: admin_book.php");
XAMPP –
XAMPP is a free and open-source cross-platform web server solution stack package
developedbyApache Friends, consisting mainly of the Apache HTTP Server, MariaDB
database, and interpretersforscripts written in the PHP and Perl programming languages.
Since most actual web server deploymentsusethe same components as XAMPP, it makes
transitioning from a local test server to a live server possible
Table of customer:
Publishers Book
Book details
My Cart
Purchasing a Book
CHAPTER 8
Dept of CSE,SKIT 2022-2023 Page 31
Online CSE Book Store Management System
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 reserving and purchasing of books. It’s worth analysing 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
7 th edition, 2017,pearson.
http://www.w3schools.com/
http://www.phppoint.com/
http://www.mysqltutorial.com/
http://www.html.com/