Library Management System
Library Management System
1. INTRODUCTION
“Library Management system for diploma colleges” it’s a project and initiative towards making
technical education system transparent and making diploma resources available to all the
students in a single platform.
Project Overview
This project provides with good look and feel user interface developed using PHP and
MYSQL Server, where all the college faculties can upload their precious academic
materials and resources for benefit of students community, even as well students can
also upload their self written notes, which in turn will be displayed on the library after
validation and verification.
And also this project provides with good look and feel user interface developed
using Asp.Net framework, where all the college faculties can upload their precious
academic materials and resources for benefit of students community, even as well
students can also upload their self written notes, which in turn will be displayed on
the library after validation and verification.
Module Description
Module Description
Page 1
Library Management System
2. About Project
3. About team
4. About Technical Specifications
2. Upload as Admin
a. Providing privileges for only admin to upload notes directly with username and
password
3. Student
a. Providing privileges for students to just read the notes.
Page 2
Library Management System
4. TOOLS/ENVIRONMENT USED
Reason
Reason
Processor : PENTIUM IV
Page 3
Library Management System
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 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 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.
Using PHP, you can restrict users to access some pages of your website.
Characteristics of PHP
Simplicity
Efficiency
Security
Page 4
Library Management System
Flexibility
Familiarity
<!DOCTYPE HTML>
<html>
<head>
<title>Example</title>
</head>
<body>
<?php
echo "Hi, I'm a PHP script!";
?>
</body>
</html>
Instead of lots of commands to output HTML (as seen in C or Perl), PHP pages contain HTML
with embedded code that does "something" (in this case, output "Hi, I'm a PHP script!"). The
PHP code is enclosed in special start and end processing instructions <?php and ?> that allow
you to jump into and out of "PHP mode."
What distinguishes PHP from something like client-side JavaScript is that the code is executed
on the server, generating HTML which is then sent to the client. The client would receive the
results of running that script, but would not know what the underlying code was. You can even
configure your web server to process all your HTML files with PHP, and then there's really no
way that users can tell what you have up your sleeve.
The best things in using PHP are that it is extremely simple for a newcomer, but offers many
advanced features for a professional programmer. Don't be afraid reading the long list of PHP's
features. You can jump in, in a short time, and start writing simple scripts in a few hours.
Although PHP's development is focused on server-side scripting, you can do much more with it.
Read on, and see more in the What can PHP do? section, or go right to the introductory tutorial
if you are only interested in web programming.
Anything. PHP is mainly focused on server-side scripting, so you can do anything any other
CGI program can do, such as collect form data, generate dynamic page content, or send and
receive cookies. But PHP can do much more.
There are three main areas where PHP scripts are used.
Page 5
Library Management System
Server-side scripting. This is the most traditional and main target field for PHP. You need three
things to make this work: the PHP parser (CGI or server module), a web server and a web
browser. You need to run the web server, with a connected PHP installation. You can access the
PHP program output with a web browser, viewing the PHP page through the server. All these
can run on your home machine if you are just experimenting with PHP programming. See the
installation instructions section for more information.
Command line scripting. You can make a PHP script to run it without any server or browser. You
only need the PHP parser to use it this way. This type of usage is ideal for scripts regularly
executed using cron (on *nix or Linux) or Task Scheduler (on Windows). These scripts can also
be used for simple text processing tasks. See the section about Command line usage of PHP for
more information.
Writing desktop applications. PHP is probably not the very best language to create a desktop
application with a graphical user interface, but if you know PHP very well, and would like to use
some advanced PHP features in your client-side applications you can also use PHP-GTK to write
such programs. You also have the ability to write cross-platform applications this way. PHP-GTK
is an extension to PHP, not available in the main distribution. If you are interested in PHP-GTK,
visit » its own website.
PHP can be used on all major operating systems, including Linux, many Unix variants
(including HP-UX, Solaris and OpenBSD), Microsoft Windows, Mac OS X, RISC OS, and
probably others. PHP also has support for most of the web servers today. This includes Apache,
IIS, and many others. And this includes any web server that can utilize the FastCGI PHP binary,
like lighttpd and nginx. PHP works as either a module, or as a CGI processor.
So with PHP, you have the freedom of choosing an operating system and a web server.
Furthermore, you also have the choice of using procedural programming or object oriented
programming (OOP), or a mixture of them both.
With PHP you are not limited to output HTML. PHP's abilities includes outputting images, PDF
files and even Flash movies (using libswf and Ming) generated on the fly. You can also output
easily any text, such as XHTML and any other XML file. PHP can autogenerate these files, and
save them in the file system, instead of printing it out, forming a server-side cache for your
dynamic content.
One of the strongest and most significant features in PHP is its support for a wide range of
databases. Writing a database-enabled web page is incredibly simple using one of the database
specific extensions (e.g., for mysql), or using an abstraction layer like PDO, or connect to any
database supporting the Open Database Connection standard via the ODBC extension. Other
databases may utilize cURL or sockets, like CouchDB.
PHP also has support for talking to other services using protocols such as LDAP, IMAP, SNMP,
NNTP, POP3, HTTP, COM (on Windows) and countless others. You can also open raw network
sockets and interact using any other protocol. PHP has support for the WDDX complex data
exchange between virtually all Web programming languages. Talking about interconnection,
PHP has support for instantiation of Java objects and using them transparently as PHP objects.
PHP has useful text processing features, which includes the Perl compatible regular expressions
(PCRE), and many extensions and tools to parse and access XML documents. PHP standardizes
all of the XML extensions on the solid base of libxml2, and extends the feature set adding
SimpleXML, XMLReader and XMLWriter support.
Page 6
Library Management System
And many other interesting extensions exist, which are categorized both alphabetically and by
category. And there are additional PECL extensions that may or may not be documented within
the PHP manual itself, like » XDebug.
MySQL, the most popular Open Source SQL database management system, is developed,
distributed, and supported by Oracle Corporation.
The MySQL website (http://www.mysql.com/) provides the latest information about MySQL
software.
A relational database stores data in separate tables rather than putting all the data in one
big storeroom. The database structures are organized into physical files optimized for
speed. The logical model, with objects such as databases, tables, views, rows, and
columns, offers a flexible programming environment. You set up rules governing the
relationships between different data fields, such as one-to-one, one-to-many, unique,
required or optional, and “pointers” between different tables. The database enforces
these rules, so that with a well-designed database, your application never sees
inconsistent, duplicate, orphan, out-of-date, or missing data.
The SQL part of “MySQL” stands for “Structured Query Language”. SQL is the most
common standardized language used to access databases. Depending on your
programming environment, you might enter SQL directly (for example, to generate
reports), embed SQL statements into code written in another language, or use a
language-specific API that hides the SQL syntax.
SQL is defined by the ANSI/ISO SQL Standard. The SQL standard has been evolving
since 1986 and several versions exist. In this manual, “SQL-92” refers to the standard
released in 1992, “SQL:1999” refers to the standard released in 1999, and “SQL:2003”
Page 7
Library Management System
refers to the current version of the standard. We use the phrase “the SQL standard” to
mean the current version of the SQL Standard at any time.
Open Source means that it is possible for anyone to use and modify the software.
Anybody can download the MySQL software from the Internet and use it without
paying anything. If you wish, you may study the source code and change it to suit your
needs. The MySQL software uses the GPL (GNU General Public License),
http://www.fsf.org/licenses/, to define what you may and may not do with the software
in different situations. If you feel uncomfortable with the GPL or need to embed
MySQL code into a commercial application, you can buy a commercially licensed
version from us. See the MySQL Licensing Overview for more information
(http://www.mysql.com/company/legal/licensing/).
The MySQL Database Server is very fast, reliable, scalable, and easy to use.
If that is what you are looking for, you should give it a try. MySQL Server can run
comfortably on a desktop or laptop, alongside your other applications, web servers, and
so on, requiring little or no attention. If you dedicate an entire machine to MySQL, you
can adjust the settings to take advantage of all the memory, CPU power, and I/O
capacity available. MySQL can also scale up to clusters of machines, networked
together.
MySQL Server was originally developed to handle large databases much faster than
existing solutions and has been successfully used in highly demanding production
environments for several years. Although under constant development, MySQL Server
today offers a rich and useful set of functions. Its connectivity, speed, and security make
MySQL Server highly suited for accessing databases on the Internet.
We also provide MySQL Server as an embedded multi-threaded library that you can link
into your application to get a smaller, faster, easier-to-manage standalone product.
MySQL Server has a practical set of features developed in close cooperation with our
users. It is very likely that your favorite application or language supports the MySQL
Database Server.
The official way to pronounce “MySQL” is “My Ess Que Ell” (not “my sequel”), but we do not
mind if you pronounce it as “my sequel” or in some other localized way.
Page 8
Library Management System
4. ANALYSIS DOCUMENT
Existing System
Following are the points to be considered in Existing system
1. No transparency in diploma academic resources.
2. No easy availability of diploma academic resources
3. Manual notes, prone to error in spells
4. Have to physically carry the books
5. Costly
Proposed System
In our project we have proposed a solution, which we resolve the above stated problems
faced by student community , we have come up with solution by providing one stop solution by
creating web based single platform to share and download the diploma academic resources
uploaded by college faculties on our digital library.
Analysis
Initial Study
This involves the investigation of the existing system, which includes a vast level of
interviews with the user and the concerned staff in sufficient depth. This also includes the
collection and study of detailed information and literature regarding the complete existing
procedure.
The detailed initial study properly documented and the failing and problems are noted
separately. The system is properly designed and proper outline of the proposed
computerized system is prepared. The proposed design is brought against all the known
Page 9
Library Management System
facts and further proposals are made. Various resources including the software, hardware
and manpower requirements are decided and are mentioned in the report.
Technical Feasibility
As the saying goes, "to err is human". Keeping in view the above fact, now a
days all organizations are automating the repetitive and monotonous works done by
humans as well as proving a means of establishing a connection through their j2me
enabled mobiles. The key process areas of current system are nicely amenable to
automation and hence the technical feasibility is proved beyond doubt.
Operational Feasibility
Since the inception of Internet, it is continuously growing in leaps and bounds,
as more people are arriving at the conclusion that they cannot escape from it and in
Page 10
Library Management System
order to keep up, they have to participate in that. In today's world, Cellular Mobile
Devices provides an efficient, reliable, cost-effective and time-saving platform for
communication. Here in the proposed system bidding is implemented on the mobile
devices, which will be enable to end users of Cellular Mobile Devices to obtain the
information about the various products that are the part of the system and the at the
same time can proceed with the bidding.
Time and Resource Feasibility
This system helps the user to find in the best usage of resources keeping in track of
all the product details over a period of time, thereby reducing the decision making process
easier and worthwhile. Acts to be a solution provider in determining the best allocation of
resources and finding out the way for time reduction.
In systems design the design functions and operations are described in detail, including
screen layouts, business rules, process diagrams and other documentation. The output of
this stage will describe the new system as a collection of modules or subsystems.
Page 11
Library Management System
4.2.1) ER model
ER model is the relationship between two entities. ER model contains the many
notations.
Entity
Strong Entity
Entity which having the own key attribute is called Strong entity.
Weak Entity
Attribute
Relationship
ER DIAGRAM
Page 12
Library Management System
A data flow diagram is graphical tool used to describe and analyze movement of data
through a system. These are the central tool and the basis from which the other components are
developed
A DFD is also known as a “bubble Chart” has the purpose of clarifying system
requirements and identifying major transformations that will become programs in system
design. So it is the starting point of the design to the lowest level of detail. A DFD consists of a
series of bubbles joined by data flows in the system.
DFD Symbols
Page 13
Library Management System
A circle or a bubble represents a process that transforms incoming data flow into
outgoing data flows.
An open rectangle is a data store, data at rest or a temporary repository of data
Data flow
Data Store
Page 14
Library Management System
The DFD shows flow of data, not of control loops and decision are controlled
considerations do not appear on a DFD.
The DFD does not indicate the time factor involved in any process whether the dataflow
take place daily, weekly, monthly or yearly.
The sequence of events is not brought out on the DFD.
1. Current Physical
2. Current Logical
3. New Logical
4. New Physical
Data Flow Diagram
5. DESIGN DOCUMENT
5.1) Design
Page 15
Library Management System
Design is the key phase of any project. It is the first step in moving from the problem
domain. The input to the design phase is the specifications of the system to design. . Before the
implementation of the package, this has to be carried out thoroughly to illuminate any bug,
which may be present. The project has to be submitted for system design. The output of the top-
level designs architectural design, or the system design for software system to be built. A design
should be very clear, verifiable, complete, traceable, efficient and simple.
System Design
Here the focus is on deciding which modules are needed for the system, the specifications
of these modules low and how the module should be interconnected.
Database Design
Page 16
Library Management System
TESTING
Testing is the process of detecting errors. Testing performs a very critical role for
quality assurance and for ensuring the reliability of software. The result of testing is
used later and during maintenance.
A strategy for software testing may also be viewed in the context of the spiral.
Unit testing begins at the vertex of the spiral and concentrates on each unit of the
software as implemented in source code. Testing progress by moving outward along the
spiral to integration testing, where the focus is on the design and the construction of the
software architecture . Talking another turn on outward on the spiral we encounter
validation testing where requirements established as part of software requirements
analysis are validated against the software that has been constructed. Finally we arrive at
system testing, where the software and other system elements are tested as a whole.
Page 17
Library Management System
Unit Testing
Unit testing focuses verification effort on the smallest unit of software design,
the module. The unit testing we have is white box oriented and some modules the steps
are conducted in parallel.
Page 18
Library Management System
To follow the concept of white box testing we have tested each form. We have
created independently to verify that Data flow is correct, All conditions are exercised to
check their validity, All loops are executed on their boundaries.
6. Conditional Testing
In this part of the testing each of the conditions were tested to both true and false
aspects. And all the resulting paths were tested. So that each path that may be generate
on particular condition is traced to uncover any possible errors.
This type of testing selects the path of the program according to the location of
definition and use of variables. This kind of testing was used only when some local
variable were declared. The definition-use chain method was used in this type of testing.
These were particularly useful in nested statements.
In the unit every model was tested independent of each other verified that it is working
properly. Unit focus verification efforts on the smallest unit of the software and hardware
design in the model. To check, whether each model in software works properly . So that it
gives desired outputs to the given inputs . All the validation and conditions are tested in the
model level. In this project each of the modules are unit tested and the bugs were identified
and rectified.
Page 19
Library Management System
Page 20
Library Management System
Page 21
Library Management System
7. SECURITY
Security is the probability (which can be estimated or derived from empirical evidence)
that attack on the specific type will be repelled. Software integrity has become increasingly
important in the age of hackers and firewalls. This attributes measures a system ability to
withstand attacks (both accidental and intentional) to its security. Attacks can be made on all
three components of software program, data, and documents
A privilege and password system that is very flexible and secure, and allows host-based
verification. Passwords are secure because all password traffic is encrypted when you connect
to a server.
Page 22
Library Management System
9. CONCLUSION
The “OER For Diploma Students” website has been designed to meet the requirements of
Diploma college students. Once after implementing this project in real time in the college,
slowly we will come to know the exact modifications to be made to the project to make it more
beneficial to student community.
Page 23
Library Management System
Email notifications
Page 24
Library Management System
11. BIBLIOGRAPHY
www.phptutorials.com
www.wikipedia.com
www.google.com
etc
Page 25