You are on page 1of 49

Book Store Management

TABLE OF CONTENT
CHAPTER
NO TITLE PAGE
NO
BONAFIDE CERTIFICATE Ii

ACKNOWLEDGEMENT iii

ABSTRACT Iv

CHAPTER 1

1 Book Shop Management System 1

CHAPTER 2

2 2
System Analysis

2.1 Current system 2

2.2 Proposed system 3

2.3 Requirement Analysis 3

2.4 Feasibility study 4

2.4.1 Technical Feasibility 5

2.4.2 Economic Feasibility 6

2.4.3 Operational Feasibility 7

2.4.4 Behavioural Feasibility 7

2.4.5 Database Management System (DBMS) 7

CHAPTER 3

3 Project Design 8
3.1 Entity Relationship Diagram 8

3.2 Data Flow Diagram 8

3.2.1 Basic 9

3.2.2 First Level DFD 9

3.2.3 Second Level DFD 10

3.2.4 Third Level DFD 10

CHAPTER 4
4 About Visual Basic 6.0 11

4.1 About Microsoft Access 15

CHAPTER 5

5 System Design 17

5.1 Data Tables 17

CHAPTER 6

6 Input / Output Screens 21

CHAPTER 7

7 Documentation 27

7.1 User Manual 27

7.2 Hardware and Software Requirement 31

7.2.1 Hardware Requirement 31

7.2.2 Software Requirement 31

CHAPTER 8
8 Coding & Software 32

8.1 Software 31

8.2 Coding 35

8.2.1 Python 35

8.2.2 VS Code 37

CHAPTER 9

9 Future Scope and Limitation 42

CHAPTER 10

10 References 43

Books

Website
Abstract

The Book management system database effortlessly integrates all components related

to a book store. Bookshop management system mainly focuses on the activities of a book

store such as information on books and books sold to customers. The database flexibility,

convenient features, the maximum increase in customer service, access to accurate

information make this ideal for all sizes of Book management . This paper discusses about

why the book store needs to collect and manage information about books, publishers,

customer personal information. The Book management system is used for analyzing the store

information, customer information and when necessary to produce reports.


CHAPTER 1
1. Book Shop Management System
Computer is fast emerging as a daily need in walks of life. The knowledge of
computers and programming language has become basic .Skill need to service in
today’s information based society. Every business Institution and the corporate
section, make a use of computer for making their operation efficient & effective.
Book distributors transaction handling is one of the complex process and it
required computerized system to maintain overall transactions in an easier
manner. Due to heavy demand of books in these competitive worlds, data increase
so much. Books shop required up to date information about the customer who
purchased books or about the suppliers from where books are purchased. The
books shop requires large amount of data to record and to store, which are
collected from the Book House.
A Book Shop Management system is basically for management of incoming
and outgoing material from the Book shop It also maintain management of all
incoming and outgoing finance from the Shop account section. It will reduce paper
work & work load of user.
To reduce the Paper work and provide fast service to customers. The main
objective is to provide the customers fast and error free transaction. It can be used
in any Book Shop for maintaining database details and their quantities. This project
is used for handle user needs.
It must be outgoing process to know requirements of customer during
whole system development life cycle

Following are some of the inputs to the Book Shop


 Book Details
 Quantities of Books
 Customer Details
 Sale Details

Quantities of the products System will help to produce following outputs


 Customer bill receipt
 Rate List
 Current Quantities of the products
 Various Reports sales, stock, customers etc.

1
CHAPTER 2
2. System Analysis

Before developing any new system anywhere, it is imperative upon the developers
to acquaint themselves with environment in which the proposed system would be
installed. Also, it is necessary to interact with the user regarding their demands and the
resources available with them. This gives a clear overview of the improvements wanted
and to be provided. The study and analysis of the proposed system was carried out
diligently under the guidance of experts of the organization. In the existing system, all the
work is being carried out manually. Computers available are just for typing in the excel
sheets. Besides him, we have checked an earlier package being done in FoxPro and the
reports created in Excel sheets for more hints.

2.1 Current system

The book shop contains different types of books of various subjects with
various quality according to the customer’s needs and requirement. The main
thing of the book shop is to maintain lot of records for the daily transaction of the
business. It is necessary for 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 many things
To do. They have to manage all this unbalance workload, although everyone
wants to achieve all their ambitions and dreams. And the present system of
managing Books is very time consuming so it is very difficult to maintain good
records and fast service. 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. Some
disadvantages are:

 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

2
2.2 Proposed system

While creating new software we should analyze what is the basic need 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. Some advantages are

 User – Friendly software


 Easy to record all data about the Books and its details
 It saves time of the user as well as prevent paper work
 It provides the security to the database that is large amount of important data of the
Book Shop

 It provides more reliability for keeping information.

2.3 Requirement Analysis

