Download as pdf or txt
Download as pdf or txt
You are on page 1of 44

1

Bangladesh Army University of Engineering and Technology (BAUET)


Qadirabad Cantonment, Natore-6431.

Department of Computer Science and Engineering

Integrated Design Project

Book Store Management System

Submitted By: Submitted To:


Details of Instructor

Sree Rony prosad shaha


ID : 16204001
Batch : 4th
Dept. : CSE
2

CONTENTS

List of Tables 7-11

List of Figures 7-8

1. Introduction 12-13

1.1 . Objective of Project 13

2. Scope of Project 14

3. Theoretical Background 14-20

3.1 . PHP 20-24

3.2. JAVA

3.3. HTML & CSS

4. System Analysis & Design 18-27

4.1. Introduction 18

4.2.Objective 19

4.3. Defining A System 19-20

4.4.System Life Cycle. 20-27

5. Complete Structure 28-32

5.1.Overall Description 28-30

5.2.Function Description. 30-32


3

6. Feasibility Study 32-34


6.1.Technical feasibility 32

6.2.Economic feasibility 33

6.3.Behavioral feasibility 34

7. Database design
8. Relational Database management system
8.1.Relation Domains & Attributes

8.2.Relationship

9. Normalisation

9.1.First Normal Form

9.2.Second Normal Form

9.3.Third Normal Form

10.System Maintains & Evaluation

10.1.Testing & Debugging

10.2.Security

11.Cost & Benefit Analysis

11.1.Hardware Costs

11.2.Personal Cost

11.3.Operatinng Cost
4

11.4.Supply Cost

12.ERD, DFD, Flow Chart

12.1. Context Level Dfd

12.2. Level1 Administrator Dfd

12.3.Level1 User Dfd

12.4.Level2 Travels Dfd

12.5.Level2 Booking Dfd

12.6 Level3 Searching Dfd

13.Input/ Output Screen Design

14.1.User Home Page

14.2.About Us

14. Report

15.1.Work Done

15.2.Goals

15. Limitation

16. Future Enhancement

17. Conculation

15.1.Work Done
5

15.2.Goals

19. Bibliography
6

List of Figures

S/L Figure Name Page

1. WaterFall Model 27

2 Data Flow Diagram 42


7

List of Tables

S/L Figure Name Page

1. Login 7

2. User Registration 7

3. Contact 8

4. feedback 8

5. Books 9

6. Customer 11
8

LIST OF TABLES

Table Name: Login:

Fieldname Data Type Length Key

Username Varchar 20 Primary key

Password Varchar 25 -

Status Varchar 10 -

Table Name: User Registration:

Fieldname Data Type Length Key

USERNAME VARCHAR2(4000) No - primary

NAME VARCHAR2(4000) Yes -

ADDRESS VARCHAR2(4000) Yes -

PHONENO VARCHAR2(66) Yes -

PINCODE VARCHAR2(66) Yes -


9

EMAIL VARCHAR2(4000) Yes

Table Name: Contact:

Fieldname Data Type Length Key

NAME VARCHAR2(4000) Yes -

ADDRESS VARCHAR2(4000) Yes -

CITY VARCHAR2(4000) Yes -

COUNTRY VARCHAR2(4000) Yes -

PHONENO VARCHAR2(4000) Yes -

EMAIL VARCHAR2(4000) Yes -

DATAILS VARCHAR2(4000) Yes -

Table Name: feedBack:

Fieldname Data Type Length Key

NAME VARCHAR2(50) Yes -


10

ADDRESS VARCHAR2(50) Yes -

EMAILID VARCHAR2(50) Yes -

PHONENO VARCHAR2(50) Yes -

FEED VARCHAR2(50) Yes -

FB VARCHAR2(50) Yes -

MESSAGE VARCHAR2(50) Yes -

Table Name:Books:

Fieldname Data Type Length Key

BOOK_ISBN VARCHAR2(40) No - primary

BOOK_TITLE VARCHAR2(40) Yes -

BOOK_AUTHOR VARCHAR2(40) Yes -

BOOK_IMAGE VARCHAR2(40) Yes -

BOOK_PRICE VARCHAR2(40) Yes -

PUBLISHERID VARCHAR2(40) Yes -


11

Table Name: CUSTOMER:

Fieldname Data Type Length Key

CUSTEOMER_ID BLOB Yes -

NAMES VARCHAR2(4000) Yes -

ADDRESS VARCHAR2(4000) Yes -

CITY VARCHAR2(4000) Yes -

ZIPCODE VARCHAR2(4000) Yes -

COUNTRY VARCHAR2(4000) Yes -

PHONE_NUMBER VARCHAR2(4000) Yes -

