Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 48

2 LITERATURE REVIEW

2.1SYSTEM ANALYSIS
2.1.1 PROJECT DESCRIPTION
It is the approach of making the employee transfer in online. Here we are
building the two kinds of logins for Admin and the employee. Only admin can
create the employee account and the password could me passed through offline or
manually. In here the admin can add the documention for the employee who is
going to transfer from one project to another or various places.
First, Admin will create the employee account and the he can pass the
account and pass as like given above. And when he is creating the employee
account current project and exprience will be added. If admin need to add transer
detail for the particular employee then there is functionality called employee seach
he can filter the employee as he like by given in the search option.
In search result add treansfer option will be displayed for the entire
employee which is filter by the admin. If clicking the add transfer button then the
adding transfer page will be shown, in this page have the downloading link for the
current project document. If admin need any verification about his current project
detail the he can download the document and check it manually.
There is an option for adding the new transfer adding for the paricular
employee. If admin add the new transfer detail then it will be updated in the
employee transfer document in his account and search of employee in admin
account.when the new transfer updated then automatically employee experience
1

will be calculated from the previous transfer date to update date and it will be
added to the employee whole experience.
Employee can get the transfer details by checking the mail weekly once or
daily. Once the employee gets get the transfer detail then he can contact the branch
manager directly and discuss about the transfer and the current project position.

2.1.2 EXISTING SYSTEM


In Existing System, company should deliver the transfer details through post
or manually inform to the employee and giving the deep introduction to employee
and company should maintain the document of the transfer detail for current
process of the employee. If the company likes to transfer huge employees to the
various process it hard to collect the current employee process and experience
document.
LIMITATIONS:
Maintaining employee documentaion is very hard in offline or non-sytamatic
Huge employye transfer is very hard.
In transfer documentation deliver is not secured one.
2.1.3 PROPOSED SYSTEM
Proposed System is making the employee transfer in highly secure and fast
manner to the employee by online. Here admin can control all employee accounts
and admin can add the transfer detail to the employye account.
2

Documentation maintenance is very secure and fast retriving for the purpose
of adding the transfer document. And employee can get the document in fraction of
second and can get knowledge of transfer soon.
ADVANTAGE

Transfer Management System organize the Documents effectively


Create employee profiles
Generates the transfer documents quickly
Document transfer will be very secuire.

2.2 SYSTEM SPECIFICATION


2.2.1 Hardware Requirements
Main Processor : P4
Hard disk

: 40 GB

RAM

: 512 MB

CPU Clock

: 2.3 GHZ

2.2.2 Software Requirements

Operating system

: Windows XP

Front End

: PHP 5.1

Back End

: Mysql 5.0

Web server

: Apache

Environment

: Xampp (1.7)

2.2.3 PHP
PHP (PHP: Hypertext Preprocessor) is an HTML-embedded

programming

language which executes scripts on a server and allows web designers to create
dynamic content that interacts with databases. It supports the use of database
servers such as MySQL, Informix and Solid.
PHP outsourcing services include PHP and MySQL web development,online
shopping carts.

Advantages of PHP:
1 Cheap maintenance
2 It provides high performance, fast speed and great reliability

3 It offers support for other most popular databases like Informix, Oracle,Sybase
etc.,
4 Highly compatible with all operating system namely Apache and IIS
5 It runs well on a great variety of platforms such as Linux, Windows, Unix
6 PHP programming has multilingual support
7 PHP is compatible with the vast majority of servers (Apache, IIS, etc.) and is
capable of running on most platforms (Unix, Windows, etc.).
8 PHP is easy to understand and learn, particularly for those who have a
background in HTML or JavaScript.

2.2.4 MYSQL
MySQL was developed by Michael 'Monty' Widenius of the Swedish company in
the mid-1990s. The initial version of MySQL was released to the open-source
community in May 1995.
MySQL is a relational database management system (RDBMS) that
interacts with SQL (Structured Query Language), a tool for editing, accessing and
processing data within a database.
Advantages of MYSQL
1 MySQL is similarly easy to understand and learn.
2 MySQL can support large databases of 50 million rows or more.
3 MySQL is compatible with the vast majority of operating systems
(Unix, Windows etc.).
5

4 MySQL is freely available under the GNU GPL (General Public Licence) and
can be tailored to suit individual requirements and personally customized
under the terms of the licence.
5 It runs well on a great variety of platforms such as Linux, Windows, Unix.

2.4 PROPOSED SYSTEM


Proposed System is making the employee transfer in highly secure and fast
manner to the employee by online. Here admin can control all employee accounts
and admin can add the transfer detail to the employye account. Documentation
maintenance is very secure and fast retriving for the purpose of adding the transfer
document. And employee can get the document in fraction of second and can get
knowledge of transfer soon.

