transforge v2.0, ukiua 2011

27
Don’t Miss The Train! Actionable advice for migrating ABF & OpenROAD to n-tier OpenROAD on to HTML5 by Consolidate Systems, LLC & Kim Ginnerup Copyright Consolidate Systems, LLC 1 03-06-2011

Upload: roydealsimon

Post on 14-Jul-2015

200 views

Category:

Technology


2 download

TRANSCRIPT

Page 1: Transforge v2.0, ukiua 2011

Don’t Miss The Train!

Actionable advice for migrating ABF & OpenROAD to n-tier OpenROAD on to HTML5

by

Consolidate Systems, LLC & Kim Ginnerup

Copyright Consolidate Systems, LLC 1 03-06-2011

Page 2: Transforge v2.0, ukiua 2011

Presentation

Consolidate Systems, LLC

New company founded by John Mahony and Roy Deal Simon

Mission:

Provide Tools and Services to help ABF and OpenROAD customers leverage the potential of their Applications

03-06-2011 Copyright Consolidate Systems, LLC 2

Page 3: Transforge v2.0, ukiua 2011

Agenda

• Background

• Jenga

• The New Transforge

• Existing OpenROAD Applications

• HTML5

03-06-2011 Copyright Consolidate Systems, LLC 3

Page 4: Transforge v2.0, ukiua 2011

Background

• Unistar ERP developed by Bording Data – Written in ABF, C and OpenROAD

– Development started in 1987

– 800.000 lines of 4GL

– 14 Applications

• Converting to OpenROAD will take at least another 10 calendar years

• TransForge was an option we didn’t like – Ingres suggested a shared development project

03-06-2011 Copyright Consolidate Systems, LLC 4

Page 5: Transforge v2.0, ukiua 2011

Outcome

• Transforged Unistar is now running in production

• Utilizing OpenROAD Server

• No Ingres/Net requirements in client

• Installed and upgraded using LoadnRun

• New effective Development environment

03-06-2011 Copyright Consolidate Systems, LLC 5

Page 6: Transforge v2.0, ukiua 2011

TransForge: the good parts

• Discovery process / reporting

• Works out of the box

• Frame layout preserved

• The Business logic is preserved

• 4GL wrappers around C-functions • Unfortunately into user classes

03-06-2011 Copyright Consolidate Systems, LLC 6

Page 7: Transforge v2.0, ukiua 2011

The Jenga TransForge

• Code explosion a factor of 6 • Same code generated all over the place

• Not very OpenROAD like • Strange object wrappers on just about everything • Upside down frame instantiation

• Very hard to learn and understand • Insane amount of interdependencies • You need to decide on stuff you do not know yet • 2 Tier Ingres/Net based Client • Styling was close to impossible • Single frame debugging not possible • User events used as procedure calls

03-06-2011 Copyright Consolidate Systems, LLC 7

Page 8: Transforge v2.0, ukiua 2011

Let’s ”Transforge” TransForge

Objective: – A new development environment

– Easier to recognize for an ABF Developer

– Generate less code

– No code duplication • Use include files

– Remove dependency of Ingres/Net

– Untangle the enormous amount of interdependencies

– Utilize OpenROAD Server

03-06-2011 Copyright Consolidate Systems, LLC 8

Page 9: Transforge v2.0, ukiua 2011

The New TransForge

What did we accomplish? – Utilize OpenROAD Server

– Eliminate Ingres/Net on Client • LoadnRun for deployment

– Strange Object wrappers removed

• C-functions wrapped in 4gl procedures

– Code explosion eliminated

– ABF preprocessing

– ABF Previous / Next

03-06-2011 Copyright Consolidate Systems, LLC 9

Page 10: Transforge v2.0, ukiua 2011

The New TransForge

• Stylesheets implemented – a bit like CSS

• SQL-Statements extracted from the code – can run either at Client or Server

• 3GL wrapped in single 4GL proc – can run either at Client or Server

• OpenROAD Servers created – Can run out of the box

03-06-2011 Copyright Consolidate Systems, LLC 10

Page 11: Transforge v2.0, ukiua 2011

Stylesheet

03-06-2011 Copyright Consolidate Systems, LLC 11

Page 12: Transforge v2.0, ukiua 2011