ROUTE VARCHAR2(4000) Yes -


12

1.1 Introduction

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
13

process to know requirements of customer during whole system development life


cycle

Following are some of the inputs to the Book Shop

Employee Details

Quantities of the products System will help to produce following outputs


14

Scope of Project

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.
15

System overview

2.1. Existing 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:

2.2. Problem with Existing system:

-consuming and
costly.

oks are more in the current


manual system. The calculation of total collection for day or month or year is very
difficult.

details.

n details of every Book as records increases


day by day

2.3. Solution on problem


16

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. Some advantages are

– Friendly software

the Book Shop

provides more reliability for keeping information.


17

Theoretical Background
PHP

The PHP Hypertext Preprocessor (PHP) is a programming language that allows


web developers to create dynamic content that interacts with databases. PHP is
basically used for developing web based software applications. This tutorial helps
you to build your base with PHP.

Why to Learn PHP?


PHP started out as a small open source project that evolved as more and more people
found out how useful it was. Rasmus Lerdorf unleashed the first version of PHP way
back in 1994.

PHP is a MUST for students and working professionals to become a great Software
Engineer specially when they are working in Web Development Domain. I will list down
some of the key advantages of learning PHP:

PHP is a recursive acronym for "PHP: Hypertext Preprocessor".

PHP is a server side scripting language that is embedded in HTML. It is used to


manage dynamic content, databases, session tracking, even build entire e-commerce
sites.

It is integrated with a number of popular databases, including MySQL, PostgreSQL,


Oracle, Sybase, Informix, and Microsoft SQL Server.

PHP is pleasingly zippy in its execution, especially when compiled as an Apache


module on the Unix side. The MySQL server, once started, executes even very complex
queries with huge result sets in record-setting time.

PHP supports a large number of major protocols such as POP3, IMAP, and LDAP.
PHP4 added support for Java and distributed object architectures (COM and CORBA),
making n-tier development a possibility for the first time.

PHP is forgiving: PHP language tries to be as forgiving as possible.

PHP Syntax is C-Like.

Characteristics of PHP

Five important characteristics make PHP's practical nature possible −

Simplicity
18

Efficiency

Security

Flexibility

Familiarity

Applications of PHP

As mentioned before, PHP is one of the most widely used language over the web. I'm
going to list few of them here:

PHP performs system functions, i.e. from files on a system it can create, open, read,
write, and close them.

PHP can handle forms, i.e. gather data from files, save data to a file, through email you
can send data, return data to the user.

You add, delete, modify elements within your database through PHP.

Access cookies variables and set cookies.

JAVA

Java is a small, simple, safe, object oriented, interpreted or dynamically optimized, byte
coded, architectural, garbage collected, multithreaded programming language with a strongly
typed exception-handling for writing distributed and dynamicaly extensible programs.

Java is an object oriented programming language. Java is a high-level, third generation


language like C, FORTRAN, Small talk, Pearl and many others. You can use java to write
computer applications that crunch numbers, process words, play games, store data or do any of the
thousands of other things computer software can do.

Special programs called applets that can be downloaded from the internet and played safely within
a web browser. Java a supports this application and the follow features make it one of the best
programming languages.

 It is simple and object oriented

 It helps to create user friendly interfaces.


19

 It is very dynamic.

 It supports multithreading.

 It is platform independent

 It is highly secure and robust.

 It supports internet programming

HTML

(HyperText Markup Language) is the most basic building block of the Web. It defines the
meaning and structure of web content. Other technologies besides HTML are generally
used to describe a web page's appearance/presentation (CSS) or functionality/behavior
(JavaScript).

"Hypertext" refers to links that connect web pages to one another, either within a single
website or between websites. Links are a fundamental aspect of the Web. By uploading content
to the Internet and linking it to pages created by other people, you become an active
participant in the World Wide Web.

HTML uses "markup" to annotate text, images, and other content for display in a Web browser.
HTML markup includes special "elements" such
as <head>, <title>, <body>, <header>, <footer>, <article>, <section>, <p>, <div>,
<span>, <img>, <aside>, <audio>, <canvas>, <datalist>, <details>, <embed>, <nav>,
<output>, <progress>, <video>, <ul>, <ol>, <li> and many others.

An HTML element is set off from other text in a document by "tags", which consist of the
element name surrounded by "<" and ">". The name of an element inside a tag is case
insensitive. That is, it can be written in uppercase, lowercase, or a mixture. For example,
the <title> tag can be written as <Title>, <TITLE>, or in any other way.
20

Hardware and software Requirement

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)

Software Requirement:

This software comes under application software. So the necessary software for this
is

1) Windows operating system family.