2.3.1 SYSTEM DESIGN

2.3.1 UML DIAGRAM


Create employee
6

Admin

Search Employee

Add Transfer
Employee

Download the Transfer


Docuent

Login (Authentication)

2.3.2 UML diagram

2.3.3 CLASS DIAGRAM

2.3.3 Class diagram

2.3.4 ACTIVITY DIAGRAM

10

2.3.4 Activity Diagram

2.3.5 SEQUENCE DIAGRAM

2.3.5 Sequence Diagram

11

2.3.6 COLLABORATION DIAGRAM

2.3.6 Collaboration Diagrams

12

2.3.7 MODULE DESCREPTION


Module 1: Authentication
Authentication module has two processes one is for admin login and another
one is for employee login. Here we are going to checking valid user by user
name and password.
For admin account constant passkey given if password is given wrongly then
the page will remains the same with the error message. If the password is equal
to the passkey then page will be redirect to the admin account. Admin all the
pages are checked with session for avoiding URL browsing. When admin clicks
logout the session will be destoryed and redirect to the home.
For employee account the passkey was generated from the admin and passed
to the employee. If password is given wrongly then the page will remains the
same with the error message. If it is equal to the employee username and
passkey then it will be redirect to the employee account. Employee all the pages
are checked with session for avoiding URL browsing. When admin clicks
logout the session will be destoryed and redirect to the home.

13

2.3.7 Tags
Module 2: Admin Account
In account module is developed by using the privillage concept. Admin
account has the following functionalities
(i)
(ii)
(iii)
(iv)
(v)

Create employee
Search employee
Add transfer
Update employee
Download previous transfer

Create employee:
In this function employee can be created by the admin, basic details of the
employee could be given and employee user name and password is generated
and given to the employee. Employee id is generated automatically.
Search employee:
Search function is used to filter the employees for updating the transfer or
know about the employee current process. The filter has four options there are
employee id, employee name, current project and experience. The search result is
accurate with the search options.
If admin needs all the employee details then he can click the search button
without nothing filters keys. Then the result will be generated in the gird format.
Each and evrey employee details has the add transfer button it is for updting the
transfer document.
Add Transfer
14

Here admin can add the transfer document of the particular employee.
Automatically experience will be caluculated and add to the previous
experience.
Update Employee:
Admin can modify all the employee details by using the update operation in
adding transfer details.
Download previous transfer
Admin can download the previous transfer document in add transfer page for
the verifications.
Module 3: Employee Account
Employee account is created with the privillages according to
the company rules. Employee cant modify himself in his account he can only
view the admin created details. When the admin add the transfer then employee
can download the document.

2.4 SYSTEM TESTING


Testing
Testing tools can help automate tasks such as product installation, test
data creation, GUI interaction, problem detection (consider parsing or polling
agents equipped with oracles), defect logging, etc., without necessarily
automating tests in an end-to-end fashion.
15

2.4.1 Black box Testing


Black box testing attempt to find errors in the following categories,
1) Incorrect or missing functions
Both admin and user interface.
Detecting interface errors both admin and user interface
2) Errors in data structures or external database access
Checking performance errors in our applicationOn user interface
2.4.2 Volume Testing
Checking user Application response time,& general performance
parameters can be checked, before passing the parameters in database
2.4.3 Acceptance Testing
Very often done by the Users.
It is a type of testing to test whether it works within the defined
constraints.
Testing to ensure that the system meets the need of the organization and
the end user/ Admin.
2.4.4 What is QTP 9.2?
HP Quick Test Pro 9.2 is a functional automation Testing Tool

QTP provides record and playback of events

Uses VBScript as the scripting Language

Provides keyword view and expert view to view test cases.


16

Latest versions of QTP is 9.5 (launched in mid Jan 2008)

Previous version of QTP: 6.5, 8.0, 8.1, 8.2, 9.0, 9.1

QTP was previously owned by Mercury Interactive

Explain QTP Testing process?


The Quick Test testing process consists of 6 main phases:
1 Create your test plan
2 Recording a session on your application
3 Enhancing your test
4 Debugging your test
5 Running your test on a new version of your application
Browsers Supporting
The current version of QTP (Version 9.x and above) supports running tests
on the following browsers:
Microsoft Internet Explorer 6.0 or 7.0
Netscape Browser 8.0
Mozilla Firefox 1.5
Advantages of AUTOMATION Testing (QTP)
Easy to cover up all cases in a limited time period.