ASO Explorer

Page 13: Transforge v2.0, ukiua 2011

SOA Ready

• SQL in a separate application layer • Accessed by proxy

• 3GL in a separate application layer • Accessed by proxy

• Data in a separate application Layer

• Shared between Client and Server

• Mixed Remote and Local access • Configurable for each call

03-06-2011 Copyright Consolidate Systems, LLC 13

Page 14: Transforge v2.0, ukiua 2011

SOA in Action

Data

(Transport Layer) OpenROAD Client

(HTTP or Ingres/Net)

Proxy

OpenROAD

Server

3GL

SQL (Data Access Layer)

Remote Local

03-06-2011 Copyright Consolidate Systems, LLC 14

Page 15: Transforge v2.0, ukiua 2011

The New TransForge

Generated on the fly

03-06-2011 Copyright Consolidate Systems, LLC 15

Page 16: Transforge v2.0, ukiua 2011

Existing OpenROAD Applications

Use the knowledge from the New TransForge to create OpenROAD Transformations

similar to ABF

03-06-2011 Copyright Consolidate Systems, LLC 16

Page 17: Transforge v2.0, ukiua 2011

OpenROAD Transformation

• What do we have – OpenROAD Application Analyzer – Antlr OpenROAD Parser

• What is planned – Code Generator

• The Outcome – 3-tier OpenROAD Applications

• No Ingres/Net dependency in Client

• No SQL in Client

• No 3GL in Client

03-06-2011 Copyright Consolidate Systems, LLC 17

Page 18: Transforge v2.0, ukiua 2011

OpenROAD Application Analyzer

• Generates an html based “Discovery” report – Identifies number of statements, and tokens

– Identifies 4GL statement types

– Identifies System, 4GL, UI, External, and Database dependencies

• All the things that the Workbench does not provide

03-06-2011 Copyright Consolidate Systems, LLC 18

Page 19: Transforge v2.0, ukiua 2011

Report

03-06-2011 Copyright Consolidate Systems, LLC 19

Page 20: Transforge v2.0, ukiua 2011

HTML5

• Objective • Convert OpenROAD Thin Client to HTML • Access OpenROAD Servers using Web Services

• What do we have • OpenROAD Application Analyzer • Antlr OpenROAD Parser • HTML 5 Frame Generator • Generating JavaScript and CSS3

• What is planned • Web Service integration • Automation

• Not all OpenROAD is supported

03-06-2011 Copyright Consolidate Systems, LLC 20

Page 21: Transforge v2.0, ukiua 2011

From OpenROAD…

03-06-2011 Copyright Consolidate Systems, LLC 21

Page 22: Transforge v2.0, ukiua 2011

…To HTML5

03-06-2011 Copyright Consolidate Systems, LLC 22

Page 23: Transforge v2.0, ukiua 2011

Possibilities

Develop in OpenROAD Generate HTML5 Client Deploy everywhere: Mac Smartphones Tablets Business to Business

03-06-2011 Copyright Consolidate Systems, LLC 23

Page 24: Transforge v2.0, ukiua 2011

Summary • How to get ABF to 3-Tier OpenROAD

• The OpenROAD Application Analyzer

• The OpenROAD Server Explorer

• How to get existing OpenROAD Applications

to use OpenROAD Server

• How to generate a HTML5 client from an

OpenROAD client

03-06-2011 Copyright Consolidate Systems, LLC 24

Page 25: Transforge v2.0, ukiua 2011

Considerations

• Bording and John Mahony have spent more than 8 man-years of enhancing TransForge

• All development has been given back to Ingres and Consolidate Systems

• You can benefit from our joint effort

ABF

OpenROAD

OpenROAD

3-Tier HTML5

Hop on the train from the station nearest you

03-06-2011 Copyright Consolidate Systems, LLC 25

Page 26: Transforge v2.0, ukiua 2011

Contact

• Consolidate Systems, LLC – [email protected]

[email protected]

• Kim Ginnerup: [email protected]

You are welcome to contact us after the session

03-06-2011 Copyright Consolidate Systems, LLC 26

Page 27: Transforge v2.0, ukiua 2011

Questions

03-06-2011 Copyright Consolidate Systems, LLC 27