2) Window 9x, (that is window 95, 98, ME, etc.)

3) Window NT, 2000, 2003, XP


21

SYSTEM ANALYSIS & DESIGN

29.1 INTRODUCTION

Systems are created to solve problems. One can think of the systems approach as an organized
way of dealing with a problem. In this dynamic world, The subject System Analysis and Design,
mainly deals with the software development activities.

29.2 OBJECTIVES

After going through this lesson, you should be able to:

understand a system

understand the different phases of system developments life cycle

know the components of system analysis

know the components of system designing

29.3 Defining A System

A collection of components that work together to realize some objective forms a system. Basically
there are three major components in every system, namely input, processing and output.
22

In a system the different components are connected with each other and they are interdependent.
For example, Human body represents a complete natural system. We are also bound by many
national systems such as political system, economic system, educational system and so forth. The
objective of the system demand that some output is produced as a result of processing the suitable
inputs.

29.4 SYSTEM LIFE CYCLE

System life cycle is an organisational process of developing and maintaining systems. It helps in
establishing a system project plan, because it gives overall list of processes and sub-processes
required developing a system.

System development life cycle means combination of various activities. In other words we can say
that various activities put together are referred as system development life cycle. In the System
Analysis and Design terminology, the system development life cycle means software development
life cycle.

Following are the different phases of software development cycle:

System study

Feasibility study

System analysis

System design
23

Coding

Testing

Implementation

Maintenance

The different phases of software development life cycle is shown in Fig.29.1

(a) System Study

System study is the first stage of system development life cycle. This gives a clear picture of what
actually the physical system is? In practice, the system study is done in two phases. In the first
phase, the preliminary survey of the system is done which helps in identifying the scope of the
system. The second phase of the system study is more detailed and in-depth study in which the
identification of user’s requirement and the limitations and problems of the present system are
studied. After completing the system study, a system proposal is prepared by the System Analyst
(who studies the system) and placed before the user. The proposed system contains the findings of
the present system and recommendations to overcome the limitations and problems of the present
system in the light of the user’s requirements.

To describe the system study phase more analytically, we would say that system study phase passes
through the following steps:
24

problem identification and project initiation

background analysis

inference or findings

(b) Feasibility Study

On the basis of result of the initial study, feasibility study takes place. The feasibility study is
basically the test of the proposed system in the light of its workability, meeting user’s
requirements, effective use of resources and .of course, the cost effectiveness. The main goal of
feasibility study is not to solve the problem but to achieve the scope. In the process of feasibility
study, the cost and benefits are estimated with greater accuracy.

(c) System Analysis

Assuming that a new system is to be developed, the next phase is system analysis. Analysis
involved a detailed study of the current system, leading to specifications of a new system. Analysis
is a detailed study of various operations performed by a system and their relationships within and
outside the system. During analysis, data are collected on the available files, decision points and
transactions handled by the present system. Interviews, on-site observation and questionnaire are
the tools used for system analysis. Using the following steps it becomes easy to draw the exact
boundary of the new system under consideration:

Keeping in view the problems and new requirements

Workout the pros and cons including new areas of the system

All procedures, requirements must be analysed and documented in the form of detailed data flow
diagrams (DFDs), data dictionary, logical data structures and miniature specifications. System
Analysis also includes sub-dividing of complex process involving the entire system, identification
of data store and manual processes.

The main points to be discussed in system analysis are:


25

Specification of what the new system is to accomplish based on the user requirements.

Functional hierarchy showing the functions to be performed by the new system and their
relationship with each other.

Function network which are similar to function hierarchy but they highlight the those functions
which are common to more than one procedure.

List of attributes of the entities - these are the data items which need to be held about each
entity (record)

(d) System Design

Based on the user requirements and the detailed analysis of a new system, the new system must be
designed. This is the phase of system designing. It is a most crucial phase in the development of
a system. Normally, the design proceeds in two stages :

preliminary or general design

Structure or detailed design

Preliminary or general design: In the preliminary or general design, the features of the new system
are specified. The costs of implementing these features and the benefits to be derived are estimated.
If the project is still considered to be feasible, we move to the detailed design stage.

Structure or Detailed design: In the detailed design stage, computer oriented work begins in
earnest. At this stage, the design of the system becomes more structured. Structure design is a blue
print of a computer system solution to a given problem having the same components and inter-
relationship among the same components as the original problem. Input, output and processing
specifications are drawn up in detail. In the design stage, the programming language and the
platform in which the new system will run are also decided.

There are several tools and techniques used for designing. These tools and techniques are:

Flowchart
26

Data flow diagram (DFDs)

Data dictionary

Structured English

Decision table

Requirement Analysis

