Professional Documents
Culture Documents
A PROJECT REPORT
Submitted for the partial fulfilment of the requirements for
the award of the degree in
CHRISWIN ROJES A
(DEPT NO: 20-UCS-145)
APRIL- 2023
DECLARATION
DATE :
BONAFIDE CERTIFICATE
Dr.S.BHARATHIDASON DR.S.VENKATALAKSHMI
M.Sc.,M.Phil.,MBA.,Ph.D.
ABSTRACT
The purpose of the library management system is to maintain about the book
taken from the library and return book status the library management contain
database while store the detail like book tittle ,author and publisher and the user
can retrive these details and the admin can insert and delete the book details and
view students details and issued book date and return date and their status. A
library management system is software that is designed to manage all the
functions of a library. It helps to maintain the database of new books and the
books that are borrowed by members along with their due dates. This system
completely automates all your library's activities.
First of all, I would like to thank the Almighty God without whom this
taskwould have not been achieved. I express my sincere and profound
gratitude to the college principal Rev. Dr A. THOMAS S.J. and the
Deputy Principal Dr. CHARLES for their encouragement and support to
do the project in the computer Lab.
I take this opportunity to thank all the staff members and the computer
science department who rendered their help directly to finish my project
in time.
Last but not the least, I would like to express my hearty thanks to my
parents, without whom I would not have come to this level in my life. My
hearty thanksto my friends and well-wishers who supported and
encouraged me to complete this project successfully.
TABLE OF CONTENT
1 Introduction 1
2 SYSTEM ANALYSIS 2
3 SYSTEM DESIGN 5
4 Project Description 14
5 System development 16
6 Testing 22
6.4 Validation 25
7 USER MANUAL 27
8 SYSTEM DEPLOYMENT 31
9 CONCLUSION 33
10 34
FUTUREENHANCEMENT
11 BIBLIOGRAPHY 35
13 37
APPENDIX B: SAMPLE OUTPUT
INTRODUCTION
The teacher’s management system is an essential digital tool for organizing records. It
helps with planning recording teacher information, and generating performance
reports with just a click. The information about teacher basics, details, qualifications,
senior or junior, Its system is beneficial to schools, colleges, and teachers. This
project is an automatic system that delivers data processing, which will help teachers
in the school and college for record keeping purposes. The system is designed to be
user-friendly, enabling administrators to manage teacher information with ease. It is
more concerned with the administrator's point of view and the overall teacher's
record. The teacher record management system we use uses PHP and a MySQL
database. The php is used to create a form that the administrator can use to view and
edit the teacher records, which are stored in the MySQL database. The data stored in
the database is comprehensive and includes information such as contact details,
experience, certifications, and other qualifications. Teachers' records will be kept in
the TRMS. The Teacher Record Management System (TRMS) we use is very useful
in managing data efficiently and quickly. The teacher record management system has
an admin module only. The administrator adds the teacher's information to the web
application. The administrator is responsible for ensuring the accuracy of all data
entered into the system. The administrator is also responsible for making sure that the
data is secure and stored properly. That is also in charge of managing teachers'
records, such as making sure that their contact information is up to date and accurate,
and verifying the qualifications for each teacher.
1
1.2 GENERAL ORGANIZATION OF THE REPORT
The first problem to be described and analysed in this study arises from the
fact that the test structure presents deviations with respect to an ideal model
obtained by applying similitude laws to the prototype application. These
deviations and their probable effect on correlation between the performance
of the test structure and that of the prototype are described in Chapter 2.
In Chapter 3, is the system design which includes the subcategories of
Architectural Design which the Data Flow Diagram (DFD) followed by an
Entity Relationship Diagram (ER) and finally ends with a Graphical User
Interface (GUI) model.
2
CHAPTER 2
SYSTEM ANALYSIS
A number of current systems lack faculty self-service meaning faculties are not able to
access and manage their personal information directly without having to go through
their HR departments or their managers. Another challenge is that multi-national
companies will have all the faculty information stored at the headquarters of t he
company making it difficult to access the faculty information from remote places when
needed at short notice
DISADVANTAGE
ADVANTAGES
4
2.4 SYSTEM REQUIREMENT
5
CHAPTER 3
SYSTEM DESIGN
Architectural design defines the structure and properties of the components that
are involved in the system and the interrelationships between these components.
6
DATA FLOW DIAGRAM (DFD)
LEVEL 0
Teacher Teacher
Record Teacher Record
Details
Management
7
LEVEL 1
1.1
registration
Registration database
8
LEVEL 2
Teacher
Admin login
Student
registration student
detail
Teacher Book
Record Staffreg
detail
Insert Book
Add
book
Teacher
Details
Table_Teacher
Issued transaction
detail
View
Report
Report Report
9
id
Experience
Qualification
Course
Year
Update
Staff
id psw
uname
name
phone
gender
email
address
10
3.2 DATABASE DESIGN
A table is a data structure that organizes information into rows and columns. It
can be used to both store and display data in a structured format. For example,
databases store data in tables so that information can be quickly accessed from
specific rows. Websites often use tables to display multiple rows of data o n page.
Spreadsheets combine both purposes of a table by storing and displaying data in
a structured format.
Databases often contain multiple tables, with each one designed for a specific
purpose. For example, a company database may contain separate tables for
employees, clients, and suppliers. Each table may include its own set of fields,
based on what data the table needs to store. In database tables, each field is
considered a column, while each entry (or record), is considered a row. A
specific value can be accessed from the table by requesting data from an
individual column and row
11
Table Name: Staffreg
12
Table Name: table_teacher
13
3.3GUI DESIGN
Admin Login
na
Admin Login
Username
Password
Submit clear
14
Add Staff Detail
Add Staff
Name
Gender
Age
Mobile
Address
Qualification
Submit Clear
15
Add Qualification
Qualification
Teacher ID
Degree
Experience
Submit Clear
16
CHAPTER 4
PROJECT DESCRIPTION
MODULES
• Admin Login
• Add/Update Teacher Details
✓ Basic Details
✓ Qualification
✓ Senior / Junior
MODULE DESCRIPTION
• Admin Login
An admin login or entry is available to the user of a discussion forum or website with
special rights to control or restrict the activity of other users. Through the admin login,
moderators are able to control and restrict access to certain pages of a website or
discussion forum.
The admin can add / update the teacher basics details. The
details like name email, number so on.
17
✓ Qualification
✓ Senior / Junior
18
CHAPTER 5
SYSTEM DEVELOPMENT
FRONT END
PHP: Hypertext Preprocessor (the name is a recursive acronym) is a widely
used, general-purpose scripting language that was originally designed for web
development to produce dynamic web pages. For this purpose, PHP code is embedded
into the HTML source document and interpreted by a web server with a PHP processor
module, which generates the web page document. As a general-purpose programming
language, PHP code is processed by an interpreter application in command-line mode
performing desired operating system operations and producing program output on its
standard output channel. It may also function as a graphical application. PHP is
available as a processor for most modern web servers and as standalone interpreter on
most operating systems and computing platforms. PHP was originally created by
Rasmus Lerdorf in 1995 and has been in continuous development ever since. The main
implementation of PHP is now produced by The PHP Group and serves as the de facto
standard for PHP as there is no formal specification. PHP is free software released
under the PHP License, which is incompatible with the GNU General Public License
(GPL) because restrictions exist regarding the use of the term PHP.
Hypertext refers to files linked together using hyperlinks, such as HTML
(Hypertext Markup Language) files. Preprocessing is executing instructions that
modify the output. Below is a demonstration of the difference between HTML and PHP
files.
19
Accessing HTML Page:
1. Your browser sends a request to that web page's server (computer) for the file
(HTML or image) you wish to view.
2. The web server (computer) sends the file requested back to your computer.
3. Your browser displays the file appropriately.
4. If you request a PHP file (ends with ".php"), the server handles it differently.
1. Your browser sends a request to that web page's server for the PHP file you
wish to view.
2. The web server calls PHP to interpret and perform the operations called for in
the PHP script.
3. The web server sends the output of the PHP program back to your computer.
4. Your browser displays the output appropriately.
Benefit of PHP
Because the server does processing, the output of PHP files changes when its input
changes. For example, most of the pages on the Horticulture site have only two (2) PHP
commands:
1. Include the header file that defines the links on the left, the banner, and the
quick links at the top.
2. Include the footer file that displays the mission statement and Horticulture
contact information.
Because including the files is performed every time the PHP file is accessed, when the
header/footer files change, the new content will be immediately updated. In other
20
words, if you add a new link, every page that includes the header will immediately
display the new link.
Syntax
The PHP interpreter only executes PHP code within its delimiters. Anything
outside its delimiters is not processed by PHP (although non-PHP text is still subject to
control structures described in PHP code). The most common delimiters are <?php to
open and ?> to close PHP sections. <script language="php"> and </script> delimiters
are also available, as are the shortened forms <?or<?= (which is used to echo back a
string or variable) and ?> as well as ASP-style short forms <% or <%= and %>. While
short delimiters are used, they make script files less portable as support for them can
be disabled in the PHP configuration, and so they are discouraged. The purpose of all
these delimiters is to separate PHP code from non-PHP code, including HTML.
The first form of delimiters, <?php and ?>, in XHTML and other XML documents,
creates correctly formed XML 'processing instructions'. This means that the resulting
mixture of PHP code and other markup in the server-side file is itself well-formed
XML.
Variables are prefixed with a dollar symbol, and a type does not need to be
specified in advance. Unlike function and class names, variable names are case
sensitive. Both double-quoted ("") and here-doc strings provide the ability to
interpolate a variable's value into the string. PHP treats newlines as whitespace in the
manner of a free-form language (except when inside string quotes), and statements are
terminated by a semicolon. PHP has three types of comment syntax: /* */ marks block
and inline comments; // as well as # are used for one-line comments. The echo
21
statement is one of several facilities PHP provides to output text, e.g., to a Web
browser.
In terms of keywords and language syntax, PHP is similar to most high level languages
that follow the C style syntax. if conditions, for and while loops, and function returns
are similar in syntax to languages such as C, C++, Java and Perl.
MY SQL
MySQL is the world's most used open source relational database management
system (RDBMS) as of 2008 that run as a server providing multi-user access to a
number of databases. 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—
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, Joomla,
Word Press, phpBB, MyBB, Drupal and other software built on the LAMP software
stack. MySQL is also used in many high-profile, large-scale World Wide Web
22
5.2 PSEUDO CODE
Step 1: Start
Step 1: Start
23
Step 1: Start
Step 1: Start
Barrow Book
Step 1: Start
Return Book
Step 1: Start
24
CHAPTER 6
TESTING
25
TESTING :
TYPES OF TESTING :
➢ Unit Testing
➢ Integration Testing
➢ Acceptance Testing
26
6.1 UNIT TESTING :
27
6.2 INTEGRATION TESTING :
The goal of integration testing is to identify any problems or bugs that arise
when different components are combined and interact with each other.
Integration testing is typically performed after unit testing and before system
testing. It helps to identify and resolve integration issues early in the
development cycle,reducing the risk of more severe and costly problems later
on Integration testing can be done by picking module by module. This can
be done so that there should be proper sequence to be followed. Exposing the
defects is the major focus of the integration testing and the time of interaction
between the integrated
Units.
28
6.3 ACCEPTANCE TESTING :
TEST RESULTS :
29
6.4 VALIDATIONS :
30
CHAPTER 07
USER MANUAL
7. USER MANUAL :
Admin Module
Teacher module:
View profile:
1. The users can view the Teacher profile by clicking on view profile option.
31
CHAPTER 08
SYSTEM DEPLOYMENT
System deployment and use includes the processes used to plan for and manage the transition
of new or evolved systems and capabilities into operational use and the transition of
support responsibilities to the eventual maintenance or support organization. The use
stage normally represents the longest period of a system life cycle and, hence, generally
accounts for the largest portion of the lifecycle cost. These activities need to be properly
managed in order to evaluate the actual system performance, effectiveness, and cost in
its intended environment and within its specified utilization over its life cycle. Included in
use fundamentals are the aspects of continuation of personnel training and certification.
As part of deployment/transition activities, special conditions that may apply during the
eventual decommissioning or disposal of the system are identified and accommodated
in lifecycle plans and system architectures and Designs. SE leadership ensures the developed
system meets specified requirements, that it is used in the intended environment, and that
when the system is transitioned into operation, it achieves the users’ defined mission
capabilities and can be maintained throughout the intended life cycle.
32
System deployment involves the transition of the capability to the ultimate end-user, as well
as transition of support and maintenance responsibilities to the post-deployment support
organization or organizations. It may include a period of reliability demonstration
tests and the phasing out of legacy systems that the developed system replaces.
System use includes a continual assessment of the operational effectiveness of the deployed
system or service, identification of mission threat and operational risk, and performance of the
actions required to maintain operational effectiveness or evolve the capability to meet changing
needs. Evolution of the operational system may occur with smaller maintenance actions or,
if the changes cross an agreed-to threshold (complexity, risk, cost, etc.), may require a
formal development project with deliberate planning and SE activities resulting in an enhanced
system. As the operational phase is generally the longest in the system lifecycle, activities that
may occur during operation are allocated between two knowledge areas (KAs): System
Deployment and Use and product-sale and live management.
During phases of the deployment process and beyond, we take care of deploying new code and any
changes introduced to the product to ensure that the software performance matches therequirements.
The deployment phase is the final step of the Software Development Lifecycle (SDLC) in the
process of developing software that's of the highest quality. It helps engineering teams save money
and time while producing software that's ideal for their customers.
33
CHAPTER 09
CONCLUSION
In conclusion, the teacher record management system provides a reliable and efficient way of
managing teacher records, including personal information, employment history, academic
qualifications, and performance evaluations. The system's user-friendly interface allows
authorized personnel to access and update records quickly and accurately, reducing errors and
improving the overall management of teacher records. With this system, schools and
educational institutions can better manage their resources and make informed decisions about
their teaching staff. Overall, the implementation of a teacher record management system is a
valuable investment for any educational institution looking to streamline their administrative
processes and improve the quality of education they provide.
34
CHAPTER 10
FUTURE ENHANCEMENT
Library Management System software has complex requirements and must be flexible. All libraries
have to deliver to the client whenever, wherever, and increasingly on whatever platform he or she
chooses, including mobile devices. Public libraries need to offer self- service, and services need to be
shared over a complex system of branches and sub-branches. Academic libraries need to showcase
and provide easy access to, their high range of electronic products. It is not possible to generate a
system that makes all the requirements of the user. User specifications keep changing as the system
is being used. Some of the future enhancement that can be done to the systems are:
1. As technology emerges, it is possible to upgrade the system and can be adaptable to the desired
system.
2. Based on future security issues, security can be enhanced using emerging technologies.
4. Put on network
35
CHAPTER 11
BIBLIOGRAPHY
Web References :
1. This is the PHP tutorial URL. It is used to learn about the PHP language with example.
https://www.tutorialspoint.com/php/index.htm
2. This is the PHP programming basics URL. It is used to learn about the PHP coding with
step by step coding explanation details.
https://www.howtoforge.com/php_programming_basics
3. This is the MySQL tutorial URL. It is used to learn about the MySQL database
information.
https://www.javatpoint.com/mysql-tutorial
4. This is the MySQL tutorial URL. It is used to learn about the MySQL database with
example and exercise program.
36
APPENDIX A : DATA DICTIONARY
id Int Teacher id
37
APPENDIX B – SAMPLE OUTPUT
38
39
40
41
42
43
APPENDIX C : SAMPLE CODE
<style>
/* Body styles */
body {
margin: 0;
padding: 0;
font-size: 16px;
background-image:url("college.jpg");
/* Header styles */
header {
background-color: #333;
color: #fff;
padding: 10px;
header h1 {
27
margin: 0;
font-size: 28px;
/* Navigation styles */
nav {
background-color: #555;
color: #fff;
padding: 10px;
nav ul {
margin: 0;
padding: 0;
list-style: none;
nav li {
display: inline-block;
28
margin-right: 10px;
nav a {
color: #fff;
text-decoration: none;
padding: 10px;
nav a:hover {
background-color: #fff;
color: #555;
/* Sidebar styles */
.sidebar {
width: 200px;
background-color: #eee;
float: left;
29
margin-right: 20px;
padding: 10px;
.sidebar h2 {
margin-top: 0;
.sidebar ul {
margin: 0;
padding: 0;
list-style: none;
.sidebar li {
margin-bottom: 10px;
.sidebar a {
30
color: #333;
text-decoration: none;
.sidebar a:hover {
color: #555;
.main {
overflow: hidden;
.main h2 {
margin-top: 0;
/* Table styles */
table {
31
border-collapse: collapse;
width: 100%;
th, td {
text-align: left;
padding: 8px;
th {
background-color: #555;
color: #fff;
tr:nth-child(even) {
background-color: #f2f2f2;
32
tr:hover {
background-color: #ddd;
/* Form styles */
form {
margin-bottom: 20px;
label {
display: block;
margin-bottom: 5px;
width: 100%;
padding: 10px;
margin-bottom: 10px;
33
border-radius: 4px;
input[type="submit"] {
background-color: #555;
color: #fff;
border: none;
border-radius: 4px;
cursor: pointer;
input[type="submit"]:hover {
background-color: #333;
</style>
<?php
include("dbconnect.php");
34
extract($_POST);
session_start();
if(isset($_POST['btn']))
echo $file_name=$_FILES['img']['name'];
$file_loc=$_FILES['img']['tmp_name'];
$folder = "upload/";
$num=mysqli_num_rows($qry1);
if($num==1)
}else{
$path=move_uploaded_file($file_loc,$folder.$file_name);
if($path){
35
$qry=mysqli_query($conn,"insert into staffreg
values('','$name','$gender','$dob','$email','$mob','$mst','$file_name','$address','$nat','
$anum','$uname','$dep','$sal','$exp','$wplace','$pos','$sub')");
if($qry){
?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
36
<style>
#back{
height:600px;
width:100%;
background-position:left;
</style>
</head>
<body>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Teacher Panel</title>
<style>
.sidenav {
37
height: 100%;
width: 200px;
position: fixed;
z-index: 1;
top: 0;
left: 0;
background-color: #f1f1f1;
overflow-x: hidden;
padding-top: 20px;
.sidenav a {
text-decoration: none;
font-size: 20px;
color: #818181;
display: block;
38
/* Change the color of the links on hover */
.sidenav a:hover {
color: black;
.main {
margin-left: 200px;
padding: 20px;
</style>
</head>
<body>
<div class="sidenav">
39
<a href="#dashboard">Dashboard</a>
</div>
<div class="main">
<h3>Dashboard</h3>
</div>
<?php
40
$host = "localhost";
$user = "root";
$password = "";
$database = "teacher_record";
if (mysqli_connect_errno()) {
41
// Check if the query was successful
if (!$result) {
echo "<table>";
echo
"<tr><th>Name</th><th>Gender</th><th>DOB</th><th>Email</th><th>Mobile
</th><th>Position</th><th>Subject</th></tr>";
echo "<tr>";
echo "</table>";
mysqli_close($connection);
?>
</div>
<table>
<tr>
<td><label for="qualifications">Qualifications:</label></td>
43
</tr>
<tr>
</tr>
<tr>
<td><label for="address">Address:</label></td>
</tr>
<tr>
<td>
</td>
44
<td><input type="text" name="phone" required></td>
<td><label for="pass">Password</label></td>
</tr>
<tr>
</tr>
<tr>
</tr>
<tr>
</tr>
45
</form>
</table>
</div>
</div>
<!-- Create the script to show/hide the content when a link is clicked -->
<script>
function showContent(id) {
contentDivs[i].style.display = 'none';
divToShow.style.display = 'block';
46
// Add a click event listener to each link
e.preventDefault();
var id = this.getAttribute('href').substring(1);
showContent(id);
});
</script>
</body>
</html>
47