Digital Bookstore
Digital Bookstore
net/publication/353332514
Digital Bookstore
CITATIONS READS
0 461
2 authors:
Some of the authors of this publication are also working on these related projects:
All content following this page was uploaded by Amey Thakur on 19 July 2021.
Digital Bookstore
Amey Thakur1, Mega Satish2
1, 2
Department of Computer Engineering, University of Mumbai, Mumbai, Maharashtra, India
Abstract: The project's main goal is to build an online book store where users can search for and buy books based on title,
author, and subject. The chosen books are shown in a tabular style and the customer may buy them online using a credit card.
Using this Website, the user may buy a book online rather than going to a bookshop and spending time. Many online bookstores,
such as Powell's and Amazon, were created using HTML. We suggest creating a comparable website with .NET and SQL Server.
An online book store is a web application that allows customers to purchase ebooks. Through a web browser the customers can
search for a book by its title or author, later can add it to the shopping cart and finally purchase using a credit card transaction.
The client may sign in using his login credentials, or new clients can simply open an account. Customers must submit their full
name, contact details, and shipping address. The user may also provide a review of a book by rating it on a scale of one to five.
The books are classified into different types depending on their subject matter, such as software, databases, English, and
architecture. Customers can shop online at the Online Book Store Website using a web browser. A client may create an account,
sign in, add things to his shopping basket, and buy the product using his credit card information. As opposed to a frequent user,
the Administrator has more abilities. He has the ability to add, delete, and edit book details, book categories, and member
information, as well as confirm a placed order. This application was created with PHP and web programming languages. The
Online Book Store is built using the Master page, data sets, data grids, and user controls.
Keywords: SRS, Waterfall Model, Diagrams (DFD, Use Case, Class, Sequence, Collaboration, Statechart, Activity and Gantt
Chart).
I. INTRODUCTION
A. Problem Statement
The software to be designed is for a bookstore that wishes to go online. lt is to be developed to improve the efficiency for the
customer.
A. This model is chosen because our requirements are very well known, clear and fixed.
B. Product definition is stable.
C. There are no ambiguous requirements in our project.
D. The project is short.
E. This model is simple and easy to understand and use.
F. It is easy to manage due to the rigidity of the model – each phase has specific deliverables and a review process.
G. In this model, phases are processed and completed one at a time. Phases do not overlap.
H. Waterfall model works well for smaller projects where requirements are very well understood.
First of all the feasibility study is done. Once that part is over the requirement analysis and project planning begins. After the
requirements study is done, the design process begins, followed by the coding process. Once the programming is completed the
testing is done.
In this model, the sequence of activities performed in a software development project are: -
1) Requirement Analysis
2) Project Planning
3) System design
4) Detail design
5) Coding
6) Unit testing
7) System integration & testing
Here the linear ordering of these activities is critical. End of the phase and the output of one phase is the input of another phase. The
output of each phase is to be consistent with the overall requirement of the system. Some of the qualities of the spiral model are also
incorporated after the people concerned with the project review completion of each of the phases of the work done.
WATERFALL MODEL was chosen because all requirements were known beforehand and the objective of our software
development is the computerization/automation of an already existing manual working system.
A use case diagram is usually simple. It does not show the detail of the use cases:
1) It only outlines several of the connections between use cases, actors, and systems.
2) It does not show the order in which steps are performed to achieve the goals of each use case.
X. GANTT CHART
A Gantt chart is a typical bar chart that is used in project management to visually depict the progress of a development plan across
time. Contemporary Gantt charts generally indicate the timetable and status of each job in the task, as well as who is accountable for
them.
XI. DATABASE
A. Database Connectivity
dbconnect.php
1) <?php
2) define('DB_HOST', 'localhost');
3) define('DB_NAME', 'digital_bookstore');
4) define('DB_USER','root');
5) define('DB_PASSWORD','');
6) $con=mysqli_connect(DB_HOST,DB_USER,DB_PASSWORD) or die("Failed to connect to MySQL: " . mysql_error());
7) $db=mysqli_select_db($con,DB_NAME) or die("Failed to connect to MySQL: " . mysql_error());
8) ?>
B. Database
TABLE I
DATABASE T ABLES
XII. TESTING
We performed White Box Testing (Basis Path Testing) on a function of Online Bookstore and developed the test cases for the same.
B. Flow Graph
C. Independent Paths
1) Path 1: 1 → 2 → 3 → 4 → 5 → 6 → 7 → 8 → 9 → 10 → 11 → 14
2) Path 2: 1 → 2 → 3 → 4 → 5 → 6 → 12 → 13 → 14
D. Cyclomatic Complexity
1) Method 1
V(G) = e - n + 2
In the above control flow graph, where, e = 4 and n = 4
Therefore, Cyclomatic Complexity
V(G) = 4 – 4 + 2 = 2
2) Method 2
V(G) = P + 1
In the above control flow graph, where, P = 1
Therefore, Cyclomatic Complexity
V(G) = 1 + 1 = 2
3) Method 3
V(G) = Number of Regions
In the above control flow graph, there are 2 regions
TABLE 2
TEST CASES
Test Case Input Output Independent Path Covered
ID Number
1 1 Login 1 → 2 → 3 → 4 → 5 → 6 → 7 → 8 → 9 → 10 → 11 → 14
2 0 No Login 1 → 2 → 3 → 4 → 5 → 6 → 12 → 13 → 14
XIII. CONCLUSION
The transition from buying written books in bookshops to ordering them online or even simply digital versions has had a significant
impact on the industry, including retailers and libraries, as well as the general public throughout the globe. We present an
application developed using software engineering methodologies. Digital Bookstore allows the users to buy as well as review books
online. Consumers can login and search for their books, whether it is available or out of stock. Users can also give feedback. We
have implemented and tested the web application to satisfy the user specifications.
REFERENCES
[1] A. Thakur and K. Dhiman, “Chat Room Using HTML, PHP, CSS, JS, AJAX.”, International Research Journal of Engineering and Technology (IRJET),
1948–1951, 08 June 2021. https://doi.org/10.6084/m9.figshare.14869167.
[2] A. Thakur and K. Dhiman, “Chat Room Using HTML, PHP, CSS, JS, AJAX.”, ArXiv, abs/2106.14704 (2021): n. pag.
[3] A. Thakur."Car Rental System", International Journal for Research in Applied Science and Engineering Technology (IJRASET), Volume 9, Issue VII, Page
No: 402-412, ISSN 2321-9653, https://doi.org/10.22214/ijraset.2021.36339.
[4] Raggett D, Le Hors A, Jacobs I. “HTML 4.01 Specification”, W3C recommendation. 1999 Dec 24;24.
[5] Refsnes H, Refsnes S, Refsnes KJ. Learn JavaScript and Ajax with w3school, Wiley Publishing, Inc; 2010.
[6] G.K. Gill, C.F. Kemerer, “Cyclomatic complexity density and software maintenance productivity”. IEEE transactions on software engineering. 1991
[7] C. Ebert, J. Cain, G. Antoniol, S. Counsell and P. Laplante, 2016. “Cyclomatic complexity”, IEEE software, 33(6), pp.27-29, 2016.
[8] M. Delisle, Mastering phpMyAdmin 3.1 for effective MySQL management. Packt Publishing Ltd, 2009.