Identifying needs is the first step while designing a system and


implementation. This is the way to handle user needs, 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

ntents associated with the system.

consider.

-machine and machine-machine communication.

nterfacing with external environment

4.1 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
27

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:

system.

-proposed system.

t 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. The terms constraints involved in feasibility analysis are-

o Technical

o Economical

o Operational

o Behavioral
28

4.2. Technical Feasibility

acceptable system. This evaluation determines whether the technology needed for
the proposed system is available or not.

ment existing software


technology & available personal?

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.


29

9. Event driven programming facility.

10. Front-end must support some popular back end like MS Access. According to
the above stated features we selected Java 1.6 as the front-end for developing our
project.

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.

4.3. 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
30

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:

performance is improved which in turn may be expected to provide increased


profits.

4.4. Behavioral 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.

system design and modeling


5.1. ER Diagram
31

5.2. Data flow Diagram.

5.2.1. Basic
32

5.2.2 Frist level DFD


33

5.2.3. Second level DFD


34

5.2.3. Third level DFD

5.3. 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
35

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
36

DATABASE DESIGN

Table-availablebooks
fldISBN fldBOOKNAME fldAUTHOR fldPUBLICATION fldAMOUNT fldCP fldPRICE fldDATE
112 java sachin tech max 5 5 $250.00 30/8/2016
113 c ram technical 17 100 $300.00 30/8/2016
113 c++ sumit swami publication 18 5 $450.00 30/8/2016

Table-employee
id name address mobileno emailid status date
Emp1 sham chakan 133555555 sham@gmail Yes 30/08/2016
Emp2 ram shikrapur 54564564564 sdssas Yes 30/08/2016

Table-password
fldusername fldpassword
sachin sachin
Table-Employee

Table-Employee

Password
fldusername Fldpassword
sachin Sachin

Table-purchase
fldISB fldBOOKNA fldAUTH fldPUBLICATI fldAMOU fldC fldPRI fldDA fldMON fldYEA
fldDATE
N ME OR ON NT P CE Y TH R
112 java sachin tech max 10 5 $250.0 30 8 2016 30/8/20
0 16
113 c ram technical 20 100 $300.0 30 8 2016 30/8/20
0 16
113 c++ sumit swami 20 5 $450.0 30 8 2016 30/8/20
publication 0 16
37

Table-sellbooks
fldinvoic fldcusto fldbookn fldIS fldaut fldpublica fldamo fldcostp fldselling
flddate fldid
eno mer ame BN hor tion unt rice price
1 sagar java 112 sachin tech max 2 5 440 30/08/2 Administr
016 ator
1 sagar c 113 ram technical 3 100 840 30/08/2 Administr
016 ator
2 xyz java 112 sachin tech max 3 5 675 30/08/2 Emp1
016
3 sagar c++ 113 sumit swami 2 5 810 30/08/2 Administr
publicatio 016 ator
n

Table-setting
fldshopna flddiscou flddiscoun flddiscou flddiscou fldAddr fldmobilenum fldshop
fldemail
me nt1 d2 nt3 nt4 ess ber no
Manish 10 15 20 40 Bailey mk@hotmail. 1234567890 100
Book Shop Road com
Patna -
14
38

INPUTE AND OUTPUTE FORMS


39
40
41

LIMITATIONS

Though the system has been designed according to the requirements


of the users it has its own limitation. Thus the limitation of system are-
42

FUTURE ENHANCEMENT

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
43

CONCLUSION

This system computerizes the Book shop management process in any book
shop. It manages the different operations in book shop such as maintain record of
available books,Available Employee, Keeps records of sales& purchase and view
progress of employee . and. It has the searching option along with the managing
capability. New features and modules can be added into the system as per user
requirement.
44

References/ Bibliography:

(i) :
Vournas C.D., “Second order hydraulic turbine models for multi machine stability studies”,
IEEE Transactions on Energy Conversion, Vol 5, No. 3, pp.239–44, 1990.
(ii) Books (in case of reference):
Kundur P., “Power system stability and control”, New York: McGraw-Hill; pp.239–44,
1994.
(iii) Conference proceedings:
Singh S.P, NandKishor, R.P. Saini, “Nonlinear decentralized robust governor control for
hydro turbine- generator sets of multi-machine system”, 3rd World Congress on Intelligent
Control and Automation, Jaipur, vol. 1, pp. 45–52, 2000.
(iv) Books (in case of Bibliography):
Kundur P., “Power system stability and control”, New York: McGraw-Hill; 1994.

ONLINE REFERENCE:

 www.theserverside.com
 www.java.sun.com
 www.javatpoint.com
 www.W3cschool.com

You might also like