Library Management System: Asutosh College
Library Management System: Asutosh College
Library Management System: Asutosh College
By
Asutosh College
Second Campus
Bachelor Of Vocational,
Software Development.
Declaration
The project submitted herewith is a result of our own efforts in totality and in every aspects
of the project works. All information that has been obtained from other sources had been
fully acknowledged. We understand that any plagiarism, cheating or collusion or any sorts
constitutes a breach of College rules and regulations and would be subjected to disciplinary
actions.
Acknowledgements
After complete this Project, We would like to take this chance to express my sincere gratitude
to my project supervisor which is Mr. Rishi Bhattacharya who has guided us a lot throughout
the project development. When We still doing nothing while project due date is getting close,
he give us some pressure to complete the system. Without him, We think We can’t finish the
system on time. In addition, while We meet some logic problem or design problem, Mr.
Bhattacharya always the one give us useful and logic answer.
We would like to thanks Mr . Rishi Bhattacharya for one more time because he share his
experience with us so that we can get more logic understanding on how to develop a software
which suitable for the current society.
Table of Contents
Chapter 4: ....................................Programming.
Chapter 1
System Planning
• System Planning
The developing process of the Library Management System will be carried out in this
chapter as well as the system objectives, scope and schedules.
• Background of Project
Library Management System is an application refer to other library system and it is suitable
to use by small and medium size library. It is use by librarian and library admin to manage
the library using a computerized system. The system was developed and designed to help
librarian record every book transaction so that the problem such as file missing or record
missing will not happened again.
Barcode reader is equipped in this system so that users can enjoy the convenience without
need to key in the barcode of the book themselves. It is convenience and time saving as the
users can direct scan in the book’s barcode id when the members borrows few books in one
time.
Book and member maintenance module also included in Library Management System. Users
can register or edit the member or book in the system. With this computerized maintenance,
library will not lost the book record or member record which always happen when no
computerized system bring used.
In addition, report module is also included in Library Management System. If user’s position
is Admin, the user is able to view different kind of report. First type of report are rental and
return report, user can check the rental, return transaction which happen on particular day.
Besides that, user can check the Top10 books which borrow by the member in a day, month
or year based on category. Moreover, activity log report also provided by system so that
admin can check what process has been carried out such as register new book, edit member
information as well as login, logout information.
All these modules are able to help librarian to manage the library more convenience and
efficiency compare to those library without computerized system.
• Project Scope
In this sub chapter, project scope will carried out what modules were contains inside
the Library Management System.
For Library Management System, it is divided into online web site and library system.
For my part, We was responsible for library system while the online web site was carried
out by my friend Koh Yee Keat.
At here, We will describe my own part which is library system which used by librarian.
Library system
• Authorization and Authentication Module
This module is used by user which means librarian in the library. They need to
login to the system using their id and password. In order to distinguish the user’s
level, user can access to different module when successfully login. For example,
only admin level users are able to access the report module.
Book Module can access by any user from all levels. This module can used to
maintain the book inventory record such as search, add and edit. In addition,
we can generate the barcode for particular book and print it out so that
librarian can stick the barcode on the book cover.
The software used to develop Library Management System is Microsoft Visual Studio
2010 and SQL Server 2008 R2 as the database. On the other hand, the methodology We
used to develop this system is waterfall model.
Waterfall model is one of a system development life cycle(SDLC) model. Users proceed
to next phase if and only if current phase is complete. Users are not allowed go back to
previous phases if there are any mistake so they named it waterfall model, just like the
water is always fall down from the waterfall and not flow upward.
In Royce's original waterfall model, the waterfall model originally consists of 7 phases
which is Requirement Specification, Design, Construction, Integration, Testing and
Debugging, Installation and Maintenance.
Firstly, we collect the requirement for the library system, and then we analyzed it. After
analyzed the requirement, we proceed to design stage. In the design phase, We design
not only the user interface, but also the database design. The next phase in waterfall
model after design phase is Construction phase. Construction phase is an important
phase in waterfall model and it is a time consuming phase depends on programmer’s
ability. In Library Management System development, construction phase is using C#
coding to write the program. IT is very time consuming if the programmer don’t
understand the logic or still fresh to the coding. After done the coding phase, we will
proceed to integration phase. In this phase, online web site and library system will share
a same database to make integration between two applications. The next phase after
integration is the testing and debugging phase. For testing module, it is separated into
few types which are module testing, system testing, unit testing and user acceptance test.
Once there is a bug founded, it will be solve immediately before the system is launched
to ensure the system launched is bug free.
Lastly, it is installation and maintenance phase. In this phase, the system will be installed
at user side. After installed the system, maintenance is compulsory needed to
ensure the system is always-on and up to date with latest technologies or latest business
process.
In my opinion, the time spent on earlier phases of SDLC can lead to greater economy in
later stages. It is because in the earlier phase, a bug can be fixed in short time, less cost
and less effort compared to later phases.
• Development Environment
Software
Chapter 1: Conclusion
In chapter 1, we discussed about the project background, project schedule, project scope,
methodology used and the developing environment and operating environment.
We have faced few problems during system planning. Firstly, the biggest different with other
group is my group didn’t make system for targeted company. We create the system which
contains the library management basic function and the library system can be used by any
library especially those not yet implement the computerized system. In this case, we are not
able to ask about the user requirement from the end user. Thus, we seek the library system
requirement from internet and ask the opinion from supervisor and friends.
On the other hand, we meet some problem in the project schedule. Originally we plan to start
the development process at July 2010, but during internship we didn’t have much time to
process our FYP and delay until end of internship. This make us waste a lot of time and we
need to finish a module in a week on time while other people are having a month to complete
a module.
The methodology used by us is waterfall model. We need to complete the current stage
before we can proceed to next stages. In this case, we need to design the interface before
proceed to coding problem. These cause us a big problem because the interface we designed
causes some problem during coding stages. The way We solve this problem is write come
linkage coding while designing the interface. This process can let us imagine the process flow
while designing the interface and ease my work during coding stage.
In this chapter, We have learn that during when using one methodology, we must not
followed the steps blindly but make some necessary changes that will ease our job while
minimize the error.
Chapter 2
Requirement Analysis
• Requirement Analysis
In this chapter, we will discuss and analyses about the developing process of Library
Management System including Software Requirement Specification (SRS) and Data
Flow Diagram (DFD).The functional and non-functional requirements is included in SRS
part to provide complete description and overview of system requirement before the
developing process is carried out. Besides that, DFD provides a view of how the system
or business flows that able to increase the efficiency and effectiveness to achieve system
objectives.
Product Description
Library Management System is a computerized system which can 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 no computerizes system is implemented, the file always lost because of
human and environment. Sometimes librarian didn’t keep the record to its
original place because of a lot member queue up to borrow books. After that the
file was missing due to messy environment.
• File damaged
In the other possibility, the file/record will be damaged due to accident. For
example the librarian accidentally hit a glass of drink and pours onto the paper
file. The record will be damaged. Besides this, natural disaster such as flood also
will cause damage to the file record.
• Space-consuming
After long operation time of the library, the records are getting more and more.
Finally, the physical record was space-consuming and no place to keep the file.
• Cost consuming
Paper is needed to add every new record. After a long period of time, the cost to
buy a paper can be high. On the other hand, library needs to employ more staff to
solve the long queue problem. If the library only has one staff, it is not enough
time to process the book transaction.
• System objectives
• Improvement in control and performance
The system was developed to overcome the current problem occurred in library.
The system must be able to validate the user, store the record and bug free.
• Save cost
After implementing the computerized library system, library can only hire 1 or 2
staff to handle the book transaction process. With the aids of computerized
system, library can save the cost of hire employee and also save the paper-cost.
• Save time
Librarian is able to search the record in short time by pressing only few keys.
Compare to previous time before implementing the system, librarian can save a
lot time.
• System Requirements
• Non-functional Requirements
• Products Requirements
Efficiency requirements
With the library management system, librarian should be able to process faster
when they process book transaction. In addition, with the use of bar code scanner,
librarian can avoid to type the book id one by one, bar code scanner enable
librarian to scan the book id instantly.
Reliability requirements
The system must perform accurately towards member request. For example, when
the librarian saves the edited profile detail, after they review their detail, the
details must be change according to the latest details that they have updated.
When member return the book after the expired date, the fine should be calculate
accurately. Besides that, in the registration form, it will have validity check to
check the input to prevent wrong data type.
Usability requirements
This system must be designed with user-friendly and easy to use by the staff so
that the user can perform their job nicely. It must have a clear instruction to guide
user through the system. Besides that, the description of error message should be
clear.
• Organizational Requirements
Implementation requirements
In implementing the system, it uses the vb.net as the main programming language
and tools. Besides that, the SQL language will be use to maintain the information
in the database. On the other hand, SQL Server 2010 needs to be installed.
Delivery requirements
The whole system is estimate to be done around 6 months time and the
documentation will be done in 2 months. The full system will be delivers in a
softcopy method while the documentation will be delivers in hardcopy and
softcopy.
• External Requirements
Legislative requirements
The information that use must be acknowledge by the authorized people so that it
has no violating the law. This information is copyrighted and protected by the
law. Besides that, when visitors wants to become the member of the library, he or
she must agree with the rules stated in the system.
Security requirements
This system must be highly secure in the login part. It is because the report can
only view by admin level. Staff can perform most of the process except viewing
report module and log file module.
• Functional Requirements
• Normal User
• User Login
Description of Feature
This feature used by the user (librarian / library admin) to login into the system.
They are required to key in the user id and password before they are allows entering
the system. The user id and password will be verified and invalid id is not allowed
to enter the system.
Functional Requirements
• User id is provided when they register as staff.
• The system must only allow the user with valid id and password to enter
the system.
Description of Feature
This feature can be performing by all users to register new book to the library.
Functional Requirements
• System must be able to verify the information.
• System must enter the correct copies quantity into book copies table.
• The repeated ISBN number should not be allowed to enter into
database.
• Search Book
Description of Feature
This feature is found at book maintenance part. The event is using KeyUp. User can
search the book based on book title, category or publisher. Once user key in a
character into the Search textbox, system will filter and show out the books which
fulfil the search criteria.
Functional Requirements
• System must be able to search the database based on selected search
type ( book title , etc)
• System must able to filter the book based on the keyword entered.
• System must able to show out the filtered book in listview.
• Member Maintenance
Description of Feature
This feature can be performing by all users to register, edit information of a
member.
Functional Requirements
• System must able to auto generate the member id.
• System must not generate the same member id.
• When user click the member on listview, system should show out the
member information on textbox provided.
• System should not allow MemberID to be change when user clicks
‘Edit’.
• System should be able to validate the ic, email and other info before
insert into database.
2.2 Data Flow Diagram
• Member Registration
• Return book
Figure 1.7 Level 1 DFD for Return Book Module
In this chapter, We do research about system objectives and system requirements. Besides
that, We need to construct the Level 0 Data Flow Diagram (DFD) as well as Level 1
DFD/
In this chapter, We meet a lot problem during construction of DFD diagram. The main
reason is because the DFD diagram construction if study during Diploma level and We
have forget how to draw it. When We refer to senior’s final report, my brain is blank
about how to construct.
After seek help from few friends, We found that they unable to help us because all of
them also meet the situation like us. Thus, We have to study back the DFD on my own.
We found back my Diploma study material, course System Analysis Design. We study
again the DFD chapter and finally We could construct the DFD for my Library
Management System.
The lesson We learn in this chapter is we must try not to forget what we have learn in the
college because in future we might need it in future. In addition, We found the Level 0
DFD is very useful because it can let next programmer or user to understand how to
system works.
Chapter 3
System Design
• System Design
This chapter will discuss about System Design phase which is one of the SDLC
phase. The GUI design, database design will be carried out in this chapter.
• External Interface Requirements
• User Interfaces
This is the login page for librarian and admin. The form is designed without colorful
interface because it is used by librarian and admin which can be considered as backend.
The login interface is simply design with ID and password textbox.
In figure 1.2, the ‘Forget Password’ label will show when user focused on password
textbox.
• Main Page
Figure 2.1 is the main page for library system. In is the form where book transaction
module was carried out. The top left side got the menu and top right part show the current
time. In this form, the color and word is default setting by Visual Studio 2010. There is
no necessary to design the form colorful because member didn’t make use of this system.
Figure 2.2 is the control which shown member’s transaction detail and also transaction
history.
This is the book maintenance form. It will show all books in library when the form is
loaded. When user selects one of the books, its details will be shown at right part.
Search function is provided so that user can easily found the book if there are hundreds
of book in the library.
Figure 3.2 is a sub module under book maintenance which is Book Registration. The
form is provided with few textbox to insert the book information. We used a picture box
to let user select the picture so that user can preview the photo after select a file.
Figure 3.4 is a book report under book maintenance module. We used crystal report
viewer to let user preview the report before they print out.
Bar Code Generator sub module enable user to print the barcode. The bar code
generated based on the book copy that selected by user.
Search function is provided in book maintenance so that user can search the book easily
if the library is having more than hundred books. We provide a drop down list for user so
that user can select other search category.
• Member Maintenance Form
This is the form for member maintenance. It is almost similar to book maintenance form.
The developer put the listview at left side so that user can view the information at right
side. It is more users friendly.
There are few functions can be done in member maintenance such as add new member, edit
member information. Membership renewal, print ID card and also View all member Report.
Figure 4.2 shows the member registration form. The form only contains the few fields
which user need to insert when register the member. A proper control has been used so
that user can use the system easily.
Figure 4.2 shows the outlook of Member maintenance form when librarian presses
‘Edit’. Librarian is only allows to edit some information such as name, ic, phone, email
and address. The member id is not allowed to change because it uniquely identified a
member. Some control is disabled in edit mode to avoid the functional error.
This sub module is used to generate member ID card. Each member will have their own
ID card after they register as member. Print Preview enable user to preview the member
card before print it out. If the user is not able to preview, they need to re print and waste
the paper.
This is the report list view that shows all the book transaction happens on particular date.
It is a shortcut way to view the report without need to print out the report.
This form will be shown when admin user login for first time. The library detail must be
entered to avoid some functional error. The form is small and full with the field needed.
Most of the real system also designed in this way because the user is not member.
• Chapter 3 Conclusion
In Chapter 3 System Design, we had done about user interface design, database design,
normalization and Entity Relationship Diagram.
Due to the user of library system is staff and admin staff, the interface does not need to
colorful but need to maintain the user friendliness. The interface designed is using system
default color. The button also designed in suitable size so that the interface won’t be
messy. Suitable control has been used to ensure users can easily using the library system.
One of the problems We meet in interface design is the report interface. We don’t know
how to design a common report which can be used by most of the library. With the aids
from my supervisor, We design one more form to let user key in the library detail. The
library detail will be used as report header. In this way, every library who used our library
system can print the report with different library details.
Next, We meet a big problem when doing normalization. This is because we have already
designed the database before doing the documentation. The database we designed is
actually a 3rd normalization form. Thus, we need to de-normalize the database back to 1st
normalization format. Besides that, We have forgotten how to do the normalization
because normalization is learning during Diploma level study. We find back the study
material for Database Management subject and refer how to normalize the database.
After completed this chapter, the lesson We learn is we must design a good user interface
for the system. It is because the system is used for ease human work. If the user interface
is not users friendly, user can’t enjoy the benefits of the system and they will not likely to
use the system. Thus, we must learn how to design a good user interface to bring the
maximize benefits to users.
Chapter 4
Programing
• Programming
This chapter will discuss about the programming coding of the Library Management
System. Different logic thinking and coding is required at development of the system. A
lot research has been done to enhance the efficiency when writing coding. Following
would discuss the sample programming coding of C#.
• Coding
Login Form:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading;
using System.Windows.Forms;
using System.Data.SqlClient;
namespace Library_Management_System
{
public partial class Login_Form : Form
{
SqlConnection con = new SqlConnection(@"Data Source=.;Initial
Catalog=LMS;Integrated Security=True");
public Login_Form()
{
Thread trd = new Thread(new ThreadStart(strat_app));
trd.Start();
Thread.Sleep(5000);
InitializeComponent();
trd.Abort();
}
private void login_Click(object sender, EventArgs e)
{
con.Open();
SqlCommand cmd = new SqlCommand("select count(*) from admin_login where
username='" + username.Text + "' and password='" + password.Text + "'", con);
int temp = Convert.ToInt32(cmd.ExecuteScalar().ToString());
if (temp == 0)
{
MessageBox.Show("You have enter invalid username or password");
}
else
{
this.Hide();
mdi_admin ma = new mdi_admin();
ma.Show();
}
con.Close();
}
}
public void strat_app()
{
Application.Run(new loader());
}
}
}
Dshboard:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace Library_Management_System
{
public partial class mdi_admin : Form
{
private int childFormNumber = 0;
public mdi_admin()
{
InitializeComponent();
}
}
}
}
Add Books:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Data.SqlClient;
namespace Library_Management_System
{
public partial class Add_books : Form
{
SqlConnection con = new SqlConnection(@"Data Source=.;Initial
Catalog=LMS;Integrated Security=True");
public Add_books()
{
InitializeComponent();
}
}
}
View Books:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Data.SqlClient;
namespace Library_Management_System
{
public partial class view_book : Form
{
SqlConnection con = new SqlConnection(@"Data Source=.;Initial
Catalog=LMS;Integrated Security=True");
public view_book()
{
InitializeComponent();
}
if (i == 0)
{
MessageBox.Show("invalid book name");
}
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}
}
dataGridView1.DataSource = dt;
con.Close();
if (i == 0)
{
MessageBox.Show("invalid author name");
}
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}
}
try
{
con.Open();
SqlCommand cmd = new SqlCommand("update add_books set book_name='" +
bookname.Text + "',author_name='" + authorname.Text + "',publication_name='" +
publishername.Text + "',purchase_date='" + purchasedate.Text + "',book_qty='" +
quantity.Text + "' where id="+i+"", con);
cmd.ExecuteNonQuery();
con.Close();
MessageBox.Show("Record updated successfully");
panel3.Visible = false;
show_book_detail();
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}
dataGridView1.DataSource = dt;
con.Close();
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}
}
public void show_book_detail()
{
con.Open();
SqlCommand cmd = new SqlCommand("select * from add_books", con);
DataTable dt = new DataTable();
SqlDataAdapter adp = new SqlDataAdapter(cmd);
adp.Fill(dt);
dataGridView1.DataSource = dt;
con.Close();
}
}
}
Issue Books:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Data.SqlClient;
namespace Library_Management_System
{
public partial class Issue_Book : Form
{
SqlConnection con = new SqlConnection(@"Data Source=.;Initial
Catalog=LMS;Integrated Security=True");
public Issue_Book()
{
InitializeComponent();
}
int i,j;
try
{
con.Open();
SqlCommand check_student_status = new SqlCommand("select * from
issue_book where student_enrollment='" + textBox1.Text + "' and return_date is null",
con);
SqlDataAdapter adp1 = new SqlDataAdapter(check_student_status);
DataTable dt1=new DataTable();
adp1.Fill(dt1);
j = Convert.ToInt32(dt1.Rows.Count.ToString());
if (j == 1)
{
MessageBox.Show("This student has not returned the previous book");
}
else
{
SqlCommand cmd = new SqlCommand("select * from add_student where
Enrollment='" + textBox1.Text + "'", con);
SqlDataAdapter adp = new SqlDataAdapter(cmd);
DataTable dt = new DataTable();
adp.Fill(dt);
i = Convert.ToInt32(dt.Rows.Count.ToString());
if (i == 0)
{
MessageBox.Show("Invalid student's enrollment");
panel1.Visible = false;
}
else
{
panel1.Visible = true;
foreach (DataRow dr in dt.Rows)
{
student_name.Text = dr["Name"].ToString();
student_roll.Text = dr["Roll"].ToString();
student_class.Text = dr["Class"].ToString();
stream.Text = dr["Stream"].ToString();
email.Text = dr["Email"].ToString();
student_enrollment.Text = dr["Enrollment"].ToString();
issue_date.Text = DateTime.Now.ToString();
}
}
}
con.Close();
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}
}
}
}
}
List Of Issued Books:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Net;
using System.Net.Mail;
using System.Data.SqlClient;
namespace Library_Management_System
{
public partial class List_of_issued_book : Form
{
SqlConnection con = new SqlConnection(@"Data Source=.;Initial
Catalog=LMS;Integrated Security=True");
public List_of_issued_book()
{
InitializeComponent();
}
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}
}
public void show_issue_book()
{
panel1.Visible = false;
try
{
con.Open();
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}
}
}
}
Return Books:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Data.SqlClient;
namespace Library_Management_System
{
public partial class return_books : Form
{
SqlConnection con = new SqlConnection(@"Data Source=.;Initial
Catalog=LMS;Integrated Security=True");
public return_books()
{
InitializeComponent();
}
con.Close();
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}
}
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Drawing.Imaging;
using System.IO;
using System.Data.SqlClient;
namespace Library_Management_System
{
public partial class add_student : Form
{
MemoryStream ms;
byte[] photo_aray;
SqlCommand cmd;
SqlConnection con = new SqlConnection(@"Data Source=.;Initial
Catalog=LMS;Integrated Security=True");
public add_student()
{
InitializeComponent();
}
cmd.ExecuteNonQuery();
con.Close();
MessageBox.Show("Student added successfully");
textBox1.Text = "";
textBox2.Text = "";
textBox3.Text = "";
textBox4.Text = "";
textBox8.Text = "";
textBox9.Text = "";
}
}
}
}
Student Details:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Data.SqlClient;
namespace Library_Management_System
{
public partial class student_details : Form
{
SqlConnection con = new SqlConnection(@"Data Source=.;Initial
Catalog=LMS;Integrated Security=True");
public student_details()
{
InitializeComponent();
}
con.Close();
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}
}
con.Close();
foreach (DataRow dr in dt.Rows)
{
textBox3.Text = dr["Name"].ToString();
textBox4.Text = dr["Roll"].ToString();
textBox5.Text = dr["Address"].ToString();
textBox6.Text = dr["Contact"].ToString();
textBox7.Text = dr["Class"].ToString();
textBox8.Text = dr["Stream"].ToString();
}
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}
}
}
catch(Exception ex)
{
MessageBox.Show(ex.Message);
}
}
}
}
• Chapter 4 conclusion
Chapter 4 is programming chapter which include the important coding used in the
system. By referring to the chapter 4, user can roughly know how the system process.
In programming stages, the problem We faced is to write some coding which We never
learn before such as DrawString and DrawImage. These two methods are used to print
out the string or an image. When We try to do the print member card module, We search
Google for the Drawstring and DrawImage method to produce the member card. The
coding include a lot of X and Y-axis to defined the location of the string.
After few hours on research, finally We can generate the member card with the desirable
outlook.
The lesson We learnt in this chapter is the most difficult part of programming is not
coding but logic. Each business has their owns business logic and business flow process.
We need to have clear understanding of how an organization works to create a system
which desirable for them. Besides that, whenever we meet some coding difficulties, we
can always seek help from Google. From this project, We knew that every coding have
the sample or solution on the web. We should not keep complain that the coding is
difficult but we should improve our knowledge on the logic business process.
Chapter 5
System
Testing
• System Testing
This chapter will show the test plan which programmer used to test the system.
System Testing is an important phase in SDLC to ensure the system is bug free. If
the system hasn’t been test properly, user will meet a lot problem when using the
system.
• Test Plan
Invalid Password
Comments from Supervisor / Moderator : none
• Chapter 5 Conclusion
System testing phase made us understand the important of bug free system. If one system
contains bugs, users will be frustrated and meet some problems. Computerized system
should be creating to help user reduce the work so it is very importance so ensure the
system is bug free.
In system testing, the problem We meet is time limitation. After complete the system, We
only left few day due to wasting too much time at earlier stages. With the helps of my
friend, We done the module test and debug on it.
Chapter 6
Conclusion
• Conclusion
• Introduction
In this final chapter, the final evaluation and conclusion will be performed on the testing
and analyzing process that done in previous chapter including seminar linkage, strengths,
weakness and future enhancement of the Library Management System. In addition,
personal reflection also include in final part of this chapter.
Module
To eliminate record Book Maintenance Achieved
During the development process of Library Management system, there are a lot issues
encountered. Firstly, We don’t have much knowledge about how library process the book
transaction and the business logic in the library. Thus, a lot research has been done to
refer and to get more understanding about the library management.
For the coding part, We meet some problem in bar code generator. That is because We
can’t found the bar code font. We have found few types of bar code font such as EAN 13.
Although it looks like a standard bar code, but my bar code scanner is still fail to scan it.
And finally with the help of my friend We successfully found the font which is
IDAutomationHC39M.
Besides the bar code font issue, We have met some problem regarding the member id
generator module. In that module, We need to print out the member details such as name,
id and also photo. In this case, We never learn how to print the detail in A4 size paper.
With the help of Google and my friend, finally We know the method to use is DrawString
and DrawImage.
On the other hand, We met problem of constructing the DFD and ERD due to the less
understanding of the diagram such as entity and relationship. With the help of Diploma
studies materials, finally We successful construct the ERD and DFD diagrams.
Finally, the biggest problem We met is the documentation format. Although We have
been provided with the document guidelines, but the instruction and guide is too much to
follow especially the Reference part.
Strengths
• System response is fast after user press a button to perform some actions.
• User interface is considered user friendly and ease of use.
• Validation has been done to avoid some functional error in later time.
• Some listview control has been included to allow user view the history or
some important data without print out the report.
Weakness
• The reservation that make by member online unable to update the database
immediately.
• The member id generated is in A4 format. Not in proper Member card size.
• System didn’t implement smart card technology.
Chapter 7
References
Appendix We : Project Specification
• Company Background
This system is developed for common library. We created the system which suits small
size library. Most of the function we refer to other library system.
• Project Objectives
The purpose we creating this project are to let common library have an electronic library
management system. A lot small size library was using paper-based management system.
But followed by the increase of visitors and member, librarian was suffered because there
are a lot of records. When need to search for particular member record, the librarian need
a lot of time.
In addition, they are suffered from a lot paper-based problem such as lost of member’s
record. Some record was missing because they failed to take good care of it. For example,
the librarians forget to put back the record into cupboard when they are busy.
Since my last visit to that library, We found that they need a computer management
system so We think of this idea to developing a system for small size library. This is to
avoid some paper-based problem such as lost of record and etc.
• Login Page
Purpose : To provide authentication and authorization for
user. User : All users
Figure 1.1 Print Screens for Login Form
Section 1 is the textbox to enter the user id. User ID is unique for each user.
Authorization is controlled based on this user ID. If the login ID is admin
user, the user will be loaded into the system with admin control.
Section 2 is a label which will pop up when user focus on password textbox.
If user forgets their password, they can press the control. Email will be sent to
user’s registered email address.
Section 3 is the login button which performs authentication checking. Only
the authenticated users are allow to login to the Library System.
• Login Form
Purpose: To perform book transaction module and act as a main form of Library
System. User : Normal User
Main Form:
Section 6 shows the renting history and current renting status of the logged
in user.
• Book Add
Figure 3.1 Add Books
Book Lists:
.
Issue Book:
Add Stusents:
Stusent List:
THANK YOU