This is the way to handle user needs, Identifying needs is the first step
while designing a system and implementation., it must be an outgoing process to
know requirements of customer during whole system development life cycle.
During this phase the main things to be considered are got by placing meetings and
questionnaires with customer. Requirements found during all the stages proposed
system development are

 How the present system work.


 Time take to operate the system.
 List of contents associated with the system.
 Error/failure rate to be acceptable.
3
 Risk factors involved.
 Proprietary aspects, liability risks, potential infringement, and
political issues to consider.
 Human-machine and machine-machine communication.
 Interfacing with external environment

2.4 Feasibility study

Depending on the results of the initial investigation the survey is now expanded to a
more detailed feasibility study. “FEASIBILITYSTUDY” is a test of system
proposal according to its workability, impact of the organization, ability to meet
needs and effective use of the resources. It focuses on these major questions:
1.What are the user’s demonstrable needs and how does a candidate system meet
them? 2. What resources are available for given candidate system? 3. What are the
likely impacts of the candidate system on the organization? 4. Whether it is worth
to solve the problem? During feasibility analysis for this project, following primary
areas of interest are to be considered. Investigation and generating ideas about a
new system does this. Steps in feasibility analysis eight steps involved in the
feasibility analysis are:

 Form a project team and appoint a project leader.


 Prepare system flowcharts.
 Enumerate potential proposed system.
 Define and identify characteristics of proposed system.
 Determine and evaluate performance and cost effective of each proposed system.
 Weight system performance and cost data.
 Select the best-proposed system.
 Prepare and report final project directive to management.

Feasibility study is the procedure to identify, describe the evaluate candidate


system and select the best possible action for the job. The initial investigation
culminated in a proposal summarized the thinking of the analyst, was presented to
the user for review. The proposal initiated a feasible study to describe and
evaluate the best system to choose in terms of economical, technical and
behavioral constraints.

4
The terms constraints involved in feasibility analysis are-
o Technical
o Economical
o Operational
o Behavioral

2.4.1 Technical Feasibility


 A study of resource availability that may affect the ability to achieve an
acceptable system. This evaluation determines whether the technology
needed for the proposed system is available or not.
 Can the work for the project be done with current equipment existing
software technology & available personal?
 Can the system be upgraded if developed?
 If new technology is needed then what can be developed?

This is concerned with specifying equipment and software that will successfully
satisfy the user requirement. The technical needs of the system may include:
Front-end and back-end selection
An important issue for the development of a project is the selection of suitable
front-end and back-end. When we decided to develop the project we went through
an extensive study to determine the most suitable platform that suits the needs of
the organization as well as helps in development of the project. The aspects of our
study included the following factors.

Front-End selection
1. It must have a graphical user interface that assists employees that are
not from IT background.
2. Scalability and extensibility.
3. Flexibility.
4. Robustness.
5. According to the organization requirement and the culture.
6. Must provide excellent reporting features with good printing support.
7. Platform independent.
8. Easy to debug and maintain.
9. Event driven programming facility.

5
Back-End Selection

1. Multiple user support.


2. Efficient data handling.
3. Provide inherent features for security.
4. Efficient data retrieval and maintenance.
5. Stored procedures.
6. Popularity.
7. Operating System compatible.
8. Easy to install.
9. Various drivers must be available.
10. Easy to implant with the Front-end.
According to above stated features we selected MS-Access as the backend. The
technical feasibility is frequently the most difficult area encountered at this stage. It is
essential that the process of analysis and definition be conducted in parallel with an
assessment to technical feasibility. It centers on the existing computer system (hardware,
software etc.) and to what extent it can support the proposed system.

2.4.2 Economic Feasibility

Economic justification is generally the “Bottom Line” consideration for


most systems. Economic justification includes abroad range of concerns that
includes cost benefit analysis. In this we weight the cost and the benefits
associated with the candidate system
And if it suits the basic purpose of the organization i.e. profit making, the project
is making to the analysis and design phase. The financial and the economic
questions during the preliminary investigation are verified to estimate the
following:

 The cost to conduct a full system investigation.


 The cost of hardware and software for the class of application being considered.
 The benefits in the form of reduced cost.
 The proposed system will give the minute information, as a result the
performance is improved which in turn may be expected to provide
increased profits.

6
2.4.3 Operational Feasibility
It is mainly related to human organizations and political aspects. The
points to be considered are:
 What changes will be brought with the system?
 What organization structures are disturbed?
 What new skills will be required?
Do the existing staff members have these skills? If not, can they be trained
in due course of time? The system is operationally feasible as it very easy for the
End-users to operate it. It only needs basic information about Windows platform.

2.4.4Behavioral Feasibility
After considering the following point that the system is behaviorally
feasible. The project is carried out on the request of the users. To a greater extent,
the proposed system aims at maximizing user friendliness. This is intended to
overcome resistance to change by the exiting staff. Users are quite experienced in
handling the computerized system. Users are aware of the software and hardware
environment.