When a website requires immediate evaluation, automated testing


should be used.

17

Automated testing saves a huge amount of time. Testing results for a


webpage
Automated testing can be performed on different operating systems
simultaneously.

Automated testing is good for website for those projects, which have
not time constraints

3.1 CONCLUSIONAND FEATURE WORKS


This life cycle project has been developed to overcome the problems
encountered in the existing system manual.
The goals that have been achieved by this new system as follows,
i)
ii)
iii)

Less Processing time.


Its also flexible, easy and reliable.
Higher level authorities can easily ascertain the man power utilization.

18

So, as to take the advantage of the developments in the technology and to


maintain a higher level of operation efficiency in report handling.

Feature works:
During the user-specific topic modelingprocess, the obtained user-specific
topics represent the usersdistribution on the topic space and can be considered as
users interest profile. Therefore, this framework can be extended toany
applications based on interest profiles. For batch ofnew data (new users or new
images), we directly restart theRMTF and user-specific topic modeling process.
While, for asmall amount of new data, designing the appropriate updaterule is
another future direction. We plan to turn toparallelization tospeedup the RMTF
converge process. Moreover, the distributed storing mechanismof parallelization
will provide a convenient way to store verylarge matrices and further reduce the
storage cost.

COMPARISION
NON PERSONALIZED
SEARCH
Query relevance

PERSONALIZED SEARCH
Query relevance and user preference

Tags are not evaluated

Tags are evaluated

Manual updation

Updation through full zoom

Less logs

More logs

19

3.1APPENDIX
3.1.1 APPENDIXA SAMPLE CODE
Index controller
<?php

class IndexController extends Zend_Controller_Action


