You are on page 1of 15

Topic :-

Design a website to implement Library Management


System using HTML and JavaScript
Submitted By:-
Name :- Mohd Naeem
Roll Number :- A-10
Section :- D-1203
Reg. no :- 1121059
!our"e !ode :- !A# $ 21%
Submitted to:-
Mi"". &al'inder (aur
INTRODUCTION
This system can manage all the happenings of the Library. Book transactions including
Book Registration, Students Registration, Book Issuing, Current Status of a particular
books etc. can be very easily handled by this module. verall this system can be very
helpful and it can make things easier.
In the e!isting system, most of the records are maintained on paper. It becomes very
inconvenient to modify the data. In the e!isting system, here is a possibility that the same
data in different registers may have different values "hich means the entries of the same
data do not match. This inconsistent state does not supply the concrete information "hich
poses a problem in the case information related to particular search record.
ur pro#ect is very useful. $ser is no longer re%uired to check his register in search of
records, as no" it can be searched over the soft"are by choosing some options. The user
need not to type in most of the information. &e'she is #ust re%uired to enter the desired
options. n the "hole it liberates the user from keeping lengthy manual records. In a
nutshell, it abates the "ork load of an organi(ation.
CODING STEPS FOR LIBRARY ANAGEENT SYSTE
). C*I+, - L,I+ ./,0
1. C*I+, - 20LC30 ./,0
4. C*I+, - 5I02 .R-IL0 ./,0
6. C*I+, - C&/+,0 ./SS2R* ./,0
7. C*I+, - B8/5/IL/BILIT9 -R3
:. C*I+, - /*3I+ L,I+ ./,0
;. C*I+, - /*3I+ &30 ./,0
<. C*I+, - B8 ISS$I+, -R3
=. C*I+, - B8 R0T$R+I+, -R3
)>.C*I+, - /** B8S -R3
Step!:
To design a code for login page so that user can login into online library by filling correct username and
pass"ord?
CODING OF LOGIN PAGE:-
@ titleARegistration .age@'titleA
@script typeBCte!t' #ava scriptD languageBC#ava scriptCA
-unction CoE5alidation FG
H
5ariable mid B document. Regform.midI
5ariable passBdocument.Regform.p"I
5ariable con passBdocument.
Regform.con p"I
If Fmid. valueBBCCG
H /lert FC0nter midCGI
3id. -ocus FGI
Return falseI
J
If Fpass. valueBBCCG
H
/lert FC0nter pass"ordCGI
.ass .-ocus FGI
Return falseI
J
If FCon pass. valueBBCCG
H
/lert FC0nter Conform .ass"ordCGI
Con .ass .-ocus FGI
Return falseI
J
5ariable pass) B pass .valueI
5ariable pass1 B compass .valueI
5ariable value B pass). 3atch Fpass1GI
''alert FvalueGI
If FvalueBBnullG
H
/lert FC.ass"ord and Conform .ass"ord didnKt matchG
compass .focus FGI
Return falseI
H
/lert FC.ass"ord and Conform .ass"ord didnKt matchG
Con pass. -ocus FGI
Output o" #tep! :
The output of step) is sho"n belo" is a login page consisting of field name mid Fmember idG L pass"ord
user can login to online library by filling correct mid L pass"ord.
Step $ :
To design a code for "elcome page for online library
CODING OF %ELCOE PAGE
@ html A
@ head A
@titleALibrary management system@'titleA
@'headA
@body b g colorBCpinkC A
@M String midBFStringG re%uest get /ttributeFCmidCGI
MA
@font si(eBC1>C colorBCblackC
@ I A2elcome to nline Library@' IA
@'fontA @font si(eBC7C colorBCblueCA
@ BrA
@/ h refBCaboutus.htmlCA/bout $s@'aA
@BrA
@a h refBK5ie" profileKA5ie" .rofile@'aA
@a h refBK5ie" profileKA5ie" .rofile@'aA
@BrA
@a h refBCeditprofile.#spCA0dit .rofile@'aA
@a h refBCeditprofile.#spCA0dit .rofile@'aA
@a h refBCchngepass"ord.#spCAChange .ass"ord@'aA
@a h refBCbookavailability.#spCABooks /vailability@'aA
@'fontA
@'bodyA
@'htmlA
Output o" #tep$:
The output of step1 is given belo" is a "elcome page "hich contain all the links of online library such as
5ie" .rofile, 0dit .rofile, Change .ass"ord, Books /vailability. $ser can use the service provided by
online library by clicking on this links.
......
Step&:
To design a code for 5ie" .rofile "eb page so that user can vie" his profileNE
CODING OF 'IE% PROFILE PAGE
MA
@MOpage languageBC#avaC MA
@M
/rray List B F/rray ListG re%uest. ,et /ttribute FCvie" $ser RecordCGI
String m nameB FStringG list .get F>GI
String m emailB FStringG list .get F)GI
String m genderB FStringG list .get F1GI
String m addB FStringG list .get F4GI
String m contactB FStringG list .get F6GI
MA
@&tmlA
@body b g colorBCpinkCA
@centerA@h1A3y .rofile@'h1A
@table borderBC4CA
@TRA
@T&Am name@'T&A
@TdA@MBm name MA@ 'T*A
@'TRA
@TRA
@T&Am email@'T&A
@T*A@MBm email MA@ 'T*A
@'TRA
@TRA
@T&Am gender@'T&A
@T*A@MBm gender MA@ 'T*A
@'TRA
@TRA
@T&Am add@'T&A
@T*A@MB m add MA@ 'T*A
@'TRA
@TRA
@T&Am contact@'T&A
@T*A@MBm contact MA@ 'T*A
@'TRA
@'tableA
@'centerA
@'bodyA
@'htmlA
Output o" #tep& :
utput of step4 is a page "hich is display the profile of login user.
Step (:
To design a code for change pass"ord pageNE
CODING OF C)ANGE PASS%ORD PAGE

@&tmlA
@&eadA
@titleAPS. .age@'titleA
@'headA
@body b g colorBCpinkCA
@h1A@IAtype your ne" pass"ord@'IA@'h1A
@form nameBCchange pass"ord formC actionBCchange .ass"ordCA
@pA.ass"ord@input typeBCpass"ordC nameBCp"C@'pA
@pAconfirm pass"ord@input typeBCpass"ordC nameBCcon p"C@'pA
@input typeBCsubmitC valueBCchange pass"ordC'A
@'formA
@'bodyA
@'htmlA
Output o" #tep (:
The output of step 6 is given belo" through "hich user can change his pass"ord.
Step* :
To design a code for check books availability form so that user can search for the re%uired
Books in library are available or not
CODING OF BOO+A'AILABILITY FOR
@htmlA
@headA
@ Title APS. .age@ 'Title A
@'headA
@body b g colorBCpinkCA
@h1A@IAtype book title R book author@'IA@'h1A
@form nameBCBook StockC actionBCstockCA
@pAb title@input typeBCte!tC nameBCb tC @'pA
@pAb author@input typeBCte!tC nameBCb aC @'pA
@BrA
@input typeBCsubmitC valueBCsearchC'A
@'formA
@'bodyA
@'htmlA
Output o" #tep* :
utput of step7 is given belo" is a "eb page from "hich user can search for books in library
by specifying book title L book author
Step , :
To design a code for admin login page so that admin or librarian can login to admin page by
filling correct username L pass"ord.
CODING OF ADIN LOGIN PAGE
@htmlA
@headA
@titleAPS. .age@'titleA
@'headA
@body b g colorBCpinkCA
@form nameBCadmin formC actionBCadminC'A
@h4A @IAplease type your username L pass"ord@' IA @'h4A
@pAusername@input typeBCte!tC nameBCunC @'pA
@pApass"ord@input typeBCpass"ordC nameBCp"C @'pA
@BrA@BrA
@input typeBCsubmitC valueBCloginC A
@'bodyA
@'htmlA
Output o" #tep , :
The output of step : is given belo"
Step - :
To design a code for admin home page "hich consist of links such as issue books, return
books, add booksNE
CODING OF ADIN )OE PAGE
@htmlA
@headA
@titleAPS. .age@'titleA
@'headA
@body b g colorBCpinkC A
@centerA
@h1 A 20LC30 T /*3I+ ./,0 @'h1A
@'centerA
@BrA
@font si(eBC7C colorBCblueCA
@a h refBCissue.#spCAISS$0 B8S@'aA
@BrA @BrA
@a h refBCreturn.#spCAR0T$R+ B8S@'aA
@BrA @BrA @a h refBCstatus.#spCA/** B8S@'aA
@BrA @BrA
@a h refBCseeissue.#spCAISS$0 ST/T$S@'aA
@'fontA
@'bodyA
@'htmlA
Output o" #tep - :
utput of step ; is given belo" admin can access the services of issuing, returning Ladding
of books by clicking on the respective links
Step . :
To design a code for book issuing form so that admin can issue books to student by filling
*etails like ISB+ no. of book member id, issuing date L due dateNE
CODING OF BOO+ ISSUING FOR
@htmlA
@headA
@titleAPS. .age@'titleA
@'headA
@body b g colorBCpinkCA
@centerA
@h1AB8S ISS$I+, -R3@'h1A
@'centerA
@form nameBCissuing formC actionBCissueCA
@pAb ISB+ no@input typeBCte!tC nameBCI s b nC@'pA
@pAmid@input typeBCte!tC nameBCmidC @'pA
@pAissue date @input typeBCte!tC nameBCdateC @'pA
@pAdue date @input typeBCte!tC nameBCdateC@'pA
@input typeBCsubmitC valueBCissueC'A
@'formA
@'bodyA
@'htmlA
Output o" #tep . :
The output of step < is given belo" is a book issuing form.
Step /:
To design a code for book returning form so that admin can return the books by filing The
details deposited date, ISB+ no, mid. NE
CODING OF BOO+ RETURNING FOR
@htmlA
@headA
@titleAPS. .age@'titleA
@'headA
@body b g colorBCpinkCA
@CenterA
@h1ABook Returning -orm@'h1A
@'centerA
@form nameBCreturn book formC actionBCreturnCA
@pAmid @input typeBCte!tC nameBCmidC@'pA
@pAb ISB+ no@input typeBCte!tC nameBCISB+C@'pA
@pAdeposited date @input typeBCte!tC nameBCdepositedC 'A
@'pA
@BrA
@BrA
@input typeBCsubmitC valueBCreturnC'A
@'formA
@'bodyA

Output o" #tep / :

The output of step = is given belo" is a book returning form by "hich admin can return book
of member.
Step !0 :

To design a code for book addition form
CODING OF ADD BOO+S FOR
@htmlA
@headA
@titleAPS. .age@'titleA
@'headA
@body b g colorBCpinkCA
@form nameBCbooks collectionC actionBCinsertCA
@pAb ISB+ no@input typeBCte!tC nameBCISB+C'A@'pA
@pAb title@input typeBCte!tC nameBCbook titleC'A@'pA
@pAb author@input typeBCte!tC nameBCb authorC'A@'pA
@pAb publisher@input typeBCte!tC nameBCb publisherC'A@'pA
@pAb price@input typeBCte!tC nameBCpcC'A@'pA
@pAtotal copies@input typeBCte!tC nameBCtotal copiesC'A@'pA
@pAdate of arrival@input typeBCte!tC nameBCdateC'A @'pA
@input typeBCsubmitC valueBCinsertC'A
@'formA
@'bodyA
@'htmlA
Output o" #tep !0 :
The output of step )> is the book addition form by "hich admin can add books to online library by filling book
title, book author, available copies etc.
RESULT :

The combination of all the above "eb pages result in a "eb application named Library
3anagement System, "hich "orks as online library.
LibraryN E Several user friendly coding have also adopted. This package shall prove to be a
po"erful package in satisfying all the need.
AD'ANTAGES AND DISAD'ANTAGES OF LS:-

AD'ANTAGES:-
). It may help collecting perfect management in details.
1. In a very short time, the collection "ill be obvious, simple and sensible.
4. It "ill help a person to kno" the management of passed year perfectly
and vividly. It also helps in current all "orks relative to College.
DISAD'ANTAGES:-
). Libraries may need to change their L3S every no" and then to avoid
lagging behind the technology.
1. /lthough a library management systemKs end goals include cutting costs,
setting up a ne" system initially re%uires a substantial amount of money
and resources.
4. Libraries not only pay for the soft"are but may also spend for ne"
computers, installations, hosting and maintenance.
FUTURE SCOPE:-
). To make the e!isting system more efficient.
1. To provide a user friendly environment "here user can be serviced better.
4. 3ake functioning of library faster.
6. .rovide a system "here the library staff can catch defaulters and not let
them escape.
7. To minimi(e the loss done to books.
CONCLUSION:-
This paper is only a humble venture to satisfy the needs in a made "ithin a
limited time frame at the beginning of the soft"are paper and should be
updated regularly as the paper progresses re%uirements of the organi(ation.
The main focus of this pro#ect is to lessen human efforts. The maintenance of
the records is made efficient, as all the records are stored in the /CC0SS
database, through "hich data can be retrieved easily. The navigation control
is provided in all the forms to navigate through the large amount of records.
If the numbers of records are very large then user has to #ust type in the
search string and user gets the results immediately. The editing is also made
simpler. The user has to #ust type in the re%uired field and press the update
button to update the desired field. The Books and Students are given a
particular uni%ue id no.So that they can be accessed correctly and "ithout
errors. ur main aim of the pro#ect is to get the correct information about a
particular student and books available in the library. The problems, "hich
e!isted in the earlier system, have been removed to a large e!tent. /nd it is
e!pected that this pro#ect "ill go a long "ay in satisfying userQs
re%uirements.

You might also like