You are on page 1of 71

TEACHER RECORD MANAGEMENT SYSTEM

A PROJECT REPORT
Submitted for the partial fulfilment of the requirements for
the award of the degree in

BACHELOR OF SCIENCE IN COMPUTER SCIENCE


BY

CHRISWIN ROJES A
(DEPT NO: 20-UCS-145)

Under the Guidance of


Dr.S.VENKATALAKSHMI
MCA.,SET.,M.Phil.,Ph.D.,

DEPARTMENT OF COMPUTER SCIENCE


LOYOLA COLLEGE (AUTONOMOUS )
CHENNAI - 600034

APRIL- 2023
DECLARATION

I,CHRISWIN ROJES A (20-UCS-145) hereby declare that the project report


entitled “TEACHER RECORD MANAGEMENT SYSTEM” is done by me
under the guidance of Prof. Dr. S.VENAKATALAKSHMI
MCA.,SET.,M.Phil.,Ph.D., at LOYOLA COLLEGE (Autonomous), Chennai-
34 is being submitted in partial fulfilment of the requirements for the award of
the degree in BACHELOR OF COMPUTER SCIENCE.

PLACE: CHENNAI. SIGNATURE OF STUDENT

DATE :
BONAFIDE CERTIFICATE

This is to certify that the project work entitled “TEACHER RECORD


MANAGEMENT SYSTEM” is being submitted to Loyola College (Autonomous),
Chennai-600034 by CHRISWIN ROJES A (20-UCS-145) for the partial fulfilment for
the award of degree of Bachelor of Computer science is a Bonafide record of work
carried out by him, under my guidance and supervision.

HEAD OF THE DEPARTMENT PROJECT GUIDE

Dr.S.BHARATHIDASON DR.S.VENKATALAKSHMI

M.Sc.,M.Phil.,MBA.,Ph.D.

The Viva-Voce Examination held on _____________ at Loyola College


(Autonomous), Chennai – 600034.
INTERNAL EXAMINER EXTERNAL EXAMINER

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.

Front End : PHP

Back End : MySQL Server


ACKNOWLEDGEMENT

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 would also like to thank the Head of the Department


Dr.S.BHARATHIDASON, and I would also like to thank the
coordinator Dr. M.D. ANANDARAJ, for their encouragement to finish
this project.

My special thanks to the guide Dr. S. VENKATALAKSHMI, who gave


me theneeded information and support for the successful completion of
this project.

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

Chapter. No Contents Page. No

1 Introduction 1

1.1 important of the project 1

1.2 General organization of report 1

2 SYSTEM ANALYSIS 2

2.1 Problem Definition 2

2.2 Existing System 2

2.3 Proposed System 3

2.4 System Requirements 4

2.4.1 Hardware Requirements 4

2.4.2 Software Requirements 4

3 SYSTEM DESIGN 5

3.1 Architectural Design 5

3.2 Database Design 9

3.3 GUI Design 11

4 Project Description 14

5 System development 16

5.1 Language and tool 16

5.2 pseudo code 19


Chapter. No Contents Page. No

6 Testing 22

6.1 Unit testing 23

6.2 Integration Testing 23

6.3 Acceptance Testing 24

6.4 Validation 25

7 USER MANUAL 27

8 SYSTEM DEPLOYMENT 31

9 CONCLUSION 33

10 34
FUTUREENHANCEMENT

11 BIBLIOGRAPHY 35

12 APPENDIX A: DATA DICTIONARY 36

13 37
APPENDIX B: SAMPLE OUTPUT

14 APPENDIX C: SAMPLE CODE 43


CHAPTER 1

INTRODUCTION

1.1 IMPORTANCE OF THE PROJECT

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

2.1 PROBLEM DEFINITION

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

2.2 EXISTING SYSTEM

The method currently in place for managing personnel data is unreliable,


