Project Report On E-Library Management System
Project Report On E-Library Management System
Project Report On
E-Library Management
System
2
TABLE OF CONTENTS
ABSTRACT 5
1. INTRODUCTION 6
PROJECT AIMS AND OBJECTIVES 6
BACKGROUND OF PROJECT 7
OPERATION ENVIRONMENT 8
2. SYSTEM ANALYSIS 9
SOFTWARE REQUIREMENT SPECIFICATION 9
EXISTING VS PROPOSED 15
SOFTWARE TOOL USED 16
3. SYSTEM DESIGN 20
TABLE DESIGN 20
DATA FLOW DIAGRAM’S 24
4. SYSTEM IMPLEMENTATION 30
MODULE DESCRIPTION 30
SCREEN SHOTS 80
5. SYSTEM TESTING 85
UNIT TESTING 85
INTEGRATION TESTING 87
6. CONCLUSION & FUTURE SCOPE 88
7. REFERENCES 89
1. OVERVIEW OF THE PROJECT
INTRODUCTION
Online Library Management System is a system which maintains the information about the
books present in the library, their authors, the members of library to whom books are issued
and all. This is very difficult to organize manually. Maintenance of all this information
manually is a very complex task.
Owing to the advancement of technology, organization of an Online Library becomes much
simple. The Online Library Management has been designed to computerize and automate the
operations performed over the information about the members, book issues and returns and
all other operations. This computerization of library helps in many instances of its
maintenances. It reduces the workload of management as most of the manual work done is
reduced
CHAPTER 1 INTRODUCTION
This chapter gives an overview about the aim, objectives, background and operation environment of
the system.
BACKGROUND OF PROJECT
E-Library Management System is an application which refers to library systems which are
generally small or medium in size. It is used by librarian to manage the library using a
computerized system where he/she can add new books, videos and Page sources.
Books and student maintenance modules are also included in this system which would keep track
of the students using the library and also a detailed description about the books a library contains.
With this computerized system there will be no loss of book record or member record which
generally happens when a non computerized system is used.
All these modules are able to help librarian to manage the library with more convenience and in a
more efficient way as compared to library systems which are not computerized.
PROCESSOR INTEL CORE PROCESSOR OR BETTER
PERFORMANCE
OPERATING
SYSTEM WINDOWS VISTA ,WINDOWS7, UBUNTU
DATABASE MY SQL
CHAPTER 2
SYSTEM ANALYSIS
In this chapter, we will discuss and analyze about the developing process of Library Management
System including software requirement specification (SRS) and comparison between existing and
proposed system . The functional and non functional requirements are included in SRS part to
provide complete description and overview of system requirement before the developing process
is carried out. Besides that, existing vs proposed provides a view of how the proposed system will
be more efficient than the existing one.
SOFTWARE REQUIREMENT SPECIFICATION
GENERAL DESCRIPTION
PRODUCT DESCRIPTION:
Library Management System is a computerized system which helps user(librarian) to manage the
library daily activity in electronic format. It reduces the risk of paper work such as file lost, file
damaged and time consuming.
It can help user to manage the transaction or record more effectively and time- saving.
PROBLEM STATEMENT:
The problem occurred before having computerized system includes:
File lost
When computerized system is not implemented file is always lost because of human
environment.Some times due to some human error there may be a loss of records.
File damaged When a computerized system is not there file is always lost due to some
accdent like spilling of water by some member on file accidentally. Besides some natural disaster
like floods or fires may also damage the files.
SYSTEM REQUIREMENTS
NON FUNCTIONAL REQUIREMENTS
Product Requirements EFFICIENCY REQUIREMENT
When a library management system will be implemented librarian and user will easily acess library
as searching and book transaction will be very faster.
RELIABILITY REQUIREMENT
The system should accurately performs member registration, member validation, report
generation, book transaction and search
USABILITY REQUIREMENT
The system is designed for a user friendly environment so that student and staff of library can
perform the various tasks easily and in an effective way.
DELIVERY REQUIREMENTS
The whole system is expected to be delivered in six months of time with a weekly evaluation by
the project guide.
FUNCTIONAL REQUIREMENTS
1. NORMAL USER
Functional requirements
-user id is provided when they register
-The system must only allow user with valid id and password to enter the system
-The system performs authorization process which decides what user level can access to.
-The user must be able to logout after they finished using system.
Functional requirements
-System must be able to verify information
-System must be able to delete information if information is wrong
Functional requirements
- System must be able to search the database based on select search type
Functional requirements
-System should be able to add detailed information about events.
-System should be able to display information on notice board available in the homepage of site
Existing System:
Early days Libraries are managed manually. It required lot of time to record or to retrieve
the details. The employees who have to record the details must perform their job very carefully.
Even a small mistake would create a lot of problems. Security of information is very less. Report
generations of all the information is very tough task.
Maintenance of Library catalogue and arrangement of the books to the catalogue is very
complex task. In addition to its maintenance of member details, issue dates and return dates etc.
manually is a complex task.
All the operations must be performed in perfect manner for the maintenance of the
library with out any degradation which may finally result in the failure of the entire system.
Proposed System:
To solve the inconveniences as mentioned in the existing system, an Online Library is proposed.
The proposed system contains the following features:
Individually each member will have his account through which he can access the
information he needs.
Book details like authors, number of copies totally maintained by library, present
available number of books, reference books, non-reference books etc. all this information can be
made handy.
Issue dates and returns of each member is maintained separately and fine charged
if there is any delay in returning the book.
Time consuming is low, gives accurate results, reliability can be improved with the
help of security.
SOFTWARE TOOLS USED
The whole Project is divided in two parts the front end and the back end.
Front end
The front end is designed using of html , ,css, Java script
HTML- HTMLorHyper Text Markup Languageis the main markuplanguage for creating web pages
and other information that can be displayed in a web browser.HTML is written in the form of
HTML elements consisting of tags enclosed in angle brackets (like <html>), within the web page
content. HTML tags most commonly come in pairs like <h1> and </h1>, although some tags
represent empty elements and so are unpaired, for example <img>. The first tag in a pair is the
start tag, and the second tag is the end tag (they are also called opening tags and closing tags). In
between these tags web designers can add text, further tags, comments and other types of text-
based content. The purpose of a web browser is to read HTML documents and compose them into
visible or audible web pages. The browser does not display the HTML tags, but uses the tags to
interpret the content of the page.HTML elements form the building blocks of all websites. HTML
allows images and objects to be embedded and can be used to create interactive forms. It
provides a means to create structured documents by denoting structural semantics for text such
as headings, paragraphs, lists, links, quotes and other items. It can embed scripts written in
languages such as JavaScript which affect the behavior of HTML web pages.
CSS- Cascading Style Sheets(CSS) is a style sheet language used fordescribing the look and
formatting of a document written in a markup language. While most often used to style web pages
and interfaces written in HTML and XHTML, the language can be applied to any kind
of XML document, including plain XML, SVG and XUL. CSS is a cornerstone specification of the web
and almost all web pages use CSS style sheets to describe their presentation.CSS is designed
primarily to enable the separation of document content from document presentation, including
elements such as the layout, colors, and fonts. This separation can improve content accessibility,
provide more flexibility and control in the specification.
of presentation characteristics, enable multiple pages to share formatting, and reduce complexity
and repetition in the structural content (such as by allowing for table less web design).CSS can also
allow the same markup page to be presented in different styles for different rendering methods,
such as on-screen, in print, by voice (when
read out by a speech-based browser or screen reader) and on Braille-based, tactile devices. It can
also be used to allow the web page to display differently depending on the screen size or device
on which it is being viewed. While the author of a document typically links that document to a CSS
file, readers can use a different style sheet, perhaps one on their own computer, to override the
one the author has specified. However if the author or the reader did not link the document to a
specific style sheet the default style of the browser will be applied.CSS specifies a priority scheme
to determine which style rules apply if more than one rule matches against a particular element.
In this so-called cascade, priorities or weights are calculated and assigned to rules, so that the
results are predictable.
Ridiculously fast.
Fully loaded.
Django includes dozens of extras you can use to handle common web
development tasks. Django takes care of user authentication, content
administration, site maps, RSS feeds, and many more tasks — right out of
the box.
Reassuringly secure.
Exceedingly scalable.
Some of the busiest sites on the planet use Django’s ability to quickly and
flexibly scale to meet the heaviest traffic demands.
Incredibly versatile.
MYSQL- MySQL("My S-Q-L", officially, but also called "My Sequel") is (as ofJuly 2013) the world's
second most widely used open-source relational database management system (RDBMS). It is
named after co-founder Michael Widenius daughter, My. The SQL phrase stands for Structured
Query Language. The MySQL development project has made its source code available under the
terms of the GNU General Public License, as well as under a variety
of proprietary agreements. MySQL was owned and sponsored by a single for-profit firm, the
Swedish company MySQL AB, now owned by Oracle Corporation
.MySQL is a popular choice of database for use in web applications, and is a central component of
the widely used LAMP open source web application software stack (and other 'AMP' stacks). LAMP
is an acronym for "Linux, Apache, MySQL, Perl/PHP/Python." Free-software-open source projects
that require a full-featured database management system often use MySQL. For commercial use,
several paid editions are available, and offer additional functionality. Applications which use
MySQL databases
include: TYPO3, MODx, Joomla, WordPress, phpBB, MyBB, Drupal and other software. MySQL is
also used in many high-profile, large-scale websites, including Wikipedia, Google (though not for
YouTube
4.1.3 Flexible storage: various storage handler
Various storage handler are supported to offer different scopes for cache entries. Different scopes
allow for different degrees in sharing cache entries among clients.
• default (built-in): process memory, scope: process, one or more web requests depending on
PHP deployment model used
• MEMCACHE: main memory, scope: single or multiple server, multiple web requests
Support for the APC, SQLite and MEMCACHE storage handler has to be enabled at compile time.
The default and user handler are built-in. It is possible to switch between compiled-in storage
handlers on a per query basis at run time. However, it is recommended to pick one storage handler
and use it for all cache entries.
4.2.1 Introduction
Python django:
With Django, you can take web applications from concept to launch in a matter
of hours. Django takes care of much of the hassle of web development, so you
can focus on writing your app without needing to reinvent the wheel. It’s free
and open source.
Ridiculously fast.
Fully loaded.
Django includes dozens of extras you can use to handle common web
development tasks. Django takes care of user authentication, content
administration, site maps, RSS feeds, and many more tasks — right out of
the box.
Reassuringly secure.
Some of the busiest sites on the planet use Django’s ability to quickly and
flexibly scale to meet the heaviest traffic demands.
Incredibly versatile.
4.2.2 HTML
HTML or Hyper Text Markup Language is the standard markup language used to create web
pages.
HTML was created in 1991 by Tim Berners-Lee at CERN in Switzerland. It was designed to allow
scientists to display and share their research.
HTML is written in the form of HTML elements consisting of tags enclosed in angle brackets(like
<html>). HTML tags most commonly come in pairs like <h1> and </h1>, although some tags
represent empty elements and so are unpaired, for example <img>. The first tag in a pair is the start
tag, and the second tag is the end tag (they are also called opening tags and closing tags).
The purpose of a web browser is to read HTML documents and compose them into visible or
audible web pages. The browser does not display the HTML tags, but uses the tags to interpret the
content of the page. HTML describes the structure of a website semantically along with cues for
presentation, making it a markup language rather than a programming language.
HTML elements form the building blocks of all websites. HTML allows images and objects to be
embedded and can be used to create interactive forms. It provides a means to create structured
documents by denoting structural semantics for text such as headings, paragraphs, lists, links,
quotes and other items. It can embed scripts written in languages such as Java Script which affect
the behavior of HTML web pages.
HTML is descriptive markup language. Library of various markup languages is defined in various
browsers.
The <img> tag is empty, which means that it contains attributes only, and has no closing tag.
To display an image on a page, you need to use the src attribute. Src stands for "source". The value
of the src attribute is the URL of the image you want to display.
<imgsrc="url" alt="some_text">
b) HTML FORMS
HTML forms are used to pass data to a server.
<form>
.
input elements
.
</form>
An HTML form can contain input elements like text fields, checkboxes, radio-buttons, submit
buttons and more. A form can also contain select lists, textarea, fieldset, legend, and label
elements.
An ordered list:
An unordered list:
• The first list item
• List item
• The second list item
• List item
• The third list item
• List item
4.2.3 HTML 5
HTML5 will be the new standard for HTML. The previous version of HTML, HTML 4.01,
came in 1999. The web has changed a lot since then. HTML5 is still a work in progress.
However, the major browsers support many of the new HTML5 elements and APIs.
HTML5 is cooperation between the World Wide Web Consortium (W3C) and the Web
Hypertext Application Technology Working Group (WHATWG).
WHATWG was working with web forms and applications, and W3C was working with
XHTML 2.0. In 2006, they decided to cooperate and create a new version of HTML.
Some rules for HTML5 were established:
a) New features should be based on HTML, CSS, DOM, and JavaScript
b) Reduce the need for external plug-ins (like Flash)
c) Better error handling
d) More markup to replace scripting
e) HTML5 should be device independent
f) The development process should be visible to the public
4.2.4 CSS
CSS tutorial or CSS 3 tutorial provides basic and advanced concepts of CSS technology. Our CSS
tutorial is developed for beginners and professionals. The major points of CSS are given below:
• HTML, CSS and JavaScript are used for web designing. It helps the web designers to apply
style on HTML tags.
Cascading Style Sheets (CSS) is a style sheet language used for describing the look and
formatting of a document written in a markup language. While most often used to style web pages
and user interfaces written in HTML and XHTML, the language can be applied to any kind
of XML document, including plain XML, SVG and XUL. CSS is a cornerstone specification of the
web and almost all web pages use CSS style sheets to describe their presentation.
CSS is designed primarily to enable the separation of document content from document
presentation, including elements such as the layout, colors, and fonts. This separation can improve
content accessibility, provide more flexibility and control in the specification of presentation
characteristics, enable multiple pages to share formatting, and reduce complexity and repetition in
the structural content (such as by allowing for table less web design).
CSS can also allow the same markup page to be presented in different styles for different rendering
methods, such as on-screen, in print, by voice (when read out by a speech-based browser or screen
reader) and on Braille-based, tactile devices. It can also be used to allow the web page to display
differently depending on the screen size or device on which it is being viewed. While the author of
a document typically links that document to a CSS file, readers can use a different style sheet,
perhaps one on their own computer, to override the one the author has specified.
With plain HTML you define the colors and sizes of text and tables throughout your pages. If
you want to change a certain element you will therefore have to work your way through the
document and change it. With CSS you define the colors and sizes in "styles". Then as you
write your documents you refer to the styles. Therefore: if you change a certain style it will
change the look of your entire site. Another big advantage is that CSS offers much more
detailed attributes than plain HTML for defining the look and feel of your site.
4.2.5 JAVASCRIPT
JavaScript (JS) is a dynamic computer programming language. It is most commonly used as part
of web browsers, whose implementations allow client-side scripts to interact with the user, control
the browser, communicate asynchronously, and alter the document content that is displayed. It is
also being used in server-side network programming (with Node.js), game development and the
creation of desktop and mobile applications.
JavaScript is a prototype-based scripting language with dynamic typing and has first-class
functions. Its syntax was influenced by C. JavaScript copies many names and naming conventions
from Java, but the two languages are otherwise unrelated and have very different semantics. The
key design principles within JavaScript are taken from the Self and Scheme programming
languages. It is a multi-paradigm language, supporting object-oriented, imperative, and functional
programming styles.
The application of JavaScript in use outside of web pages—for example, in PDF documents, site-
specific browsers, and desktop widgets—is also significant. Newer and faster JavaScript VMs and
platforms built upon them (notably Node.js) have also increased the popularity of JavaScript for
server-side web applications. On the client side, JavaScript was traditionally implemented as an
interpreted language but just-in-time compilation is now performed by recent (post-2012)
browsers.
JavaScript was formalized in the ECMA Script language standard and is primarily used as part of a
web browser (client-side JavaScript). This enables programmatic access to objects within a host
environment.
It is the language for HTML, for the Web, for computers, servers, laptops, tablets, smart phones,
and more.
To better explain how all of this works, let’s use the example of a customer trying to purchase a
plane ticket using a website. Everything that the customer sees on the webpage is the front-end, as
we have explained before, but once that customer enters all of his or her information, ssssuch as their
name, billing address, destination, etc, the web application stores the information in a database that
was created previously on the server in which the website is calling for information.
The web application creates, deletes, changes, renames, etc items in the database. For example,
when a customer purchases a ticket, that creates an item in the database, but when they have a
change in their order or they wish to cancel, the item in the database is changed.
.In short, when a customer wants to buy a ticket, the backend operation is the web application
communicating with the server to make a change in a database stored on said server. Technologies
like PHP, Ruby, Python, and others are the ones backend programmers use to make this
communication work smoothly, allowing the customer to purchase his or her ticket with ease.
The third layer contains the storage engines. They are responsible for storing and retrieving all data
stored “in” MySQL. Like the various filesystems available for GNU/Linux, each storage engine
has its own benefits and drawbacks. The server communicates with them through the storage
engine API. This interface hides differences between storage engines and makes them largely
transparent at the query layer. The API contains a couple of dozen low-level functions that perform
operations such as “begin a transaction” or “fetch the row that has this primary key.” The storage
engines don’t parse SQL[4] or communicate with each other; they simply respond to requests from
the server.
5.2 Softwares and tools used:
5.2.1 My Sql:
Introduction:
The database has become an integral part of almost every human's life. Without it, many things we
do would become very tedious, perhaps impossible tasks. Banks, universities, and libraries are
three examples of organizations that depend heavily on some sort of database system. On the
Internet, search engines, online shopping, and even the website naming convention would be
impossible without the use of a database. A database that is implemented and interfaced on a
computer is often termed a database server.
One of the fastest SQL (Structured Query Language) database servers currently on the
market is the MySQL server, developed by T.c.X. DataKonsultAB. MySQL, available for
download at www.mysql.com, offers the database programmer with an array of options and
capabilities rarely seen in other database servers. MySQL is free of charge for those wishing to use
it for private and commercial use. Those wishing to develop applications specifically using
MySQL should consult MySQL's licensing section, as there is charge for licensing the product.
However, perhaps the most interesting characteristic of all is the fact that it's free. That's right,
T.c.X offers MySQL as a free product to the general public.
The MySQL database server provides the ultimate in scalability, sporting the capacity to handle
deeply embedded applications with a footprint of only 1MB to running massive data warehouses
holding terabytes of information. Platform flexibility is a stalwart feature of MySQL with all
flavors of Linux, UNIX, and Windows being supported.
b) High Performance
A unique storage-engine architecture allows database professionals to configure the MySQL
database server specifically for particular applications, with the end result being amazing
performance results.
C) High Availability
Rock-solid reliability and constant availability are hallmarks of MySQL, with customers relying on
MySQL to guarantee around-the-clock uptime. MySQL offers a variety of high-availability options
from high-speed master/slave replication configurations, to specialized Cluster servers offering
instant failover, to third party vendors offering unique high-availability solutions for the MySQL
database server.
g) Management Ease
MySQL offers exceptional quick-start capability with the average time from software download to
installation completion being less than fifteen minutes. This rule holds true whether the platform is
Microsoft Windows, Linux, Macintosh, or UNIX.
• Fully multi-threaded using kernel threads. It can easily use multiple CPUs if they are available.
• Relatively easy to add other storage engines. This is useful if you want to provide an SQL interface
for an in-house database.
• SQL functions are implemented using a highly optimized class library and should be as fast as
possible. Usually there is no memory allocation at all after query initialization.
• The server is available as a separate program for use in a client/server networked environment.
CHAPTER 3 SYSTEM
DESIGN
TABLE DESIGN
After entering to the home page of the website, Admin can choose the Admin Login option
where they are asked to enter username & password, and if he/she is a valid user then a teacher
login page will be displayed.
31
After entering to the home page of the website , student can choose the USER LOGIN
option where they are asked to enter username & password , and if he/she is a valid user
then a student login page will be displayed.
DATA FLOW DIAGRAM FOR USER
USER CASE DIAGRAM FOR ADMIN
SEQUENCE DIAGRAM
CHAPTER 4 SYSTEM
IMPLEMENTATION
Add Book
Manage Book
Issue Book
Issue Book
MODULE DESCRIPTION
The aim of the system testing process was to determine all defects in our project .The
program was subjected to a set of test inputs and various observations were made and
based on these observations it will be decided whether the program behaves as expected
or not. Our Project went through two levels of testing
1. Unit testing
2.integration
testing
UNIT TESTING
Unit testing is undertaken when a module has been created and succesfully reviewed .In
order to test a single module we need to provide a complete environment ie besides the
module we would require
The procedures belonging to other modules that the module under test calls
Non local data structures that module accesses
A procedure to call the functions of the module under test with
appropriate parameters
Unit testing was done on each and every module that is described under module description
of chapter 4
INTEGRATION TESTING
In this type of testing we test various integration of the project module by providing the input
.The primary objective is to test the module interfaces in order to ensure that no errors
are occurring when one module invokes the other module.
CHAPTER 6 CONCLUSION & FUTURE
SCOPE
There is a future scope of this facility that many more features such as online lectures video
tutorials can be added by teachers as well as online assignments submission facility , a feature
Of group chat where students can discuss various issues of engineering can be added to this
project thus making it more interactive more user friendly and project which fulfills each users
need in the best way possible.
CHAPTER 7
REFERENCES
http://www.w3schools.com/html/html_intro.asp
http://www.Udemy.com/css/css_background.asp
http://www.w3schools.com/js/js_datatypes.asp