{

20

public function init()


{
require_once('database.inc');
}

public function indexAction()


{
// action body
}

public function adminloginAction()


{

public function staffloginAction()


{
// action body
}

public function adminaccountAction()

21

{
session_destroy();
$this->_helper->redirector('index','index');
}

public function adminaccountcheckAction()


{
if( $_REQUEST['name'] == 'admin' && $_REQUEST['pass'] == 'admin' )
{
$this->_helper->redirector('empsearch','index');
}
else
{
$this->_redirect('/index/adminlogin/?id=1');
}
}

public function createemployeeAction()


{
// action body
}

22

public function addemployeeAction()


{
if(isset($_REQUEST['name']) && isset($_REQUEST['pass']))
{
$target = "images/";
$target = $target . basename( $_FILES['uploaded']['name']) ;
$ok=1;

if ($uploaded_size > 35000000) {


echo "Your file is too large.<br>"; $ok=0;
}

if ($ok==0) {
echo "Sorry your file was not uploaded";
} else {
if(move_uploaded_file($_FILES['uploaded']
['tmp_name'], $target)) {

} else { echo "Sorry, there was a problem uploading


your file."; }
}
23

$con = mysql_query("insert into employee


(name,password,role,band,exprience,current_project,current_location,transfer_project,transfer_d
oc,updated_on) values
('$_REQUEST[name]','$_REQUEST[pass]','$_REQUEST[role]','$_REQUEST[band]','$_REQU
EST[exp]','$_REQUEST[cp]','$_REQUEST[cl]','$_REQUEST[tp]','$target',CURDATE())");
if($con)
{
$this->_redirect('/index/createemployee?id=2');
}
else
{
$this->_redirect('/index/createemployee?id=3');
}
}
}

public function emploginAction()


{
// action body
}

24

public function empaccountcheckAction()


{
$name = $_REQUEST['name'];
$pass = $_REQUEST['pass'];
$con = mysql_query("select id from employee where name='".$name."' and
password ='".$pass."'");
if(mysql_num_rows($con) == 1)
{
$this->_redirect('/index/empaccount/?name='.$name);
}
else
{
$this->_redirect('/index/emplogin/?id=1');
}
}

public function empaccountAction()


{
// action body
}

25

public function empsearchAction()


{
// action body
}

public function addtransAction()


{
// action body
}

public function updatetransAction()


{
// action body
}

public function updatetransferAction()


{
$id = $_REQUEST['id'];
$res = mysql_query("select updated_on from employee where id=".$id);
while($res1 = mysql_fetch_array($res))
{

26

$pr = $res1['updated_on'];
$today = date("d-m-Y", strtotime('today'));
$exp = round(abs(strtotime($today)-strtotime($pr))/86400);
$ep = $exp/365;

$target = "images/";
$target = $target . basename( $_FILES['uploaded']['name']) ;
$ok=1;

if ($uploaded_size > 35000000) {


echo "Your file is too large.<br>"; $ok=0;
}

if ($ok==0) {
echo "Sorry your file was not uploaded";
} else {
if(move_uploaded_file($_FILES['uploaded']
['tmp_name'], $target)) {

} else { echo "Sorry, there was a problem uploading


your file."; }
}
27

$con = mysql_query("update employee set transfer_doc = '".$target."' ,


exprience=exprience+".$ep." , transfer_project='".$_REQUEST['tp']."' , current_project='".
$_REQUEST['tp']."' , updated_on=CURDATE() where id=".$_REQUEST['id']);
//echo "update employee set transfer_doc = '".$target."' ,
exprience=exprience+".$ep." , transfer_project='".$_REQUEST['tp']."' , current_project='".
$_REQUEST['tp']."' where id=".$_REQUEST['id'];
$this->_redirect('/index/updatetrans/?id='.$_REQUEST['id']."&ch=1");
}

public function downloadAction()


{
header("Content-Type: application/octet-stream");
header("Content-Disposition: attachment; filename=".$_GET['path']);
readfile($_GET['path']);
}

public function editempAction()


{
// action body
28

Index.php
<html>
<head>
<style>
.login{
margin-top:10px;
margin-left:800px;
height:100px;
width:150px;
background-color:#0FF;
border-radius:5px;
}
.logtex{
margin-left:20px;
text-decoration:none;
font-size:18px;

29

font-weight:bold;
color:#000;
}
</style>
</head>
<div class="login"><br />
<a class="logtex" href="<?php echo $this>url(array('controller'=>'index','action'=>'adminlogin'),'default',true);?>">Admin
Login</a><br /><br />
<a class="logtex" href="<?php echo $this>url(array('controller'=>'index','action'=>'emplogin'),'default',true);?>">Staff Login</a><br
/><br />
</div>

Create employee

<html>
<head>
<style>
.header{
margin-left:50px;
margin-top:3px;

30

height:40px;
width:800px;
background-color:#0CF;
}
.hedtext1{
font-size:16px;
font-weight:bold;
}

.hedtext2{
margin-top:-10px;
margin-left:150px;
font-size:18px;
font-weight:bold;
}

.hedtext3{
margin-top:-18px;
margin-left:350px;
font-size:14px;
font-weight:bold;

31

}
.hedtext3:hover{
font-size:18px;
}

.hedtext5{
margin-top:-18px;
margin-left:600px;
font-size:14px;
font-weight:bold;
}
.button {
padding: 5px 10px;
display: inline;
background: #777 ;
border: none;
color: #fff;
cursor: pointer;
font-weight: bold;
border-radius: 3px;
-moz-border-radius: 3px;

32

-webkit-border-radius: 3px;
text-decoration:none;
}
.button:hover {
background-color:#009;
}

</style>
<script>
function validate(){
if(document.getElementById('pass').value == document.getElementById('pass1').value)
{
return true;
}
else
{
alert('Both Passwords not match');
return false;
}
}
</script>

33

<title>Admin Account</title>
</head>
<body>
<div class="header">
<div>
<font class="hedtext1">&nbsp;</font>
</div>
<div class="hedtext2">
<a href="<?php echo $this>url(array('controller'=>'index','action'=>'createemployee'),'default',true); ?>" style="textdecoration:none; color:#000;"> Create Employee </a>
</div>
<div class="hedtext3">
<a href="<?php echo $this>url(array('controller'=>'index','action'=>'empsearch'),'default',true); ?>" style="textdecoration:none; color:#000;"> Add Employee Transfer </a>
</div>

<div class="hedtext5">
<a href="<?php echo $this>url(array('controller'=>'index','action'=>'adminaccount'),'default',true); ?>" style="textdecoration:none; color:#000;">Logout</a>
</div>
34

</div><br /><br />


<form action="<?php echo $this>url(array('controller'=>'index','action'=>'addemployee'),'default',true);?>" method="post"
onSubmit="return validate();" enctype="multipart/form-data">
<table align="center">
<tr><td>Employee Name:</td><td><input type="text" name="name" required
/></td></tr>
<tr><td>Password:</td><td><input type="password" name="pass" id="pass" required
/></td></tr>
<tr><td>Confirm Password:</td><td><input type="password" name="pass1" id="pass1"
required /></td></tr>
<tr><td>Employee Role:</td><td><input type="text" name="role" required /></td></tr>
<tr><td>Employee Band:</td><td><input type="text" name="band" required /></td></tr>
<tr><td>Work Experience (in Years):</td><td><input type="number" name="exp" required
/></td></tr>
<tr><td>Current Project:</td><td><input type="text" name="cp" required /></td></tr>
<tr><td>Current Location:</td><td><input type="text" name="cl" required /></td></tr>
<tr><td>Project Document:</td><td><input type="file" name="uploaded" required
/></td></tr>
<tr><td colspan="2" align="center"><input type="submit" value="Create"
class="button" /></td></tr>
</table>
</form>

35

<br><br>
<?php
if($_REQUEST['id'] == 2)
{
echo "Employee created";
}
else if($_REQUEST['id'] == 3)
{
echo "Error in creation";
}
?>
</body>
</html>

Updatetransfer.phtml
<html>
<head>
<script type="text/javascript">
function populateIframe(id,path)
{
var ifrm = document.getElementById(id);

36

ifrm.src = "<?php echo $this>url(array('controller'=>'index','action'=>'download'),'default',true); ?>?path="+path;


}
</script>
</head>
<form action="<?php echo $this>url(array('controller'=>'index','action'=>'updatetransfer'),'default',true)."?id=".
$_REQUEST['id']; ?>" method="post" enctype="multipart/form-data">
<a href="<?php echo $this>url(array('controller'=>'index','action'=>'empsearch'),'default',true); ?> ">Back to Search
Page</a>
<table border="2" style="border:solid #009; margin-top:20px;" align="center">
<?php
$con = mysql_query("select * from employee where id = '".$_REQUEST['id']."'");
while($res = mysql_fetch_array($con))
{
echo "<tr><td>Id</td><td>".$res['id']."</td></tr>";
echo "<tr><td>Name</td><td>".$res['name']."</td></tr>";
echo "<tr><td>Role</td><td>".$res['role']."</td></tr>";
echo "<tr><td>Band</td><td>".$res['band']."</td></tr>";
echo "<tr><td>Experience</td><td>".$res['exprience']."</td></tr>";
echo "<tr><td>Current Project</td><td>".$res['current_project']."</td></tr>";
echo "<tr><td>Current Location</td><td>".$res['current_location']."</td></tr>";
37

echo "<tr><td>Transfer Project</td><td>";


?> <input type="text" name="tp" value="<?php echo $res['transfer_project'];?
>"></td></tr>
<?php echo "<tr><td>Transfer Document</td>";
if ($res['transfer_doc'] != '')
{
?>
<td>
<iframe id="frame1" style="display:none"></iframe><a
href="javascript:populateIframe('frame1','<?php echo $res['transfer_doc']; ?>')">download</a>
</td>
<?php }
else
{
echo "No privious Document";
}?>
</tr>
<tr><td>Choose a new file to update transfer details</td><td><input type="file"
name="uploaded" required ></td></tr>
<?php }

?>
38

<tr><td colspan="2" align="center"><input type="submit" value="Update" class="button"


/></td></tr>
</table>
<?php
if ($_REQUEST['ch'] == 1)
{
echo "<tr><td colspan='2' aligin='center'>Update Sucessful</td></tr>";
}
?>
</form>

3.1.2 APPENDIXB. SCREEN SHOOT


Employee Transfer
Index Page

39

Admin Login:

40

Admin Inbox:

Add Transfer:

41

Update Transfer Doc:

Updated Result:

Her
e His Experience is added to his document Automatically.
42

Download the Transfer Doc:

View of Downloaded Doc:

43

Create Employee Page:

Loguot:

44

Employee Login:

45

Employee Inbox:

He can download the Transfer Details Here.


Logout:

46

3.1.3APPENDIXC. REFRENCE
1. Jitao Sang, ChangshengXu, Dongyuan Lu, Learn to Personalized Search
from the Photo Sharing Websites, IEEE TRANSACTIONS ON MULTIMEDIA,
VOL. X, NO. X, 2012
2. B. Smyth, A community-based approach to personalizing web search,
Computer, vol. 40, no. 8, pp. 4250, 2007.
3. S. Xu, S. Bao, B. Fei, Z. Su, and Y. Yu, Exploring folksonomy fo personalized
search, in SIGIR, 2008, pp. 155162.

47

4. Y. Cai and Q. Li, Personalized search by tag-based user profile and resource
profile in collaborative tagging systems, in CIKM, 2010, pp.969978
1997
5. Robert Cooley, BamshadMobasher, and JaideepSrivastava, Data Preparation for mining
world wide web browsing patterns, Knowledge and information Systems
1(1),1999.
6. Robert Cooley, Pang-Ning Tan, JaideepSrivastava, WebSIFT: The Web Site
Information Filter System (1999). Proceedings of the Web Usage Analysis and
User Profiling Workshop, August 1999.
7.Http://www.google.com.
8.Http://www.wikipedia.org.

48

You might also like