insecure, and takes up desk space that could be utilised for other files. A staff data
management system will help with the organisation of space in offices because
documents will be stored electronically instead of physically. In addition, it provides
timely updates and convenient access to the documents needed to manage the
university's human resource capital. In this chapter we will discuss the comparison of
existing system. The intranet which existed earlier was originally written in vb.net
about ten years ago. As the time progressed, the technology has developed and there
was a need to bring new servers for handling databases. New servers were procured
and the same code could not be migrated because of its incompatibility of the existing
code with the virtualized environment.

DISADVANTAGE

• Lots of the time consumed for each report generation.


3
• Immediate response to the queries is difficult.
• More stationary use so they are expensive.
• Manual system is takes more time.
• Existing system is manually, so it increases the chances of errors.

2.3 PROPOSED SYSTEM

Automation of the entire system improves the productivity. It provides a


friendly graphical user interface which proves to be better when compared to the
existing system. It gives appropriate access to the authorized users depending on their
permissions. It effectively overcomes the delay in communications. The proposed
project “Staff Information System” has been developed to overcome the problems
faced in the practicing of manual system. This software is built to eliminate and in some
cases reduce the hardships faced by the existing system. Moreover this system is
designed for particular need of the college organization to carry out its operations in a
smooth and effective manner. This web application is reduced as much as possible to
avoid errors while entering data. It also provides error message while entering invalid
data. It is user-friendly as no formal knowledge is required to use the system. Human
resource challenges are faced by every organization which has to be overcome by the
organization. Therefore I have design exclusive staff information system that is adapted
to the organization’s Managerial Requirements.

ADVANTAGES

• Faculty and document sharing via web sites is effective process.


• Less manual work and time saving application.
• Student can easily search and download their needed materials.
• This application helps user in exam time.

4
2.4 SYSTEM REQUIREMENT

2.4.1 HARDWARE REQUIREMENT

• Processor : Dual Core Processor 2.6.0 GHZ


• Primary Memory : 2 GB RAM
• Secondary Memory : 500 GB HDD
• Keyboard : Standard Keyboard
• Monitor : Color Monitor

2.4.2 SOFTWARE REQUIREMENT

• Operating System : Windows 10


• Front End : PHP
• Back End : MySQL Server
• Web Server : Apache Web Server
• Tool : Visual Studio

5
CHAPTER 3

SYSTEM DESIGN

3.1 ARCHITECTURAL DESIGN

Architectural design defines the structure and properties of the components that
are involved in the system and the interrelationships between these components.

Architectural design is about decomposing the system into interacting


components. It is expressed as a block diagram defining an overview of the
system structure, features of the components, and how these components
communicate with each other to share data. It identifies the components that are
necessary for developing a computer-based system and communication between
them i.e., relationship between these components.

Database architecture uses programming languages to design a particular type of


software for businesses or organizations. Database architecture focuses on the
design, development, implementation, and maintenance of computer programs
that store and organize information for businesses, agencies, and institutions.
The design of a DBMS depends on its architecture. It can be centralized or
decentralized or hierarchical. The architecture of a DBMS can be seen as either
single tier or multi-tier. Big data architecture can handle ingestion, processing,
and analysis of data that is too large or too complex for traditional database
systems.

6
DATA FLOW DIAGRAM (DFD)

A Data Flow Diagram (DFD) is a graphical representation of the "flow" of data


through an information system, modelling its process aspects. A DFD is often
used as a preliminary step to create an overview of the system, which can later
be elaborated. DFDs can also be used for the visualization of data processing
(structured design).A DFD shows what kinds of data will be input to and output
from the system, where the data will come from and go to, and where the data
will be stored. It does not show information about the timing of processes, or
information about whether processes will operate in sequence or in parallel.

LEVEL 0

Teacher Teacher
Record Teacher Record
Details
Management

7
LEVEL 1

1.1

Admin login Teacher

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

Table Name: Admin

S.no Field name Type Null Constraint


1 id Int(20) No Not Null
2 Uname Varchar(20) No Not Null
3 psw Varchar(20) No Not Null

11
Table Name: Staffreg

