project transcender standard windows forms to windows 8 metro style porting tool sri lanka institute...

Post on 02-Jan-2016

219 Views

Category:

Documents

1 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Project Transcender

Standard Windows Forms to Windows 8 Metro Style

porting tool

Sri Lanka Institute of Information Technology

2

• Introduction• Research Problem• Our Solution• Uniqueness• Technologies used• Demonstration

Agenda

Introduction

4

Windows 8

• New User Experience – Metro Style Apps• Targets Touch Based Devices• Fast and Fluid• Programming Flexibility• Hardware Utilization

5

The Difference

Windows 7 and earlier OS

.NET 4.0

Visual Studio 10

Win32

Windows 8

.NET 4.5

Visual Studio 12

WinRT

The developers perspective(Research Problem)

7

How the developer gets affected?

8

•Time & Money• Companies and individuals will have to allocate more

resources to rewrite their existing applications in Metro Style.

•Learning curve• Need to rethink the UI design according to new

concepts• Changes in the .NET framework and related APIs• Need to have knowledge on Windows 8 and it’s new

features

How the developer gets affected?

9

Our Solution

A porting tool to automate the conversion.

10

Windows Forms Application

Metro Style Application

Convert the GUI

Convert code

behind

Our Porting Process

Convert Configura

tionfiles

11

Windows Forms Application

Metro Style Application

Convert the GUI

Convert code

behind

Overview of the GUI conversion

Convert Configura

tionfiles

Overview of the GUI conversion

Input C# designer file (form.designer.cs)

Extract Information about GUI controls

Convert GUI objects

Control Database

Output file (form.xaml)

Canvas

13

Windows Forms Application

Metro Style Application

Convert the GUI

Convert code

behind

Overview of the code conversion

Convert Configura

tionfiles

Overview of the code conversion

Input C# code file (.cs)

Extract Information about classes,

methods, etc. in the files

Convert using declarations

Using declaration

conversion rules

Convert method declarations

Data type mapping

Convert operations

Control mapping, Data type mapping,Method invocation

mappings

Output C# code file (.xaml.cs)

15

Windows Forms Application

Metro Style Application

Convert the GUI

Convert code

behind

Our Porting Process

Convert Configura

tionfiles

Overview of the configuration conversion

Application.csproj Application.csproj

Other Components

Package.appmanifest

Input: Current project file Extracting Data Process informationOutput : New Project File

User enters data

Process manifest information

Extracting Data Output : Manifest file

17

Scope

• Usages of essential GUI Controls • Frequently used .NET libraries will be mapped• No 3rd party components will be supported.

To improve the scalability we have provided methods to add controls and libraries to the porting process

Uniqueness

19

The state of art today

Possible, but more effort

One-to-one mapping

Possible, reasonable effort

Development skills similar

20

Setting the trend…

21

Setting the trend…

22

Business Model

Technologies Used

24

25

Demo

Q & A

Thank you!

top related