transforge v2.0, ukiua 2011
Post on 14-Jul-2015
200 Views
Preview:
TRANSCRIPT
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
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
Agenda
• Background
• Jenga
• The New Transforge
• Existing OpenROAD Applications
• HTML5
03-06-2011 Copyright Consolidate Systems, LLC 3
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
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
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
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
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
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
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
Stylesheet
03-06-2011 Copyright Consolidate Systems, LLC 11
ASO Explorer
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
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
The New TransForge
Generated on the fly
03-06-2011 Copyright Consolidate Systems, LLC 15
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
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
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
Report
03-06-2011 Copyright Consolidate Systems, LLC 19
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
From OpenROAD…
03-06-2011 Copyright Consolidate Systems, LLC 21
…To HTML5
03-06-2011 Copyright Consolidate Systems, LLC 22
Possibilities
Develop in OpenROAD Generate HTML5 Client Deploy everywhere: Mac Smartphones Tablets Business to Business
03-06-2011 Copyright Consolidate Systems, LLC 23
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
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
Contact
• Consolidate Systems, LLC – John.Mahony@ConsolidateSystems.com
– Roy.Simon@ConsolidateSystems.com
• Kim Ginnerup: kim@ginnerup.net
You are welcome to contact us after the session
03-06-2011 Copyright Consolidate Systems, LLC 26
Questions
03-06-2011 Copyright Consolidate Systems, LLC 27
top related