Column Type Null Constraint


id Int(20) No PRIMARY
KEY
name Varchar(30) No Null
gender Varchar(20) No Null
dob Varchar(20) No Null
email Varchar(40) No Null
mob Varchar(10) No Null
mst Varchar(10) No Null
file Varchar(20) No Null
address Varchar(40) No Null
nat Varchar(30) No Null
anum Varchar(50) No Null
uname Varchar(20) No Null

12
Table Name: table_teacher

Column Type Null Constraint


name Varchar(20) No Null
id Int(20) No Primary
Key
Email Varchar(40) No Null
Qualification Varchar(20) No Null
Address Varchar(50) No Null
Teacher Sub Varchar(20) No Null
description Varchar(30) No Null

13
3.3GUI DESIGN

Admin Login

na
Admin Login

Username

Password

Submit clear

14
Add Staff Detail

Add Staff

Name

Gender

Age

Mobile

Email

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.

• Add/Update Teacher Details


✓ Basic Details

The admin can add / update the teacher basics details. The
details like name email, number so on.
17
✓ Qualification

The qualification of what they studied like degree, college,


grades, achievements, etc.

✓ Senior / Junior

Their position of on the school seniority or juniority and


experience all are store in the module.

18
CHAPTER 5

SYSTEM DEVELOPMENT

5.1 LANGUAGE / TOOL

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.

Accessing a PHP Page

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

Pseudo Code is a technique used to describe the distinct steps of an algorithm in a


way that’s easy for anyone with basic Programming language to understand.

Pseudo Coode is a syntax-free description of the algorithm’s logic so that moving


from pseudo code to implementation is merely a task of translating each line into
code using the syntax of any given programming language.

Admin Login Page

Step 1: Start

Step 2: Enter the User Name

Step 3: Enter the Password

Step 4: Click the Submit Button

New Student Registration

Step 1: Start

Step 2: Enter the name.

Step 3: Enter the department number.

Step 4: Enter the email

Step 5: Enter the password

Step 6: Click the Registration Button

Student Login Page

23
Step 1: Start

Step 2: Enter the User Name

Step 3: Enter the Password

Step 4: Click the Submit Button

Add book Medicine Details

Step 1: Start

Step 2: Enter the bookid.

Step 3: Enter the book name.

Step 4: Enter the author name.

Step 5: Enter the publisher name

Step 8: Click the Registration Button.

Barrow Book

Step 1: Start

Step 2: Enter the bookid.

Step 3: Click the Take.

Return Book

Step 1: Start

Step 2: Click the check button.

Step 3: Click the return button.

24
CHAPTER 6

TESTING

25
TESTING :

Testing is a group of techniques to determine the correctness


of the application under the predefined script but, testing cannot find all the
defect of application. The main intent of testing is to detect failures of the
application so that failures can be discovered and corrected. It does not
demonstrate that a product functions properly under all conditions but only that
it is not working in some specific conditions.

Testing includes an examination of code and also the execution of


code in various environments, conditions as well as all the examining aspects of
the code. In the current scenario of software development, a testing team maybe
separate from the development team so that Information derived from testing can
be used to correct the process of software development.

Testing is the process of evaluating a system or its component(s) with


the intent to find whether it satisfies the specified requirements or not. In simple
words, testing is executing a system in order to identify any gaps, errors,
or missing requirements in contrary to the actual requirements. The process of
evaluating software during the development process or at the end of the
development process to determine whether it satisfies specified business
requirements.

TYPES OF TESTING :

➢ Unit Testing
➢ Integration Testing
➢ Acceptance Testing
26
6.1 UNIT TESTING :

Unit testing involves the testing of each unit or an individual


component of the software application. The aim behind unit testing is to validate
unit components with its performance. A unit is a single testable part of a software
system and tested during the development phase of the application software.

27
6.2 INTEGRATION TESTING :

Integration Testing is defined as a type of testing where software modules