2.4.5 Database Management System (DBMS)


Initially the project was planned to be implemented using PL/SQL. But keeping in

mind the future and considering scalability, stability Open source PL/SQL Community

version is decided to be used. Oracle PL/SQL Server is used because of the following

reasons:

1. Scalability and Flexibility

2. Improved reliability,

3. Better performance,

4. Reduced network traffic and

5. Increased scalability

6. Data Integrity

7. Accessible in low bandwidths


7
CHAPTER 3
3 .Project Design
3.1 Entity Relationship Diagram

3.2Data Flow Diagram

Customer
New Customer Book Shop Details
Purchase Manage ment Class Details
Order System
Order Details
Sales Bills Details

8
3.2.1Basic

3.2.2 First Level DFD

9
3.2.3 Second Level DFD

3.2.4 Third Level DFD

10
CHAPTER 4

4. Front-End and Back-End

4.1About Visual Basic 6.0


Visual Basic 6.0 is Microsoft latest and greatest version of the Visual
Basic programming language. Although writing programs can be a tedious chore
at times Visual Basic educes the efforts required on your part and marks
programming enjoyable About Visual Basic 6.0 Visual Basic marks many aspects
of programming as simple as dragging graphic object onto the screen with your
mouse

Even driven programming

Traditionally programming is essentially linear and is based on the flow of


the execution. Operation runs for fixed span or until they reached a decision
Point. At the decision point the programming branches depending on the point to
the program or the status of various variable of the program. This operation
continues till the program is completed. Once the program execution starts it is
impossible to interrupt the activity. The programmer is responsible for the
structure looks and the flow of program. If the programmer wants a good user
interface, he has to explicitly write the long and complex code for the user
interface of the program. In the conventional method the programs are usually
written in a top down manner. This may be done either using the structure
programming Approach i.e. by breaking up the program in to small sections of
independent Procedures or function or using a modular approach i.e. by creating a
program from a set of more or less self-contained function and procedures.
Theoretically, this makes a possible to reuse the modules to be used in other
programs.
In Practice, there are generally a very few routines that can be reused without
major Reworking. On this data is declared globally, any function or procedure can
Access the data, which might put it at the mercy of any function or procedure.
The likelihood of incorrect data manipulation is high. If data is declared locally
only the procedure in which the data is safer, it is very restricted. In object
oriented programming, a method (the function or procedure of an object) Know
what data if can manipulate them.
There is no confusion about who control whom. Declaring object and enclosing
method and their data in a Class achieve this. General procedures the kind use in
structured programming cannot access data with an object without using the object
methods which are designed to manipulate their data. In procedural program, the
order of procedure and control statement determines the program, flow of control.
This implies that the programmer knows the entire flow of the program while he
developed it. In program designed to capture the essence of the dynamic world, this
assumption is unrealistic and cumbersome. Object oriented programming captures
these logical relationship in object

11
Determines the flow of control in objects clarify the communication along the
Component of an application. Object responds to the other objects. Massages move
through the system, not data. Instead of invoking a Function on some data like in
conventional programming method, a message is sent to object.
This is the principle of operation in windows, Visual Basic is Object oriented,
i.e. revolves around readymade objects, and it is event driven, All the activity in
program are Triggered by one event or another. Each object also has its own event

Handling procedures. The Visual Basic system knows all about this
already. It knows what button is and how it work. It also knows how to handle
Menus dialogue boxes, drive and directory list and much else. The
Programmer’s job is to determine where, how and when an object appears on
the screen what it is to do. What is caption reads what colorist would He end what
happens, when an event occurs.
The events are trapped by the Execute, when the event occurs. Because the
program code run through event and as such at any point a Whole range of event
might be possible, the program flow is not as fixed as in a Conventional program.
Operations do not have to follow a set if sequence, and Can be easily interrupted,
suspended or abandoned.
The processes of program Design reflex the nature of the system. One begins
by creating the screen layout, And work out words from here , adding first the code
that will run in response to Specific events and then any necessary code to co-
ordinate the whole program. This approach of programming is called event driven
programming.

Programming terminology

The terminology that is used in Visual Basic programming are:

o Forms
o Controls
o Module
o Project
o Procedures
o Properties
o Methods
o Events

12
Forms
The form is the basic object used in Visual Basic application development. It is
a window, initially black on which controls are placed to create the screen display.
The forms size, colors type reprogrammable. Code can be attached to the form,
which would be executed when the form is loaded, closed or when the mouse is
clicked or moved on the form. A simple application may use only one form but a
complex application may use many form activated by various controls pasted on the
form. Each of the form on the application is saved in the
Disk as separate file with an extension “Form”

