The document is an industrial training project report on an Employee Tracking System. It was submitted by Aishwarya Gupta to fulfill the requirements for a Bachelor of Technology degree. The project aims to develop a web application that allows employers to track employee locations to improve resource management. The application has employee and admin login functions. Admins can view employee details and locations, while employees can view their credentials. The report describes the project objectives, benefits, scope, and provides details on how it was developed using technologies like HTML, CSS, PHP, and MySQL.
Download as DOCX, PDF, TXT or read online on Scribd
50%(2)50% found this document useful (2 votes)
3K views
Employee Tracking System
The document is an industrial training project report on an Employee Tracking System. It was submitted by Aishwarya Gupta to fulfill the requirements for a Bachelor of Technology degree. The project aims to develop a web application that allows employers to track employee locations to improve resource management. The application has employee and admin login functions. Admins can view employee details and locations, while employees can view their credentials. The report describes the project objectives, benefits, scope, and provides details on how it was developed using technologies like HTML, CSS, PHP, and MySQL.
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 22
1
Industrial Training Project Report
On EMPLOYEE TRACKING SYSTEM Submitted in partial fulfillment of the requirements of Degree of Bachelor of Technology in Computer Science & Engineering by AISHWARYA GUPTA (A2324711007)
B.Tech.-Computer Science & Engineering + MBA (2011-16) Amity School of Engineering & Technology
Industry Guide: Faculty Guide: Mr. Mukul Aggarwal Ms. Shweta Bhardwaj CEO Assistant Professor Xpert IT Solutions CSE Dept. ASET, AUUP
AMITY UNIVERSITY UTTAR PRADESH
2
Acknowledgments
I would like to express my gratitude towards the Director of ASET, Dr. Ravi Prakash and also to the Head of Department, (Prof.) Dr. Abhay Bansal, Computer Science & Engineering, ASET and our Institution for giving us this opportunity to work on this project and for providing us a platform which would broaden our mindset. My deepest thanks to Ms. Shweta Bhardwaj for her guidance and constant supervision as well as for providing necessary information regarding the project and also for her support in completing the project, I would also like to acknowledge the cooperation and support extended by Mr. Mukul Aggarwal, CEO for his valuable knowledge & suggestions, which has immensely helped me in the project. Lastly, I offer my regards and blessings to all of those who supported me in any respect during the completion of the Term Paper.
Aishwarya Gupta A2324711007 B.Tech CS&E + MBA Batch of 2011-2016 ASET, AUUP
3
CERTIFICATE
This is to certify that the declaration made by the candidate is correct to the best of my knowledge and belief. This is to further certify that the project entitled EMPLOYEE TRACKING SYSTEM is an authentic record of the candidates own work carried out by her under my guidance and supervision. This work has not been submitted by her for the award of any other degree.
Industry Guide: Faculty Guide: Mr. Mukul Aggarwal Ms. Shweta Bhardwaj CEO Assistant Professor Xpert IT Solutions CSE Dept. ASET, AUUP
4
ABSTRACT
In todays world of service, safety and security, proper personnel monitoring is vital to ensuring a successful operation. Customer satisfaction is directly linked to a profitable business. Site safety and security is dependent on how well a company monitors its employees. The Information Technology Department strived to develop a user friendly application which would enable an employer to track the location of the employees to improve resource management.
The central concept of the application is to enable the employer to track the location of the employee. The web portal provides Employee and Admin login. The admin can view all the details of the Employees and can see their location data through the website. The Employee can view their credentials through the website.
5
TABLE OF CONTENTS
1. INTRODUCTION 6 1.1. Introduction to the Application 6 1.2. Objectives 6 1.3. Benefits of the Application 7 1.4. Scopes of the Application 7
2. MATERIALS AND METHODS 8 2.1. Requirement Analysis 8 2.2. System Requirements 8 2.3. Overview of Microsoft Web Expressions 8 2.4. Overview of WampServer 9 2.5 Introduction to HTML and CSS 9 2.6 Introduction to PHP 11 2.7 Introduction to MySQL 11 2.8 Working of Project 12
3. RESULTS 15 4. CONCLUSION 21 REFERENCES 22
6
INTRODUCTION 1.1 Introduction to the Application The central concept of the application is to enable the employer to track the location of the employee. The web portal provides Employee and Admin login. The admin can view all the details of the Employees and can see their location data through the website. The Employee can view their credentials through the website.
The User access identifies the employees their Employee ID which acts as a username and lets them access the view to their credentials. The employee can update personal details through the website.
The Administrative Login takes the Username and the Password of the Administrator. The various functions that an Administrator can perform are: View the details of an employee Add or delete another Administrator Insert, update or delete details of any employee Search for any employee. The Administrator may also delete his/her account or change password if required.
1.2 Objectives
In todays world of service, safety and security, proper personnel monitoring is vital to ensuring a successful operation. Customer satisfaction is directly linked to a profitable business. Site safety and security is dependent on how well a company monitors its employees. The Information Technology Department strived to develop a user friendly application which would enable an employer to track the location of the employees to improve resource management.
7
1.3 Benefits of the Application The various benefits of this application are: This system can easily store all details of an employee It also tracks the location of an employee. It can be easily handled by the person who has elementary known ledge of computer because it provides a user friendly environment. Its hardware and software configuration is not very costly.
1.4 Scopes of Application Employee Login Employee Registration Update details View details Location data through app
8
MATERIALS AND METHODS
2.1 Requirement Analysis
It results in the specification of softwares operational characteristics, indicates softwares interface with other system elements and establishes constraints that software must meet. The aim of analysis is to understand the problem with a view to eliminate any deficiencies in the requirement specification such as incompleteness, inconsistencies etc.
2.2 System Requirements
Server System: Intel Dual Core and above RAM: 2GB and above Hard Disk: 500GB and above. Operating System: Microsoft Windows XP and above
Client System: Intel Core2 Duo or above, Main Memory: Recommended 512MB Hard Disk: Recommended 40GB. Operating System: Microsoft Windows XP and above. Browser: Microsoft Internet Explorer, Version 8 or higher.
Back end: MySQL Tools: Microsoft Web Expressions, WAMPSERVER Software platform: Microsoft Windows 8 Operating System Programming languages: HTML/CSS, PHP, SQL
2.3 Overview of Microsoft Web Expressions Microsoft Web Expressions is a web design and development application that provides a visual editor also referred to as the Design view and a code editor with standard features such as syntax highlighting and code completion. The Design view facilitates rapid layout design and code generation as it allows users to quickly create and manipulate the layout of HTML elements. We can use it to write HTML, CSS, JSP, XML, PHP, JavaScript, and more. Microsoft Expression Web 4 also provides an SEO Checker which analyzes produced web site against the best practices for getting the highest possible search-engine rankings.
9
2.4 Overview of WAMPSERVER The acronym WAMP refers to first letters of the four components of a solution stack, composed entirely of free and open-source software, suitable for building high-availability heavy-duty dynamic web sites, and capable of serving tens of thousands of requests simultaneously. The meaning of the WAMP acronym depends on which specific components are used as part of the actual bundle: Windows, the operating system, Apache HTTP Server, the web server, MySQL, the database management system PHP, Perl, or Python, the scripting languages used for dynamic web pages and web development.
2.5 Introduction to HTML & CSS
HTML stands for Hypertext Markup Language, and it is the most widely used language to write Web Pages. As its name suggests, HTML is a markup language. Hypertext refers to the way in which Web pages (HTML documents) are linked together. When you click a link in a Web page, you are using hypertext. Markup Language describes how HTML works. With a markup language, you simply "mark-up" a text document with tags that tell a Web browser how to structure it to display.
The purpose of a web browser is to read HTML documents and compose them into visible or audible web pages. The browser does not display the HTML tags, but uses the tags to interpret the content of the page. HTML allows images and objects to be embedded and can be used to create interactive forms. It provides a means to create structured documents by denoting structural semantics for text such as headings, paragraphs, lists, links, quotes and other items. It can embed scripts written in languages such as Java which affect the behaviour of HTML web pages.
HTML Tags and Elements Every tag consists of a tag name, sometimes followed by an optional list of tag attributes, all placed between opening and closing brackets (< and >). The simplest tag is nothing more than a 10
name appropriately enclosed in brackets, such as <head> and <b>. More complicated tags contain one or more attributes, which specify or modify the behavior of the tag.
According to the HTML standard, tag and attribute names are not case-sensitive. There's no difference in effect between <head>, <Head>, <HEAD>, or even <HeaD>; they are all equivalent.
CSS (Cascading Style Sheets) Cascading Style Sheets, fondly referred to as CSS, is a simple design language intended to simplify the process of making web pages presentable.CSS handles the look and feel part of a web page. Using CSS, you can control the color of the text, the style of fonts, the spacing between paragraphs, how columns are sized and laid out, what background images or colors are used, as well as a variety of other effects.CSS is easy to learn and understand but it provides powerful control over the presentation of an HTML document. Most commonly, CSS is combined with the markup languages HTML or XHTML.
Advantages of CSS: CSS saves time - You can write CSS once and then reuse same sheet in multiple HTML pages. You can define a style for each HTML element and apply it to as many Web pages as you want. Pages load faster - If you are using CSS, you do not need to write HTML tag attributes every time. Just write one CSS rule of a tag and apply to all the occurrences of that tag. So less code means faster download times. Easy maintenance - To make a global change, simply change the style, and all elements in all the web pages will be updated automatically. Superior styles to HTML - CSS has a much wider array of attributes than HTML so you can give far better look to your HTML page in comparison of HTML attributes. Multiple Device Compatibility - Style sheets allow content to be optimized for more than one type of device. By using the same HTML document, different versions of a website can be presented for handheld devices such as PDAs and cell phones or for printing. 11
Global web standards - Now HTML attributes are being deprecated and it is being recommended to use CSS. So its a good idea to start using CSS in all the HTML pages to make them compatible to future browsers.
2.6 Introduction to PHP
PHP is a server-side scripting language designed for web development but also used as a general-purpose programming language.PHP code can be simply mixed with HTML code, or it can be used in combination with various templating engines and web frameworks. PHP code is usually processed by a PHP interpreter, which is usually implemented as a web server's native module or a Common Gateway Interface (CGI) executable. After the PHP code is interpreted and executed, the web server sends resulting output to its client, usually in form of a part of the generated web page
Advantages of PHP: Open Source: PHP is freely available for use. The community of open source PHP developers provides technical support and is constantly improving updating the core PHP functionalities.
Cross Platform: HP provides high compatibility with leading operating systems and web servers such as thereby enabling it to be easily deployed across several different platforms. PHP scripts can run across operating systems such as Linux, Windows, Solaris, OpenBSD, Mac OSX etc and also provide support for all major web servers such as Apache, IIS, iPlanet etc.
Power: Several web tasks can now be easily perform using PHP. For example now we can develop from small websites to giant business and organizational websites, informative forums and chatting platforms.
Extensions: Being an open source language, a large number of libraries and extensions, to extend its core functionalities, are available for download. The source code of PHP can be modified to include custom created extensions and components thereby increasing its extensibility.
Security: PHP offers security as well that helps prevent malicious attacks. These security
2.7 Introduction to MySQL
MySQL is a very fast, multi-threaded, multi-user, and robust SQL (Structured Query Language) database server. MySQL is free software. MySQL is a relational database management system. A relational database stores data in separate tables rather than putting all the data in one big storeroom. This adds speed and flexibility. The tables are linked by defined relations making it possible to combine data from several tables on request. The SQL part of MySQL stands for 12
"Structured Query Language" - the most common standardized language used to access databases.
Advantages of MySQL Easy to use: While a basic knowledge of SQL is requiredand most relational databases require the same knowledgeMySQL is very easy to use. With only a few simple SQL statements, you can build and interact with MySQL.
Secure: MySQL includes solid data security layers that protect sensitive data from intruders. Rights can be set to allow some or all privileges to individuals. Passwords are encrypted.
Inexpensive: MySQL is available by free download from MySQL Web site.
Fast: In the interest of speed, MySQL designers made the decision to offer fewer features than other major database competitors. However, despite having fewer features than the other commercial database products, MySQL still offers all of the features required by most database developers.
Scalable: MySQL can handle almost any amount of data, up to as much as 50 million rows or more. The default file size limit is about 4 GB. However, you can increase this number to a theoretical limit of 8 TB of data.
Manages memory very well: MySQL server has been thoroughly tested to prevent memory leaks.
2.8 Working of Project The whole working of project can be divided into different modules. Creating a database: A database was created with the help of sqlbuddy available on WAMPSERVER. A table employee was created to hold employee details while admin table holds admin details.
Establishing a data connection: Before we can access data in a database, we must open a connection to the MySQL server. In PHP, this is done with the mysqli_connect() function. We need to specify the host, username, password and database name.
Perform the basic SQL commands: The mysql_query() function executes a query on a MySQL database. We need to specify query and MySQL connection. This function returns the query handle for SELECT queries, TRUE/FALSE for other queries, or FALSE on failure. 13
To perform commands such Add, Update and Delete, the following syntax is used. Add: $sql="INSERT INTO employee (Name, Email, Password, Address, City, Pin, Birth, Gender, Job, Joining, Phone, EmployeeID) VALUES ('$name', '$email', '$password', '$address', '$city', '$pin', '$birth', '$gender', '$job', '$joining', '$phone', '$employeeid')"; Update: mysqli_query($con,"UPDATE employee SET Name= COALESCE(NullIf('$name', ' '),Name), Email=COALESCE(NullIf('$email', ' '),Email), Password=COALESCE(NullIf('$password',' '),Password), Address=COALESCE(NullIf('$address',' '),Address), City=COALESCE(NullIf('$city',' '),City), Pin=COALESCE(NullIf('$pin', ' '), Pin), Birth=COALESCE(NullIf('$birth',' '),Birth), Gender=COALESCE(NullIf('$gender',' '),Gender), Job=COALESCE(NullIf('$job',' '),Job), Joining=COALESCE(NullIf('$joining',' '),Joining), Phone=COALESCE(NullIf('$phone',' '),Phone) WHERE EmployeeID = '$employeeid' "); Delete: mysqli_query($con,"DELETE FROM employee WHERE EmployeeID='$employeeid'"); Data Flow Graph
Administrative Login Open the connection to the account Match found Match not found Allow to access the databases Display Error Message View details and Serach for an Employee Add or delete an Employee Add or delete an Administrator 15
RESULTS AND DISCUSSIONS
3.1 Results All modules of the application have been coded and programmed successfully as per the original idea in mind. The same have also been combined together on a single platform as per the original concept. Screenshots and glimpses of the entire application are shown in detail below.
Fig 1. Login Page
Here, the user is greeted with the login page, to verify his identity and display information specific to him.
16
Fig 2. Employee Login
Once the user logs in, he can view his details and update them if required.
17
Fig 3. Employee Details
An employee can view the details provided during registration. The employee can update his details and also change his password.
18
Fig 4. Update employees of Employee
The Employee can update the details he had provided during registration, and the changed details can be viewed.
19
Fig 5. Admin Login
An admin can view the details of all the employees, delete the details of an employee, search for an employee, update details and change password.
20
Fig 6. Details of all Employees
The admin can view all the details of the employees which are present in the database.
21
CONCLUSION
In this report, an information systems development has been presented. It was emphasized on the basic steps, consequently taken during the projects development course as a particular attention was turned to the basic operative functions performed upon the data into the database. The reports content comprises the whole task solution, starting from the programming environments have been selected, going through the database, the applications analyze and construction, and finishing with the code-implementation and test-samples, shown separately at the end.
As a future work, some additional stuff could be implemented and integrated into the application code making it much more reliable and flexible. Apparently, the role of such applications is basic within the companies that want to keep a really good control and record of the concerning information that forms the base of the organization. Every organization, in nowadays, has the necessity of managing its data on a really good level so as the staff has a better access to it at their ease. That is why the development of such applications is not just a programming business a lot of people are ordinarily involved in such projects and one of the basic requirements is the reliability of the system, especially what concerns the storage of data and all of the operations that will be performed upon it.
22
REFERENCES
Jon Duckett, Images, in HTML & CSS, Indianapolis, Wiley, 2011, pp 94-124. Michele E. Davis and Jon A. Philips, Getting PHP to Talk to MySQL, in Learning PHP and MySQL, 2nd ed., Sebastopol, OReilly, 2007, pp 179-190. Intro to PHP, http://www.w3schools.com/php/php_intro.asp Intro to SQL, http://www.w3schools.com/sql/sql_intro.asp http://www.tutorialspoint.com/