are integrated logically and tested as a group. The purpose of this level of
testing is to expose defects in the interaction between these software
modules when they are integrated.

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 :

Acceptance Testing is the last phase of software testing performed


after System Testing and before making the system available for actual use.
User acceptance testing is used to determine whether the product is working for
the user correctly. This is also termed as End-User Testing.

TEST RESULTS :

All the Test Cases mentioned above passed successfully. No defects .

have been encountered.

29
6.4 VALIDATIONS :

Validation is the process of checking whether the


software product is up to the mark or in other words product has high level
requirements. It is the process of checking the validation of product i.e. it checks
what we are developing is the right product. it is validation of actual and
expected product. Validation is determining if the system complies with the
requirements and performs functions for which it is intended and meets the
organization’s goals and user needs.

A product can pass while verification, as it is done on the paper


and no running or functional application is required. But, when same points
which were verified on the paper is actually developed then the running
application or product can fail while validation. This may happen because when a
product or application is build as per the specification but these specifications are
not up to the mark hence they fail to address the user requirements.

30
CHAPTER 07

USER MANUAL

7. USER MANUAL :

Admin Module

1. Login into the admin page.


2. Click on dashboard ,admin can view teacher record.

3. Admin can add new staff details.

Teacher module:

1. Login into the page.

2. Click on my profile , the teacher can view their data.

3. The teacher can update their profile by clicking on update profile.

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.

3. Sub-admin module can be added

4. Put on network

5. Make an online chat facility for client and developer interaction.

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

FIELD Data Type DESCRIPTION


NAME

id Int Teacher id

Email Varchar Email id of the teacher

Password Varchar Password for admin login,teacher


login

Gender Varchar Admin, teacher gender

Dob Date Admin,Teacher dob

Picture Varchar Image of the teacher

Mob Int Mobile number of the teacher

Mst Varchar Married status of the teacher

Address Varchar Teacher address

Nat Varchar Teacher native

Anum Int Income of the teacher

Uname Varchar Uname of the teacher

37
APPENDIX B – SAMPLE OUTPUT

38
39
40
41
42
43
APPENDIX C : SAMPLE CODE

<style>

/* Body styles */

