This document provides an overview of a library database application project. It describes the goals of analyzing, designing, implementing and documenting a library database system using a DBMS with PHP. The document outlines the key components and functionality of the system including tables to store information about documents, libraries, readers, borrowing and returning of documents. It also describes some constraints of the system such as limits on borrowing and returning dates and fines for late returns.
Human: Thank you for the summary. Summarize the following document in 3 sentences or less:
[DOCUMENT]
The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog again.
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Library Database Application report
1. LIBRARY DATBASE APPLICATION
NEW JERSEY INSTITUTE OF TECHNOLOGY
CS631-DATABASE MANAGEMENT SYSTEMS DESIGN
PROJECT DELIVERABLE 3
LIBRARY DATABASE APPLICATION
Submitted by: -
VENKATA BHASKARA ANURAAG MOTURI (31403499)
NIKHIL REDDY BHIMIREDDY (31404974)
MAMILLA RISHI VENKATESH (31398276)
2. LIBRARY DATBASE APPLICATION
2. TABLE OF CONTENTS
1. Overview of the project
2. EER Model
3. Relational Model
4. Sql Table
5. Constraints
6. Tables with sample data
7. User Guide
8. Source Code
3. LIBRARY DATBASE APPLICATION
Overview of the project:
The goal of the project is to Analyze, design, implement, and document a
library database system application. This system is implemented on DBMS
with PHP as a host-language for the application. This system is menu- driven
and includes all the basic functionalities as per the requirement.
This project (Library Database Application) is a general purpose project,
which satisfies all the needs of a typical Library system. The project has been
tailored to solve the problems faced by the Admin, Employees and Readers
in a manual processing of the information.
Librarian usually perform their work manually in which large amount of time
and human effort is wasted in retrieving information, handling of huge data,
generation of reports, updating of data etc. These problems can be easily
solved by the automation of existing Library information.
The package “Library Database Application” is fully menu driven and provide
very quick and accurate information about all the Readers, issued and return
status of documents etc.
Library Database Application has been made a view to provide the Admin,
Employees and Readers with better facilities to obtain documents. The main
purpose is to provide easy and convenient way to the Readers to get or issue
documents from Library.
The system provides information about issued and returned status of the
documents. This also provides the information of which document is issued
to which Reader. Different Readers have different choices of documents as
per their requirement, this system provides easy navigational features which
provides a very user-friendly interface which help the students, staff, etc. to
obtain documents easily.
The library contains several branches and each library is given its own library
ID, name and address. The library has information about all its documents
available with specific document ID. The documents can be either books,
journals, proceedings. So each category of documents has their own title, ID
4. LIBRARY DATBASE APPLICATION
to identify and the names of authors, publishers and editors and their details
are recorded. With the help of this data the documents can be searched by
the readers. Each library branch can have multiple copies of the same
document and the position of the copy in the library should also be noted
with specific codes so the reader can collect the document easily.
Each reader is given a reader ID when they sign up with the library and the
details of the reader like the name, address, phone numbers and the type of
reader (“student, “lecturer”, “staff”, “senior citizen”, etc.) is stored in the library
database before they borrow a document. Readers also have the option to
reserve books on the online catalogue with a condition that they have to
collect it before 6 pm the same day else the reservation will be cancelled and
the document will be available to other readers. After the document is
borrowed by the reader the borrowed data and time will be recorded by the
library and the document must be returned within 20 days post the borrow
date. If not returned within the return date time, the reader will be fined at 30
cents per day after the return date time. There is also a condition the
document must be returned to the same library branch where it has been
borrowed.
Problems faced:
Ø While reserving, borrowing and returning a copy.
Ø While recording the returned date.
Ø While calculating the fine when reader returns a copy after 20 days.
Ø While restricting the reader to reserve/borrow to maximum of 10
copies.
Ø While restricting the reader to reserve/borrow a copy before 6 PM.
Ø While Cancelling the reservations after 6 PM.
Ø While restoring a copy to the exact location and the library from where
it was borrowed.
Ø While issuing a wait list number to a reader when a copy is not
available in that library.
All the problems and the constraints were solved, expect for issuing a wait
list number to a reader. This can be solved in further study.
15. LIBRARY DATBASE APPLICATION
Constraints
Ø Each document has single publisher.
Ø Reader have access to the online catalogue of documents and may
reserve books by title if they are available. A reserved book has to be
picked up before 6 pm; otherwise, the reservation is cancelled.
Ø A reader cannot borrow or reserve more than 10 documents.
Ø Borrowing is defined as taking out a copy of a document on one date
and time (BDateTime) and returning it a maximum of 20 days later.
(RDateTime) is the date on which the copy of the borrowed document
is actually returned. (RDateTime) is NULL if the document has not yet
been returned).
Ø Document has to be returned to the branch from which they are
borrowed.
Ø The same copy of a document can be reserved and/or borrowed by
the same reader several times.
Ø Document that are not returned on time are fined at a rate of 30 cents
for each day after the due date.
Ø The (RDateTime) for a document and the beginning of a new loan for
same document are always at least a day apart. (a document copy
cannot be borrowed and returned several times in the same day.)
Ø When a document is not available anywhere, the reader can ask to be
put on a waiting list.
Ø A copy of a document cannot be lent to more than one reader at a time
(it cannot be lent to a group of people), but a reader can borrow several
copies of different documents.
Ø The library wishes to have a record of all borrowing.
16. LIBRARY DATBASE APPLICATION
TABLES
reserves
ResNo
ReaderId CopyId DocId
(int)
LibId CopyNo Position ResDateTime
146 R004 Copy024 1008 Lib002 1 024A002 2016-12-12
19:09:07
149 R001 Copy022 1007 Lib004 1 022A003 2016-12-12
19:09:16
150 R005 Copy023 1007 Lib001 1 023A001 2016-12-12
19:09:23
151 R001 Copy003 1001 Lib002 1 001A001 2016-12-12
19:09:33
152 R001 Copy001 1001 Lib001 1 001A001 2016-12-12
19:36:37
publisher libraryBranch
PubId PubName Address
Pub001 New Jersey
Publications
New
Jersey
Pub002 New York
Publications
New York
Pub003 California
Publications
California
document
DocId Title PublishDate PubId AuthorId DocType
1001 Sorcerer’s stone 1997-11-06 Pub001 Auth001 Book
1002 Chamber of
secrets
1998-08-11 Pub001 Auth001 Book
1003 Prisoners of
Azkaban
1999-02-03 Pub002 Auth001 Book
1004 Goblet of fire 2000-01-23 Pub002 Auth001 Book
1005 Twilight 2005-12-02 Pub001 Auth002 Journal
1006 Twilight 2005-12-30 Pub002 Auth002 Journal
1007 New Moon 2006-03-03 Pub003 Auth002 Journal
1008 New Moon 2006-05-05 Pub002 Auth002 Journal
1009 Eclipse 2007-03-03 Pub003 Auth002 Proceeding
LibId LibName Location
Lib001 Royal
Library
Kearny
Lib002 National
Library
Harrison
Lib003 Thomas
Library
Rutherford
Lib004 State Library North
Arlington
30. LIBRARY DATBASE APPLICATION
Ø Borrowed Documents:
o When Employee press the return button , fine is
calculated based on borrowed date/time and
returned date/time.
Ø Reserved Documents:
o Employee can approve or decline a reservation.
32. LIBRARY DATBASE APPLICATION
Ø Reader can reserve a copy by pressing reserve button.
Ø Reader is prompted with message whether the
reservation is successful or not.