Beruflich Dokumente
Kultur Dokumente
Disclaimer
The Department of Justice and the Attorney-General has developed the FWAR tool to assist in the
negotiation and implementation of Flexible Work Arrangements in work places. This tool is offered
as a support resource only and is not legally required by industrial relations legislation and can be
used or modified at the discretion of the employer and employee concerned. While a technical
guide is provided to assist with the installation of the FWAR tool, responsibility lies with the user to
perform the installation as no further technical support will be provided. The Department of Justice
and the Attorney-General does not accept responsibility for any technical limitations associated
with the FWAR tool.
Version: 1.1
Date: May, 2012
Table of Contents
1
Introduction............................................................................................................................... 4
Technology Used....................................................................................................................... 5
System Overview..............................................................................................................6
4.2
Configure IIS..................................................................................................................... 6
4.3
Application Installation......................................................................................................8
4.4
Configuration...................................................................................................................11
Security................................................................................................................................... 14
5.1
Roles.............................................................................................................................. 15
5.2
Authentication................................................................................................................. 15
Architecture............................................................................................................................. 16
6.1
Application Design.......................................................................................................... 16
6.2
6.2.1
Overview................................................................................................................... 16
6.2.2
Client Folder............................................................................................................. 16
6.2.3
Server Folder............................................................................................................ 17
6.2.4
6.2.5
6.2.6
Version: 1.1
Date: May, 2012
Definition
Department
JAG
WCF
TFS
MS
Microsoft
VS
Visual Studio
Page 3 of 19
2 INTRODUCTION
The Flexible Work Arrangements Request (FWAR) Tool was developed by the Department of
Justice and Attorney-General Queensland for the Public Service Commission to help evaluate the
success of work-life balance policy for organisations.
The FWAR Tool is available for installation by an organisations IT/help desk staff, in enterprise and
small business environments (active directory and non-active directory environment) on a web
server. After installation, the FWAR Tool needs to be populated with departments and managers of
the organisation by a nominated administrator. Consequently employees are able to submit forms
for approval by their managers. The reports, which are a part of the FWAR Tool help the business
monitor their flexible work arrangements.
This document gives an overview of the tools, environment, brief configuration and deployment
instructions.
Page 4 of 19
3 TECHNOLOGY USED
The development environment consists of the following components:
Page 5 of 19
Page 6 of 19
3. Click on MIME Types and add Silverlight file extensions as per screenshot below
Page 7 of 19
4. Go to ASP.NET tab in Properties Window and make sure ASP.NET Version property
is set to 4.0.xxxxx
NOTE: If any of the pre-requisites are not installed installation wizard will attempt to install it
automatically. In the case of failure, please install pre-requisites manually from the corresponding
folder in the distribution package.
Click next on the Welcome screen
Page 8 of 19
Accept licence agreement and click next. On the Installation Address screen use values as per
screenshot below:
Click next to complete installation. Once application is installed, access to database file MUST be
granted to the App_Data folder. Browse to the installation folder and grant appropriate permission
(read/write) to specific users to App_Data folder and its contents.
Page 9 of 19
Open web.config file in text editor and find the following section:
<system.net>
<mailSettings>
<smtp from="changeme@change.me">
<network host="yoursmtpmail" />
</smtp>
</mailSettings>
</system.net>
Configure this section to reflect your smtp server configurations. Save web.config.
Application is now ready for use.
Page 10 of 19
4.4
CONFIGURATION
Page 11 of 19
No-reply email: email address to be used to send all email notifications in the system
Home page note: message to be shown on the home page when users login (does not
apply to administrator)
Page 12 of 19
Page 13 of 19
More detailed instructions on setting up users and running reports, including interpreting
results, is provided in the FWAR HR Guide.
Page 14 of 19
5 5 SECURITY
Application security is based on the roles which are described in 5.1.1 below.
5.1
ROLES
5.2
System Administrator. This role has access to everything within the application
(running reports, manage forms, manage users, manage from lookups).
Manager. Manager has an ability to submit his/her own forms as well as fill out Part B
and Part C of the forms submitted by employees. Manager can only view his/her own
forms and forms submitted to him/her.
Employee. Employee can only submit and view Part A of the form.
AUTHENTICATION
Users are authenticated by supplying their username/password combination on the login
page. In order to login, users must accept application disclaimer.
Page 15 of 19
6.
ARCHITECTURE
6.1
APPLICATION DESIGN
Application is layered logically into several components following best Microsoft practices.
There are three main tiers: Client (UI), Server (Data Access and Services) and Web
(hosting environment). All communications to backend are done via WCF services that can
be configured as REST or SOAP.
User interface was build using Silverlight and Prism framework. It was decided to split
application into several semi-independent modules that are glued together by the shell
module. Communication between modules is achieved using Prism Framework in publishsubscribe fashion. Any module can broadcast specific event and only subscribed modules
are able to handle it.
Unity framework is used throughout the application to ensure scalability and extensibility of
the code. Entity framework is used to perform CRUD operations on data and to abstract
database table into Data Transformation Objects.
6.2
6.2.1 OVERVIEW
Solution is broken down into several logical folders:
Page 16 of 19
PSIER.Silverlight.DataContacts folder contains all service data contacts. Due to the fact
that Silverlight is a cut-down .NET framework it cannot reference DataContracts
(PSIER.Server.DataContract) library directly. Therefore, PSIER.Silverlight.DataContacts
was created with all contract are added from PSIER.Server.DataContract as a link.
PSIER.Silverlight.Infrastructure contains all application infrastructure such as custom
events, enums, constants, global variables, typed strings etc. PSIER.Silverlight.Library
contains application helper libraries and utilities.
3. Select your connection, select tables you want to include or update and click
Finish.
4. Click Save in Visual Studio.
Flexible Work Arrangements Request (FWAR) Tool
Department of Justice and Attorney-General (DJAG 12/5140)
Page 17 of 19
5. Now your entities are up-to-date. We still have to update data contracts.
Right click PSIER.DataContracts.tt file in PSIER.Server.DataContracts
project and click Run Custom Tool. This will generate data contracts based
on entities.
6. If there are any new data contracts/tables, you must include them into
PSIER.Silverlight.DataContracts project. Right click
PSIER.Silverlight.DataContracts project, select Add Existing Item
Page 18 of 19
Page 19 of 19