Controls
These are objects which can be pasted on to a form and these Controls range
from simple labels, which are used to display text on the screen on Form, or picture
boxes for buttons, check boxes, list and other menus, to file management utilities and
spreadsheet style grids. Their properties, and event they can handle, very to suit their
nature. Each control can have coed Attached to it, though not all will have. A text
label or graphic image, for ex. May be There simply to improve the display, and not
as the start point for any activities.

Module
Code that is attached to form is accessible from anywhere on that Form, but a program
more than one form. In such a case a code attached to a form. In such case a code
attached to a form is not available to the other forms. In this case, the code that is
required to be made available to the other forms is written in a separate module.
Modules are code segments, which are not written inside the scope of any form. They
have global scope.These cannot be made visible during run time. It is like any other
program code. There may be several modules in one program and each is saved as
separate file. These
Files have an extension of “BAS”, because these are BASIC code modules.

Procedure
All the code in the visual basic program is written in the forms of procedure,
or subroutines. Most of these procedures will be attached to the event some controls
or forms. Some of the procedures would be separately written inside the modules as
global functions. All the procedures start with keyword Sub and close with the
keyword End Sub.

13
Project
he project is a file in which all the form files (*.frm files) and the modules
(*.bas files) that make up the entire application, is kept. These Have an extension of
“* .Mac”. They are called Make file thus any
Application will have a “*. vbp”file.

Properties
Each control has a set of predefined properties, method and events that it will
respond to. Properties are simply characteristics of an object or control. They are used to
store data describes some particular attribute of the object such as color, size or the picture
present in a control. The one property that every object must have is the Name property. This
is used to refer to the object must be unique in a project. Visual Basic assign default name to
control when you add them to your form, but you can alter these at design time (and you
should alter them at design time) to make
Your code more descriptive. Note that you can’t change control’s
Name property at run time,

These won’t appear in the properties

Window .Properties can be set at design time using the properties window or they
can be set and reference within your Visual Basic code. Properties are reference in
the form of object name. Property and in some respect you can think of them like a
variable. You can assign a value to a property Just as you assign a value to a variable.
Here we assign the text string “John smith” to text property of the object called
Text1:
Text1.text=” john smith”
Just as with variable, properties can also be used as part of other statement: Print your
name is: Text1.text

Methods

Methods are action that can be performing on an object. These are like
procedures. They are written in code in the form object name. Method
parameters for e. forms have a move method that moves them to the procedure
specified by the parameter. In this case, the top left of the form would be move
screen coordinates (370,915) asForm1.move 30,915When you referred to the
property or method of an object that resides in a form other than one form which
you are refereeing it , you will need to give it a fully qualified reference. These
means preceding name of the object with the name of the form like this:
FormName. ObjectName. property This sort of reference to an object can be
extended in the case of OLE application to include the name of the project
before the name of The form. If you don’t supply a fully qualified reference,

14
Visual Basic assumes that you are referring to the project and form in which you are
making the reference.

Events
Events are the key to Visual Basic programming each object in the
Visual Basic can be respond to a predefined set of events. These would-be
movement of the mouse, the pressing of the key on the keyboard or The
lapsing the particular period of time. You can see which events control can
respond to by adding controls to your form and double-clicking it to bring up
the code window. The procedure dropdown list box in the top right corner of
the code window contains a list of all the events that a control can respond to.
If you select one of the item in the list box, the first and last lines of a
procedure are added to your code. Thisproce4dure will be triggered whenever
that particular event occurs, so any code that you add to the procedure will be
executed at the sometime. This is how you create Visual Basic code to respond
to user interaction and other events.

4.1About Microsoft Access


Access is database program and it is very popular RDBMS (Relational Database
Management System) Software. We can use access database to stores almost any
information when purpose of application is to allow voluminous data to be stored in
computer and permit quires to be made to find needed data with the little effort.

Access is powerful database and is for ease with which you can use it. Using
Access you can built relationship between tables that contain different fields to pull
together reports. Our primary navigation tool in access is that database windows tabs
on database window which Give access to each object contained in the current
database it contains tables, queries, forms, reports, macros, modules etc.

Database
A database is files in which you store data include all the major objects
related to the stored data; including objects you define to automate the use of your
data. In other database systems, the term database used to refer to only those files in
which you store data.
Here is a summary of the major objects in an Access database.

15
Table
An object you define and use to store data. Each table contains
information about a particular subject, such as customers or orders. Table contains
Fields (or columns) that store different kinds of data, such as a name or an address,
and, Records (or rows) that collect all the information about a particular instance of
the subject.

E.g. All the information about a company


You can define a primary key (one or more fields that have a unique value for each
record) and, one or more indexes on each table to help retrieve your data more
quickly.

Query
Query in an object that provides a custom view of data from one or more
tables. In Access, you can use the graphical query by example (QBE) facility or you
can write SQL statements to create your queries. You can define queries to select,
update, insert, or delete data. You can also define queries that create new tables from
data in one or more existing tables.

