Library Management System
Library Management System
System
By
Nibha Kumari ROLL # MCA200560825
Subhalaxmi Chaudhury ROLL # MCA200560849
April – 2008
i
ACKNOWLEDGEMENT
We express our deepest sense of gratitude to our advisor Mrs. Charulata Palai for
providing us an opportunity to design a project entitled “Online Library Management
System” and guiding us till the completion of this project.
We also express our sincere thanks to all the laboratory members of NIST for their
continuous support, valuable suggestions and proper guidance without which this
project could not have been possible.
We would also indebted to Mr. S. B. Neelamani, MCA Project coordinator for giving
his valuable time throughout our project.
At the nib but not neap tide, we bow our heads in gratitude at the omnipresent
Almighty for all his kindness. We still seek his blessings to proceed further.
Nibha Kumari
Subhalaxmi Chaudhury
ii
TABLE OF CONTENTS
ABSTRACT................................................................................................................................................i
ACKNOWLEDGEMENT.........................................................................................................................ii
TABLE OF CONTENTS.........................................................................................................................iii
LIST OF FIGURES..................................................................................................................................iv
1. INTRODUCTION ................................................................................................................................5
2. REQUIREMENT ANALYSIS .............................................................................................................6
2.1 Project .............................................................................................................................................6
2.2 Overview Statement.........................................................................................................................6
2.3 Customer..........................................................................................................................................6
2.4 Goal of the Module..........................................................................................................................6
2.5 System Functions.............................................................................................................................6
2.6 System Attributes.............................................................................................................................7
3. ENTITY RELATIONSHIP DIAGRAMS.............................................................................................9
4. DATAFLOW DIAGRAMS.................................................................................................................10
5. LIST OF USE CASES AND SCENARIOS........................................................................................12
6. USE CASE SPECIFICATIONS..........................................................................................................13
7. TECHNICAL DICTIONARY.............................................................................................................22
8. PERSISTENCE DESIGN....................................................................................................................23
9. DATA DICTIONARIES.....................................................................................................................24
10. LIST OF CLASSES ...........................................30
11. CLASS DEFINITIONS ......................................31
12. LIST OF FORMS .............................................................................................................................35
13. FORM DESIGN DETAILS...............................................................................................................38
14. ERROR CODE DESIGN...................................................................................................................47
15. DESIGN OF TEST CASES...............................................................................................................48
16. SCOPE OF IMPROVEMENT...........................................................................................................48
17. CONCLUSION .................................................................................................................................50
REFERENCES .......................................................................................................................................51
iii
LIST OF FIGURES
Figure 3.1 ER Diagram..............................................................................................................................9
..................................................................................................................................................................10
Figure 4.1 Context Level DFD for Online Library Management System ..............................................10
Figure 4.2 First Level DFD for Login SubSystem...................................................................................10
Figure 4.3 Membership SubSystem.........................................................................................................11
Figure 4.4 Acquisition SubSystem ..........................................................................................................11
Figure 4.6 Change Password SubSystem.................................................................................................11
Figure 6.1 Use Case Diagram..................................................................................................................13
Figure 13.1 Index Form...........................................................................................................................38
Figure 13.2 Login Form...........................................................................................................................38
Figure 13.3 Librarian’s Entry Form.........................................................................................................39
Figure 13.4 Search Form..........................................................................................................................39
Figure 13.5 Book Issue Form...................................................................................................................40
Figure 13.6 Book Return Form................................................................................................................40
Figure 13.7 User’s Entry Form................................................................................................................41
Figure 13.8 Purchase Request Form........................................................................................................41
Figure 13.9 Change Password Form........................................................................................................42
Figure 13.10 Registration Form...............................................................................................................42
Figure 13.11 Book Acquisition Form......................................................................................................43
Figure 13.12 Book Deletion Form...........................................................................................................43
Figure 13.13 Issue Details Form..............................................................................................................45
Figure 13.14 Fine Details Form...............................................................................................................45
Figure 13.15 Request Review..................................................................................................................46
iv
ONLINE LIBRARY MANAGEMENT SYSTEM
1. INTRODUCTION
This project is aimed to aid the Library Management System of any organization in
online way. Online Library Management System (OLIMs) as it named is basically an
intranet based application for providing usability both to the student and librarian with
added security.
The overall system operator is the librarian. He maintains the different policy required
for the OLIMS. The main functions of the librarian includes maintenance of books.
Inside maintenance of books he can add, and delete operation on books. Other
functions include maintain issue policy, maintain fine policy, view purchase requests,
search for books, view fine details of a particular user and view books issued to a
particular user.
The user (student/faculty/staff) is the end user. He/She can search books, view books
issued to him/her, view fine details and request for purchasing a new book.
5
ONLINE LIBRARY MANAGEMENT SYSTEM
2. REQUIREMENT ANALYSIS
2.1 Project
2.3 Customer
The project helps in issuing the books online for the college library that is an Intranet
based application. It is used to search books, requests to buy a new book, calculate
fines and many other applications.
6
ONLINE LIBRARY MANAGEMENT SYSTEM
R1.17 The system should ask for sign up to new users. Evident
R1.18 It should provide the registration form for new users to be Evident
signed up.
R1.19 All the modules should display information according to the Evident
category of user who has logged in.
R1.20 The book search module for the users should be able to search Evident
books through bookid, title, author, publication and category.
R1.21 The issue details module for the users should be able to Evident
display the issued details of a particular user.
R1.22 The fine details module for the users should be able to display Evident
the fine amount of a particular user.
R1.23 The purchase request module for the users should be able add Evident
new requests .
R1.24 The change password module for the users should be able to
change the password.
R1.25 The system should be able to accept the purchase request Evident
made by the users.
R1.26 The book information module for the librarian should be able Evident
to display the detail information of all the books present in
the library.
R1.27 The book acquisition module for the librarian should be able to Evident
add new books to the library.
R1.28 The book search module for the librarian should be able to Evident
search books through bookid, title, author, publication and
category.
R1.29 The book deletion module for the librarian should be able to Evident
delete books from the library.
R1.30 The book issue module for the librarian should be able to issue Evident
the books.
R1.31 The book return module for the librarian should be able to Evident
return the books.
R1.32 The request review module for the librarian should be able to Evident
display all the requests made by the users.
R1.33 The change password module for the librarian should be able Evident
to change the password.
R1.34 The system should have a help screen to help the users. Evident
7
ONLINE LIBRARY MANAGEMENT SYSTEM
8
ONLINE LIBRARY MANAGEMENT SYSTEM
empid
maili
name
d
Librarian
returndat
e
1 issuedate
deptnam
empid
e
addres empi
phoneno
s d
u
d
b
y
y
d
b
y
e
e
s
s
s
s
i
i
bookid nam
name password
bookstatus
e
N
N
issued N issued Staff maili
Faculty to Book to d
M
M M
bookca
t
edition
maili addres
d authorna N s
bookna maili phoneno
meme
deptnam me d
e phoneno
price
issued
to batc
h
studid
M
nam Student
branch
e
addres
mailid
s
phoneno
9
ONLINE LIBRARY MANAGEMENT SYSTEM
4. DATAFLOW DIAGRAMS
Login
Book Information
Book Transaction
Book Search
Online
Library
Registration Management
Issue Details
Book Acquisition
Figure 4.1 Context Level DFD for Online Library Management System
Librarian
Librarian Entry
Login Form
Faculty/
Staff/ SubSystem Valid User
Student 1.1
10
ONLINE LIBRARY MANAGEMENT SYSTEM
Valid data
Userid,
Faculty / Password Membershi MEMBERSHIP
Staff /
p Valid data
Student
SubSystem
1.2
Memberid
Memberdate EMPLOYEE
Invalid data Valid data
STUDENT
Valid data
data
Acquisition
Librarian Subsystem
1.3
Invalid Book
data
Userid
Change Valid data
Password
Faculty / Password
Staff /
Student SubSystem
1.4
Login
Invalid data
11
ONLINE LIBRARY MANAGEMENT SYSTEM
12
ONLINE LIBRARY MANAGEMENT SYSTEM
Maintain
Userdata
Maintain
Books
Librarian Maintain
Transaction
Maintain
Purchase User
Request
Maintain
Fine
Details
Search
13
ONLINE LIBRARY MANAGEMENT SYSTEM
Alternate Course:
Line 1: Empty or wrong userid indicate error and displays the error message along
with the “BACK” button.
Line 2: Empty or wrong password indicate error and displays the error message along
with the “BACK” button.
14
ONLINE LIBRARY MANAGEMENT SYSTEM
Alternate Course:
Line 1: Invalid userid indicates error message with “BACK” button.
15
ONLINE LIBRARY MANAGEMENT SYSTEM
Alternate Course:
Line 1: Invalid bookid details indicate error
Alternate Course:
Line 2: Invalid bookid details indicate error
Scenario #2.3(normal) Books Issued
Use Case #2/ MAINTAIN BOOK
Actor Action System Response
1 Enter the userid to view the issued 2 Displays the books issued.
16
ONLINE LIBRARY MANAGEMENT SYSTEM
book.
Alternate Course:
Line 1: Invalid userid details indicate error.
17
ONLINE LIBRARY MANAGEMENT SYSTEM
Alternate Course:
Line 1:Invalid bookid and userid indicate error.
Alternate Course:
Line 1:Invalid userid and bookid indicate error.
18
ONLINE LIBRARY MANAGEMENT SYSTEM
Alternate Course:
Line 1: Invalid userid indicate error
Alternate Course:
Line 1: Invalid userid indicate error
19
ONLINE LIBRARY MANAGEMENT SYSTEM
Actors Librarian,faculty,Staff,Student
Purpose Used for viewing the fine details.
Overview User can view the fine details.
Type Secondary
Cross reference R1.22
Alternate Course:
Line 1: Invalid userid indicate error
20
ONLINE LIBRARY MANAGEMENT SYSTEM
21
ONLINE LIBRARY MANAGEMENT SYSTEM
7. TECHNICAL DICTIONARY
22
ONLINE LIBRARY MANAGEMENT SYSTEM
8. PERSISTENCE DESIGN
[T#1/Login]
This table stores the information about the User login includes category, userid,
password.
[T#2/Student]
This table stores information about the students includes studid, studname, branch,
batch, address, phoneno, mailed.
[T#3/Employee]
This table stores information about the employees (Faculty and Staff) includes empid,
ename, desig, deptname, dateofjoin, mailed, phoneno, contactadd.
[T#4/Membership]
This table stores information about all the members of the library includes memid,
memname, memtype, memdate.
[T#5/Book]
This table stores all the details of book includes bookid, bookcat, tilte, authorname,
publishername, edition, pages, location, bookstatus, price, acquisitioned,
acquisitiondate.
[T#6/Booktransaction]
This table stores information about of transaction details stores bookid, memid,
issuedate, returndate.
[T#7/Purchaserequest]
This table contains information of book request details stores memid, title, author,
edition, suggestion, requestdate.
23
ONLINE LIBRARY MANAGEMENT SYSTEM
9. DATA DICTIONARIES
Table#/Name 1/LOGIN
Module#/Name 1/ONLINE LIBRARY MANAGEMENT SYSTEM
Project Name ONLINE LIBRARY MANAGEMENT SYSTEM
Description Stores the information of user login
Type Master
Key(s) userid
Initial Size
Growth Rate
Designed by Nibha kumari, Subhalaxmi Chaudhury
Checked by Charulata Palai
Modifications NA
1. Userid Y String 9
It stores the userid which is primary key in this table.
2. Category Y String 10
It stores the category of the user.
3. Password Y String 20
It stores the password entered by the user.
Table#/Name 2/STUDENT
Module#/Name 1/ONLINE LIBRARY MANAGEMENT SYSTEM
Project Name ONLINE LIBRARY MANAGEMENT SYSTEM
Description Stores the information of student
Type Master
24
ONLINE LIBRARY MANAGEMENT SYSTEM
Key(s) studid
Initial Size
Growth Rate
Designed by Nibha kumari, Subhalaxmi Chaudhury
Checked by Charulata Palai
Modifications NA
1. studid Y String 9
It stores the student id which is primary key in this table.
2. studname Y String 30
It stores the name of the student.
3. branch Y String 20
It stores the branch entered by the student.
4. batch Y Number 4
It stores the batch entered by the student.
5. address Y String 100
It stores the address entered by the student.
6. phoneno Y Number 15
It stores the phoneno entered by the student.
7. mailid Y String 50
It stores the mailed entered by the student.
25
ONLINE LIBRARY MANAGEMENT SYSTEM
Table#/Name 3/EMPLOYEE
Module#/Name 1/ONLINE LIBRARY MANAGEMENT SYSTEM
Project Name ONLINE LIBRARY MANAGEMENT SYSTEM
Description Stores the information of employee
Type Master
Key(s) empid
Initial Size
Growth Rate
Designed by Nibha kumari, Subhalaxmi Chaudhury
Checked by Charulata Palai
Modifications NA
1. empid Y String 9
It stores the employee id which is primary key in this table.
2. ename Y String 30
It stores the name of the employee.
3. desig Y String 15
It stores the designation (faculty/staff) entered by the employee.
4. deptname Y String 30
It stores the department name entered by the employee.
5. dateofjoin Y Date 8
It stores the date of join entered by the employee.
6. contactadd Y String 100
It stores the date of join entered by the employee.
7. phoneno Y Number 11
It stores the phone number entered by the employee.
8. mailid Y String 50
It stores the mailid entered by the employee.
26
ONLINE LIBRARY MANAGEMENT SYSTEM
Table#/Name 4/MEMBERSHIP
Module#/Name 1/ONLINE LIBRARY MANAGEMENT SYSTEM
Project Name ONLINE LIBRARY MANAGEMENT SYSTEM
Description Stores the information of membership
Type Master
Key(s) memid
Initial Size
Growth Rate
Designed by Nibha kumari, Subhalaxmi Chaudhury
Checked by Charulata Palai
Modifications NA
1. memid Y String 9
It stores the member id which is reffered from login table.
2. memname Y String 30
It stores the name of the member.
3. memtype Y String 10
It stores the member type entered by the member.
4. memdate Y Date 8
It stores the membership date entered by the member.
Table#/Name 5/BOOK
Module#/Name 1/ONLINE LIBRARY MANAGEMENT SYSTEM
Project Name ONLINE LIBRARY MANAGEMENT SYSTEM
Description Stores the information of membership
Type Master
27
ONLINE LIBRARY MANAGEMENT SYSTEM
Key(s) bookid
Initial Size
Growth Rate
Designed by Nibha kumari, Subhalaxmi Chaudhury
Checked by Charulata Palai
Modifications NA
1. bookid Y String 7
It stores the book id which is primary key in this table.
2. bookcat Y String 20
It stores the book category.
3. title Y String 50
It stores name of the book.
4. authorname Y Date 30
It stores the author name of the book.
5. Publishername Y String 30
It stores publisher name of the book.
6. edition Y String 5
It stores the edition of the book.
7. pages Y Number 5
It stores the no. of pages in a book.
8. location Y String 5
It stores the book in a particular location.
9. bookstatus Y String 13
It stores the availability status of a particular book.
10. price Y Number 7,2
It stores the price of a book.
11. acquisitionid Y Number 10
It stores the acquisition id of a book.
12. acquisitiondate Y Date 8
It stores the date on which the book has been acquired.
Table#/Name 6/BOOKTRANSACTION
Module#/Name 1/ONLINE LIBRARY MANAGEMENT SYSTEM
Project Name ONLINE LIBRARY MANAGEMENT SYSTEM
Description Stores the information of transaction
Type Transaction
Key(s) memid
28
ONLINE LIBRARY MANAGEMENT SYSTEM
Initial Size
Growth Rate
Designed by Nibha kumari, Subhalaxmi Chaudhury
Checked by Charulata Palai
Modifications NA
1. memid Y String 9
It stores the member id which is referred from the membership table.
2. bookid Y String 7
It stores the book id which is reffered from the book table.
3. issuedate Y Date 8
It stores the issue date.
4. duedate Y Date 8
It stores the due date.
5. returndate Y Date 8
It stores the return date.
6. fineamt Y Number 4
It stores the total fine amount.
29
ONLINE LIBRARY MANAGEMENT SYSTEM
Table#/Name 7/PURCHASEREQUEST
Module#/Name 1/ONLINE LIBRARY MANAGEMENT SYSTEM
Project Name ONLINE LIBRARY MANAGEMENT SYSTEM
Description Stores the information of purchase request
Type Transaction
Key(s) memid
Initial Size
Growth Rate
Designed by Nibha kumari, Subhalaxmi Chaudhury
Checked by Charulata Palai
Modifications NA
1. memid Y String 9
It stores the member id which is referred from the membership table.
2. title Y String 50
It stores the book name which has to be brought.
3. author Y Sting 30
It stores the author name of the book.
4. edition Y String 5
It stores the edition of the requested book.
5. suggestion Y String 100
It stores the user suggestion for the book.
6. requestdate Y Date 8
It stores the date on which a request for a book has been made..
Class # 1/ clsLoginDetails
Class # 2/ clsStudentDetails
Class # 3/ clsEmployeeDetails
Class # 4/ clsMemberDetails
30
ONLINE LIBRARY MANAGEMENT SYSTEM
Class # 5/ clsBookDetails
Class # 6/ clsBookTransactionDetails
Class # 7/ clsPurchaseRequest
Class#1 clsLoginDetails
31
ONLINE LIBRARY MANAGEMENT SYSTEM
Class#2 clsStudentDetails
Class#3 clsEmployeeDetails
Class#4 clsMembershipDetails
Class#5 clsBookdetails
32
ONLINE LIBRARY MANAGEMENT SYSTEM
33
ONLINE LIBRARY MANAGEMENT SYSTEM
Class#6 clsBookTransactionDetails
Class#7 clsPurchaseRequestDetails
34
ONLINE LIBRARY MANAGEMENT SYSTEM
[F# 1/Index]
It is the home page which contains three buttons loginas,aboutus and help for all type
of users.
[F# 2/LoginAs]
It contains the user category to select to enter in to the login form.
[F# 3/AboutUs]
It contains the information about the developer group.
[F# 4/Help]
It contains the help page for the users.
[F# 5/Login]
Authorized user can enter in to the system through valid userid and password.
[F#6/Librarian]
This form contains eight buttons such as book information, book search, book
acquisition, book deletion, book issue, book return, request review,change password
for the librarian.
[F#7/BookInformation]
This form displays the details of all the books.
[F#9/BookAcquisition]
This form is used for adding book details.
35
ONLINE LIBRARY MANAGEMENT SYSTEM
[F#10/ BookAdded]
This form is used for giving a message that a book has been added successfully.
[F#11/ BookDeletion]
This page is used for deleting a specific book details by giving the book id.
[F#12/ BookDeleted]
This form is used for giving a message that a book has been deleted successfully
[F#13/BookIssue ]
This is the form contains two buttons for entering member id and book id.
[F#14/BookIssued ]
This form is used for giving a message that a book has been issued successfully
[F#15/ BookReturn]
This form contains one button called book id so that specified user’s book will be
returned .
[F#16/ BookReturned]
This form is used for giving a message that a book has been returned successfully.
[F#17/RequestReview]
This is the form is used for viewing the purchase requests made by the users.
[F#18/ChangePassword]
This is the form is used for changing the password both by the librarian and user.
[F#19/ChangePasswordConfirm]
This form is used for giving a message that change password is confirm.
[F#20/User]
This form contains eight buttons such as book search, issued details, fine details,
purchase request, change password for the users.
36
ONLINE LIBRARY MANAGEMENT SYSTEM
[F#21/IssuedDetails]
This is the form is used for viewing the issue details of a specific user by entering the
user id.
[F#22/FineDetails]
This form is used for viewing the total fine amount of a specific user by entering the
user id .
[F#23/PurchaseRequest]
This is the form is used to send the purchase requests by giving user id, Title, author,
edition, suggestion and date of request.
[F#24/PurchaseRequestConfirm]
This form is used for giving a message that a purchase request has been sent
successfully.
[F#25/Refistration]
This form is used to add new user to the system by entering name,batch, branch,dept
name, date of joining, userid, password, confirm password, membership type,
membership date, contact address, phone no. and email id.
37
ONLINE LIBRARY MANAGEMENT SYSTEM
Index form
This form is the index form used for all the users which contains LoginAs, About Us
And Help.
Login Form
38
ONLINE LIBRARY MANAGEMENT SYSTEM
This form is used to enter in to the system by entering the userid and password.
This form is librarian’s entry form contains eight buttons used for viewing book
details searching the books, acquiring new book, deleting book details, issuing book,
returning book and viewing purchase requests.
Search
39
ONLINE LIBRARY MANAGEMENT SYSTEM
This form is used for searching the books according to bookid, title, author, publisher
and category
Book Issue
This form is used for issuing a book by giving userid so that book will be issued in
his/her id.
Book Return
40
ONLINE LIBRARY MANAGEMENT SYSTEM
This form is user’s entry form containing five buttons searching the books, books
issued used for viewing the books issued, viewing the fine details and request for
purchase of a book.
Purchase Request
41
ONLINE LIBRARY MANAGEMENT SYSTEM
This form is used for purchase of a new book by entering the user id.
Change Password
This form is used to change the password by entering user id ,password, new
password and confirm password.
Registration
42
ONLINE LIBRARY MANAGEMENT SYSTEM
Book Acquisition
Book Deletion
43
ONLINE LIBRARY MANAGEMENT SYSTEM
44
ONLINE LIBRARY MANAGEMENT SYSTEM
Issue Details
This form is used to view the issue details of a specific user by entering the user id.
Fine Details
45
ONLINE LIBRARY MANAGEMENT SYSTEM
Request Review
This form is used to review the requests made by the users by the librarian.
46
ONLINE LIBRARY MANAGEMENT SYSTEM
47
ONLINE LIBRARY MANAGEMENT SYSTEM
48
ONLINE LIBRARY MANAGEMENT SYSTEM
49
ONLINE LIBRARY MANAGEMENT SYSTEM
17. CONCLUSION
This Online Library Management System will provide an automated s/w for the
college library to search the books online .This Intranet based application will provide
facilities to different kinds of users, which reduces the complexities arised in the
“Manual Library System “ .Thus it puts an option for all categories of users to have
the transaction details with added security features. This integrated system allows
both the user component and librarian component to work independently
50
ONLINE LIBRARY MANAGEMENT SYSTEM
REFERENCES
51