body {

margin: 0;

padding: 0;

font-family: Arial, sans-serif;

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 content styles */

.main {

overflow: hidden;

.main h2 {

margin-top: 0;

/* Table styles */

table {

31
border-collapse: collapse;

width: 100%;

th, td {

border: 1px solid #white;

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;

input[type="text"], input[type="email"], input[type="tel"] {

width: 100%;

padding: 10px;

margin-bottom: 10px;

border: 1px solid #ddd;

33
border-radius: 4px;

input[type="submit"] {

background-color: #555;

color: #fff;

border: none;

padding: 10px 20px;

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/";

$qry1=mysqli_query($conn,"select * from staffreg where uname='$uname' ");

$num=mysqli_num_rows($qry1);

if($num==1)

echo "<script>alert('username already taken')</script>";

}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){

echo "<script>alert('inserted sucessfully')</script>";

?>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<meta charset="utf-8" />

<meta name="viewport" content="width=device-width, initial-scale=1,


maximum-scale=1" />

<meta name="description" content="" />

<meta name="author" content="" />

<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>

/* Style the side panel */

.sidenav {

37
height: 100%;

width: 200px;

position: fixed;

z-index: 1;

top: 0;

left: 0;

background-color: #f1f1f1;

overflow-x: hidden;

padding-top: 20px;

/* Style the links inside the side panel */

.sidenav a {

padding: 6px 8px 6px 16px;

text-decoration: none;

font-size: 20px;

color: #818181;

display: block;

38
/* Change the color of the links on hover */

.sidenav a:hover {

color: black;

/* Style the main content */

.main {

margin-left: 200px;

/* Same as the width of the side panel */

padding: 20px;

</style>

</head>

<body>

<!-- Create the side panel -->

<div class="sidenav">

39
<a href="#dashboard">Dashboard</a>

<a href="#teacher-record">Teacher Record</a>

<a href="#update-details">Add Teacher Details</a>

</div>

<!-- Create the main content area -->

<div class="main">

<h2>Welcome to the Teacher Panel</h2>

<!-- Create the content that will be displayed -->

<div id="dashboard" style="display:none">

<h3>Dashboard</h3>

<p>Here is the dashboard content.</p>

</div>

<div id="teacher-record" style="display:none">

<?php

// Set database connection credentials

40
$host = "localhost";

$user = "root";

$password = "";

$database = "teacher_record";

// Create a database connection

$connection = mysqli_connect($host, $user, $password, $database);

// Check if the connection was successful

if (mysqli_connect_errno()) {

die("Database connection failed: " . mysqli_connect_error());

// Prepare SQL query to fetch teacher details

$sql = "SELECT `name`, `gender`, `dob`, `email`, `mob`,`pos`,`subject` FROM


`staffreg`";

// Execute SQL query

$result = mysqli_query($connection, $sql);

41
// Check if the query was successful

if (!$result) {

die("Query failed: " . mysqli_error($connection));

// Display results in a table

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>";

while ($row = mysqli_fetch_assoc($result)) {

echo "<tr>";

echo "<td>" . $row['name'] . "</td>";

echo "<td>" . $row['gender'] . "</td>";

echo "<td>" . $row['dob'] . "</td>";

echo "<td>" . $row['email'] . "</td>";

echo "<td>" . $row['mob'] . "</td>";

echo "<td>" . $row['pos'] . "</td>";

echo "<td>" . $row['subject'] . "</td>";


42
echo "</tr>";

echo "</table>";

// Close the database connection

mysqli_close($connection);

?>

</div>

<!-- 3this is the third hyperlink-->

<div id="update-details" style="display:none">

<table>

<form method="post" action="" enctype="multipart/form-data">

<tr>

<td><label for="teacher_name">Teacher Name:</label></td>

<td><input type="text" name="teacher_name" required></td>

<td><label for="qualifications">Qualifications:</label></td>

<td><input type="text" name="qualifications" required></td>

43
</tr>

<tr>

<td><label for="email_id">Email ID:</label></td>

<td><input type="email" name="email_id" required></td>

<td> <label for="experiences">Experiences:</label></td>

<td> <input type="text" name="experiences" required></td>

</tr>

<tr>

<td><label for="address">Address:</label></td>

<td><input type="text" name="address" required></td>

<td> <label for="subjects">Subjects:</label></td>

<td> <input type="text" name="subjects" required></td>

</tr>

<tr>

<td>

<label for="phone">Phone Number</label>

</td>

44
<td><input type="text" name="phone" required></td>

<td><label for="pass">Password</label></td>

<td> <input type="password" name="pass" required></td>

</tr>

<tr>

<td> <label for="description">Description:</label></td>

<td><textarea name="description" required></textarea></td>

<td><label for="joining_date">Joining Date:</label></td>

<td><input type="date" name="joining_date" required></td>

</tr>

<tr>

</tr>

<tr>

<td><input type="submit" name="submit" value="Submit"></td>

</tr>

45
</form>

</table>

</div>

</div>

<!-- Create the script to show/hide the content when a link is clicked -->

<script>

function showContent(id) {

// Get all the content divs

var contentDivs = document.querySelectorAll('.main div');

// Loop through them and hide them

for (var i = 0; i < contentDivs.length; i++) {

contentDivs[i].style.display = 'none';

// Show the content div with the matching id

var divToShow = document.getElementById(id);

divToShow.style.display = 'block';

46
// Add a click event listener to each link

var links = document.querySelectorAll('.sidenav a');

for (var i = 0; i < links.length; i++) {

links[i].addEventListener('click', function (e) {

// Prevent the link from following its href

e.preventDefault();

// Get the id of the content to show

var id = this.getAttribute('href').substring(1);

// Show the content

showContent(id);

});

</script>

</body>

</html>

47

You might also like