Form
An object designed primarily for data input or display or for control; of
application execution. You use forms to customize the presentation of data that your
application extracts for queries or tables. You can also print forms. You can design a
form to run a macro or a Visual Basic procedure in response to any of a number of
events- for example, to run a procedure when the value of data changes.

Report
An object designed for formatting, calculating, printing, and summarizing selected
data. You can view a report on your screen before you print it.

16
CHAPTER 5
5. System Design

Software design is an actually a multi-step process that focuses on four distinct


attributes of program namely data structure, software architecture, interface
representation and procedural details. The design process translates requirements
into a representation of the software that can be assessed for quality before code
generation begins. The design is documented and is part of the software
configuration.

Code Generation
The design must be translated into a machine readable form. The code
generation steps perform this task.

Testing
The testing process focuses on the logical internals of the software assuring that
all statements have been tested and on the functional externals that is conducting tests
to uncover errors and ensure that defined input will produce actual results that agree
with required.

Maintenance
Software will undoubtedly undergo changes after it is delivered to the customer.
Change will occur because errors have been

5.1Data Tables

1) Users Table – Login Information

No. Field Name Data Type

1 User_Name Text

2 Password Text

17
2) Books Table – Book Information

No. Field Name Data Type

1 BookID Number

2 BookName Text

3 ISBN Text

4 Category Number

5 Author Text

6 Price Number

7 SalePrice Number

8 Stock Number

3) Cat Table – Book Categories Information

No. Field Name Data Type

1 Cat_ID Number

2 Cat_Name Text

18
4) Customers Table – Customer Information

No. Field Name Data Type

1 Cust_ID Number

2 Cust_Name Text

3 Cust_Addr Text

4 Cust_No Text

5 CreditAmt Number

6 GenTime Date\Time

5) Bills Table – Bills Information

No. Field Name Data Type

1 Bill_ID Number

2 Customer_ID Number

3 BillDate Date\Time

4 Bill_Details Number

5 Bill_Time Date\Time

6 Total Number

7 TotalDisc Number

8 AmtRecv Number

19
6) Bill Details Table – Bill Item Details Information

No. Field Name Data Type

1 Bill_Details_ID Number

2 Bill_ID Number

3 Book_ID Number

4 Quantity Number

5 Discount Number

6 Cust_ID Number

CHAPTER 6

20
6)Input / Output Screens

Home screen:

Login Screen

21
Sales Operations Screen

Bill screen

22
Invoice

Admin login

23
Administrator page

Order details

Add new book


24
Sliders

Category screen

25
Writer screen

CHAPTER 7

26
7. Documentation

7.1) User Manual

Login Process
Start program and enter user name and password in the boxes and press ok
button

Sales Operations

View Existing Bills/Sale Details


o Start the program and login
o Press the Sales Button or Select View\Edit Details from Sales Menu
o Select Bill No. you want to view from list
Edit Existing Bills
o From the Main Screen Press the Sales Button or Select View\Edit
Details from Sales Menu
o Select Bill No. you want to edit from list
o Click on edit button at the bottom
o Make changes add\delete books from bill and click Ok button
Delete Existing Bills
o From the Main Screen Press the Sales Button or Select View\Edit
Details from Sales Menu
o Select Bill No. you want to edit from list
o Confirm delete operation
Add New Bills
o From the Main Screen Press the Sales Button or Select View\Edit
Details from Sales Menu
o Press Add button at the bottom
o Select Existing customer from list or Enter Details for new customer
o Enter other details and Add Books to bill
o Confirm Discount and Amount Received from customer
o Press OK button

27
Books Operations

View Details of Books


o From the Main screen Press Books Button or Select
View\Edit from Books Menu
o Select Book from list which details you want

Edit Details of Books


o From the Main screen Press Books Button or Select
View\Edit from Books Menu
o Select Book from list which details you want to edit
o Press Edit Details Button at the Bottom
o Make Changes
o Press OK Button

Delete Book
o From the Main screen Press Books Button or Select
View\Edit from Books Menu
o Select Book from list which details you want to edit
o Press Delete Book Button at the Bottom
o Confirm Operation

Add New Book


o From the Main screen Press Books Button or Select
View\Edit from Books Menu
o Select Book from list which details you want to edit
o Press Add Book Button at the Bottom
o Enter Details
o Press OK Button

28
Customers Operations
View Details of Customers
o From the Main screen Press Books Button or Select
View\Edit from Customers Menu
o Select Customer from list which details you want

Edit Details of Customers


o From the Main screen Press Customers Button or Select
View\Edit from Customers Menu
o Select Customer from list which details you want to edit
o Press Edit Button at the Bottom
o Make Changes
o Press OK Button

Delete Customer
o From the Main screen Press Customers Button or Select
View\Edit from Customers Menu
o Select Customer from list which details you want to edit
o Press Delete Button at the Bottom
o Confirm Operation

Add New Customer


o From the Main screen Press Customers Button or Select
View\Edit from Customers Menu
o Select Customer from list which details you want to edit
o Press Add Button at the Bottom
o Enter Details
o Press OK Button

29
Reports
Stock Report

o From the Main screen Press Reports Button or Select


Stock Report from Reports Menu
o Press Stock Report Button

Sales Report

o From the Main screen Press Reports Button or Select


Sales Report from Reports Menu
o Press Sales Report Button

Customer Details Report

o From the Main screen Press Reports Button or Select


Customer List from Reports Menu
o Press Customer List Button

Books Report

o From the Main screen Press Reports Button or Select


Books List from Reports Menu
o Press Books List Button

Inventory Operations

Order Entry

o From the Main screen Press Inventory Button or Select


Order Entry from Inventory Menu
o Press Order Entry
o Select Book From List

30
o Enter Quantity of Order to be added to Inventory
o Press OK
View All Sold Inventory

o From the Main screen Press Inventory Button or Select


Show All Sold from Inventory Menu
o Press Show All Sold
Logout Process

o From the Main screen Press Logout Button or Select


Logout from File Menu

7.2) Hardware and Software Requirement

7.2.1 Hardware Requirement:


Here is the recommended hardware requirement for this software to run efficiently.
1) Pentium 166 MHz or higher processor
2) 32 MB RAM
3) 50 MB free hard disc space
4) SVGA monitors
5) Printer (Optional)

7.2.2 Software Requirement:


This software comes under application software. So the necessary software for this is
1) Windows operating system family.
2) Window 9,8,7

3) VS Code block

4) Pycharm (version 2021.3.2)

5) Command prom

31
6) Chrome browser

CHAPTER 8

8) Coding & Software


8.1 Software
 Pycharm(Python)
 VS Code block(HTML,CSS)

Pycharm

PyCharm is an integrated development environment (IDE) used in computer


programming, specifically for the Python programming language. It is developed by
the Czech company JetBrains (formerly known as IntelliJ). It provides code analysis,
a graphical debugger, an integrated unit tester, integration with version control
systems (VCSes), and supports web development with Django as well as data science
with Anaconda.

PyCharm is cross-platform, with Windows, macOS and Linux versions

Features

 Coding assistance and analysis, with code completion, syntax and error highlighting,
linter integration, and quick fixes
 Project and code navigation: specialized project views, file structure views and quick
jumping between files, classes, methods and usages
 Python refactoring: includes rename, extract method, introduce variable, introduce
constant, pull up, push down and others
 Support for web frameworks: Django, web2py and Flask [professional edition only]
 Integrated Python debugger
 Integrated unit testing, with line-by-line code coverage
 Google App Engine Python development [professional edition only]
 Version control integration: unified user interface for Mercurial, Git, Subversion,
Perforce and CVS with change lists and merge

32
 Support for scientific tools like matplotlib, numpy and scipy [professional edition
only]
 It competes mainly with a number of other Python-oriented IDEs, including Eclipse's
PyDev, and the more broadly focused Komodo IDE.
Visual Studio Code

Visual Studio Code, also commonly referred to as VS Code, is a source-code


editor made by Microsoft for Windows, Linux and macOS. Features include support for
debugging, syntax highlighting, intelligent code completion, snippets, code refactoring, and
embedded Git. Users can change the theme, keyboard shortcuts, preferences, and install
extensions that add additional functionality.

Features
 Visual Studio Code is a source-code editor that can be used with a variety of
programming languages, including Java, JavaScript, Go, Node.js, Python and C++.
 It is based on the Electron framework, which is used to develop Node.js Web
applications that run on the Blink layout engine.
 Visual Studio Code employs the same editor component (codenamed "Monaco") used
in Azure DevOps (formerly called Visual Studio Online and Visual Studio Team
Services).

 Out of the box, Visual Studio Code includes basic support for most common
programming languages. This basic support includes syntax highlighting, bracket
matching, code folding, and configurable snippets.
 Visual Studio Code also ships with IntelliSense for JavaScript, TypeScript, JSON,
CSS, and HTML, as well as debugging support for Node.js.
 Support for additional languages can be provided by freely available extensions on the
VS Code Marketplace.
 Instead of a project system, it allows users to open one or more directories, which can
then be saved in workspaces for future reuse.
 This allows it to operate as a language-agnostic code editor for any language. It
supports many programming languages and a set of features that differs per language.
 Unwanted files and folders can be excluded from the project tree via the settings.
Many Visual Studio Code features are not exposed through menus or the user
interface but can be accessed via the command palette.
 Visual Studio Code can be extended via extensions, available through a central
repository. This includes additions to the editor and language support.
 A notable feature is the ability to create extensions that add support for new
languages, themes, and debuggers, perform static code analysis, and add code linters

33
using the Language Server Protocol.

 Source control is a built-in feature of Visual Studio Code. It has a dedicated tab inside
of the menu bar where you can access version control settings and view changes made
to the current project.
 To use the feature you must link Visual Studio Code to any supported version control
system (Git, Apache Subversion, Perforce, etc.).
 This allows you to create repositories as well as to make push and pull requests
directly from the Visual Studio Code program.

 Visual Studio Code includes multiple extensions for FTP, allowing the software to be
used as a free alternative for web development.
 Code can be synced between the editor and the server, without downloading any extra
software.
 Visual Studio Code allows users to set the code page in which the active document is
saved, the newline character, and the programming language of the active document.
This allows it to be used on any platform, in any locale, and for any given
programming language.

Software icon

Vscode
Pycharm

34
8.2. Coding
8.2.1 Python:
Over all management:

#!/usr/bin/env python
import os
import sys

if __name__ == '__main__':
os.environ.setdefault('DJANGO_SETTINGS_MODULE',
'bookstore.settings')
try:
from django.core.management import
execute_from_command_line
except ImportError as exc:
raise ImportError(
"Couldn't import Django. Are you sure it's
installed and "
"available on your PYTHONPATH environment
variable? Did you "
"forget to activate a virtual environment?"
) from exc
execute_from_command_line(sys.argv)

Admin management:
from django.contrib import admin
from .models import Category, Writer, Book, Slider

class AddCategory(admin.ModelAdmin):
list_display = ['name', 'slug']
prepopulated_fields = {'slug': ('name',)}

admin.site.register(Category, AddCategory)

class AddWriter(admin.ModelAdmin):
list_display = ['name', 'slug']
prepopulated_fields = {'slug': ('name',)}

admin.site.register(Writer, AddWriter)

class AddBook(admin.ModelAdmin):

35
list_display = ['name', 'price', 'stock', 'status',
'created', 'updated']
list_filter = ['status', 'created', 'updated']
list_editable = ['price', 'stock', 'status']
prepopulated_fields = {'slug': ('name',)}

admin.site.register(Book, AddBook)

class AddSlider(admin.ModelAdmin):
list_display = ['title', 'created', 'updated']
#list_editable = ['title',]

admin.site.register(Slider, AddSlider)

Order management
from django import forms
from .models import Order

class OrderCreateForm(forms.ModelForm):
DIVISION_CHOICES = (
('Dhaka', 'Dhaka'),
('Chattagram', 'Chattagram'),
('Rajshahi', 'Rajshahi '),
)

DISCRICT_CHOICES = (
('Dhaka', 'Dhaka'),
('Gazipur', 'Gazipur'),
('Narayanganj', 'Narayanganj'),
)

PAYMENT_METHOD_CHOICES = (
('Rocket', 'Rocket'),
('Bkash','Bkash')
)

division = forms.ChoiceField(choices=DIVISION_CHOICES)
district = forms.ChoiceField(choices=DISCRICT_CHOICES)
payment_method =
forms.ChoiceField(choices=PAYMENT_METHOD_CHOICES,
widget=forms.RadioSelect())

class Meta:
model = Order
fields = ['name', 'email', 'phone', 'address',
'division', 'district', 'zip_code', 'payment_method',
'account_no', 'transaction_id']

36
8. VS Code:
HTML,CSS CODE

HTML:
<!DOCTYPE html>
<html>
<head>
    <title>Online Book Store</title>
    { % load static % }
    <script src="https://code.jquery.com/jquery-2.2.0.min.js"
type="text/javascript"></script>
    <link rel="stylesheet" type="text/css" href="{% static
'css/bootstrap.min.css' %}">
    <link rel="stylesheet" type="text/css" href="{% static 'css/font-
awesome.min.css' %}">
    <link rel="stylesheet" type="text/css" href="{% static 'css/style.css'
%}">
    <link rel="stylesheet" type="text/css" href="{% static
'css/responsive.css' %}">
    <link rel="stylesheet" type="text/css" href="{% static 'css/slick.css'
%}">
    <link rel="stylesheet" type="text/css" href="{% static 'css/slick-
theme.css' %}">
    <link rel="stylesheet" type="text/css" href="{% static 'css/skdslider.css'
%}">
</head>
<body>
<div class="pre_loader gray_bg text-center">
    <div class="loader">
        <div><div><div><div></div></div></div></div>
    </div>
</div>
{% include 'store/bin/header.html' %}

{% block headermenu %} {% endblock %}

<div class="container-fluid">
    <div class="row">
        <div class="col-sm-2">
            {% include 'store/bin/sidebar.html' %}
        </div>
        <div class="col-sm-10">
            {% block container %}{% endblock %}

37
        </div>
       
    </div>
</div>
<div id="snackbar"></div>

{% include 'store/bin/footer.html' %}

<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.3.1/
js/bootstrap.min.js" type="text/javascript"></script>
<script
src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-touchspin/4.2.5/
jquery.bootstrap-touchspin.js" type="text/javascript"></script>
<script src="{% static 'js/skdslider.min.js' %}"></script>
<script
src="https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.8.1/slick.min.js"
type="text/javascript"></script>
<script
src="https://cdnjs.cloudflare.com/ajax/libs/Readmore.js/2.2.1/readmore.js"
type="text/javascript"></script>
<script src="https://www.google-analytics.com/analytics.js"
type="text/javascript"></script>
<script src="{% static 'js/main.js' %}"></script>
{% block scripts %}{% endblock %}
</body>
</html>

CSS
.skdslider{
 width:100%;
 position: relative;
 display: block;
 overflow:hidden;
 height:320px;
}

.skdslider ul.slides{ margin:0; padding:0; list-style-type:none;}


.skdslider ul.slides li
{
   display: none;
}
.skdslider ul.slides li img{
    width: 100%;
    height:100%;
    border:0;
}

38
.skdslider ul.slide-navs {
    bottom: 20px;
    left: 50%;
    position: absolute;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.skdslider ul.slide-navs li {
    float: left;
    background: url("image/skslide/slide-bg.png") no-repeat scroll 0 0
transparent;
    height:12px;
    width:12px;
    margin-right:4px;
    cursor:pointer;
}
.skdslider ul.slide-navs li.current-slide {
  background: url("image/skslide/slide-bg-active.png") no-repeat scroll 0 0
transparent;
}

.skdslider .slide-desc {
    background: url("image/skslide/slide_desc.png") repeat scroll 0 0
transparent;
    left: 0;
    padding: 0 15px 0 15px;
    position: absolute;
    bottom: 15%;
    max-width: 85%;
    display:inline-block;
}
.skdslider .slide-desc > h2 {
    color: #CFDB0C;
    font-family: 'Oswald';
    font-size: 25px;
    margin-bottom: 10px;
    margin-top: 10px;
    text-transform: uppercase;
}

.skdslider .slide-desc > p {


    color: #FFFFFF;
    font-family: 'Oswald';
    font-size: 16px;
    line-height: 20px;
    margin-top: 5px;

39
}
.skdslider .slide-desc > p a.more {
    color:#990000;
    font-size:20px;
    text-decoration:none;
}
.skdslider .slide-desc > p a.more:hover {
text-decoration:underline;
}

.skdslider a.prev{
    background: url("image/skslide/left.png") no-repeat scroll 0 0
transparent;
    width:35px;
    height:35px;
    display:block;
    cursor:pointer;
    position:absolute;
    top:50%;
    left:2%;
    margin-top:-17px;
}

.skdslider a.next{
    background: url("image/skslide/right.png") no-repeat scroll 0 0
transparent;
    width:35px;
    height:35px;
    display:block;
    cursor:pointer;
    position:absolute;
    top:50%;
    right:2%;
1    margin-top:-17px;
}
.skdslider a.prev:hover{
 
}
.skdslider a.next:hover{
 
}

.skdslider a.play{
    background: url("image/skslide/play.png") no-repeat scroll center center
transparent;
    width:35px;
    height:35px;
    display:none;

40
    cursor:pointer;
    position:absolute;
    top:50%;
    left:48%;
    margin-top:-17px;
}

.skdslider a.pause{
    background: url("image/skslide/pause.png") no-repeat scroll center center
transparent;
    width:35px;
    height:35px;
    display:none;
    cursor:pointer;
    position:absolute;
    top:50%;
    left:48%;
    margin-top:-17px;
}
/*Some Responsive CSS */
@media screen and (max-width:767px) {
    .skdslider .slide-desc > h2 {
        font-size: 20px;
        margin-bottom: 5px;
        margin-top: 5px;
    }
   
    .skdslider .slide-desc > p {
        font-size: 14px;
        line-height: 15px;
        margin-top: 5px;
    }
    .skdslider .slide-desc > p a.more {
        font-size:14px;
    }
}

Other coding:

All code are included in this files

41
CHAPTER 9

9) Future Scope and Limitation

This software has demands in private and public area. This software provides
a great help in managing the data in a well-mannered order. This project is designed
specially to maintain the data in a sequential manner and to save the tome and efforts
of database Administrator. The project is structured according to today’s need.
Due to time constraint it is possible that some points might remain uncovered by
us. In future we will update our software to give valuable information left at
present.

Though the system has been designed according to the requirements of the users it
has its own limitation. Thus the limitation of system are-
 No facility to create new users with different roles
 Object oriented Approach has been not been fully utilized

42
CHAPTER 10
10)References

Books

Visual Basic 6.0 Black Book


Visual Basic 6.0 Programming – Vision Publication
Pycharm 2021.3.2

Websites

Google.com
Freetutes.com
Freevbcode.com

43
44

You might also like