+ All Categories
Home > Documents > powerEXT Technical Overview

powerEXT Technical Overview

Date post: 31-Mar-2016
Category:
Upload: henrik-rutzou
View: 230 times
Download: 3 times
Share this document with a friend
Description:
powerEXT Application Framework, tecnical overview, sep 2009
Popular Tags:
17
powerEXT Application Framework Exploit the power and world of Open Source iSeries software and Henrik Rützou – HR Software Development – sep. 2009 powerEXT.com – contact [email protected]
Transcript
Page 1: powerEXT Technical Overview

powerEXT Application Framework

Exploit the power and world of Open Source iSeries software and resources

Henrik Rützou – HR Software Development – sep. 2009 powerEXT.com – contact [email protected]

Page 2: powerEXT Technical Overview

powerEXT Application Framework – Technical Overview

Basic Structure LEAN productivity DB2 Remote Procedures Environment and Security Ext JS WEB 2.0 Support Integration Capabilities powerEXT Project Resources

Page 3: powerEXT Technical Overview

Technology of tomorrow

powerEXT – Basic Structure in 3 layers

Ext JS WEB 2.0 Layer Function API, Central Metadata API, Menu API

General System Layer

System API, Environment API, I18N API

Basic Connection & LEAN Productivity Layer HTTP connection API

Metadata Model - user definitions - function definitions - xml function config's - data definitions - I18N translations - system properties

CGIDEV2APACHE i5/OS

IceBreak or othersi5/OS

Technology of tomorrowExt JS Generics - launch template - process definitions - data type templates

RPGLE language

Page 4: powerEXT Technical Overview

powerEXT – LEAN Productivity - KAIZEN

IMPROVE PROGRAMMING EFFICIENCY BY REDUCING WASTE, FOCUS ON Repeatedly done code Repeatedly done functions Unnecessary programming processes Unnecessary code dependencies Redundance in code Redundance in metadata

CENTRAL METADATA MODEL

How small an improvement may appear, then it, if it is repeated a million times, is a big improvement.

Page 5: powerEXT Technical Overview

powerEXT – LEAN Example – Traditional Code Dependencies

PROGRAMMING PROCESS 1

HTML:<as400>start<table>

<tr><td>Header 1</td><td>Header 2</td><td>Header 3</td>

</tr><as400>detail

<tr><td>/% field1 %/</td><td>/% field2 %/</td><td>/% field3 %/</td>

</tr><as400>end</table>

*** FOCUS ON NO OF PROCESSES AND DEPENDENCIES ***

PROGRAMMING PROCESS 2

RPGLE:getIfsFile('somefile':'<as400>');wrtSection('start');someLoop

updHTMLvar('field1':FIELD1);updHtmlVar('field2':FIELD2);updHtmlVar('field3':FIELD3);wrtSection('detail');

endLoop

wrtSection('end');

Page 6: powerEXT Technical Overview

powerEXT – LEAN Example – Stage 1 – reduced dependencies

ONE PROGRAMMING PROCESS WITH powerEXT METHOD ECHO

echo('<table>');

echo('<tr>'); echo('<td>Header 1</td>');

echo('<td>Header 2</td>');

echo('<td>Header 3</td>'); echo('</tr>);

someLoop echo('<tr>');

echo('<td>' + FIELD1 + '</td>'); echo('<td>' + FEIDL2 + '</td>'); echo('<td>' + FIELD3 + '</td>');

echo('</tr>');

endloopecho('</table>');

*** FOCUS ON REDUNDANCY ***

Page 7: powerEXT Technical Overview

powerEXT – LEAN Example – Stage 2 – reduced redundancy

IMPROVED ONE PROGRAMMING PROCESS WITH powerEXT NODE SUPPORT

htmlNode('table');

htmlNode('tr');

htmlNode('td':'':'Header 1');

htmlNode('td':'':'Header 2');

htmlNode('td':'':'Header 3');

htmlEndNode();

someLoop

htmlnode('tr');

htmlNode('td':'':FIELD1);

htmlNode('td':'':FIELD2);

htmlNode('td':'':FIELD3);

htmlEndNode();

endloop

htmlEndNode();

powerEXT STRUCTURED NODE SUPPORT

HTML XML JSON

htmlNode xmlNode jsonNode

htmlEndNode xmlEndNode jsonEndNode

----------- ---------- -----------

encodeHTML encodeXML encodeJSON

----------------------------------------------

echo

Page 8: powerEXT Technical Overview

powerEXT – LEAN Example – Central Metadata Model

DB2 PF

100 Tables3000 Field Occurrencies

DSPF

500 dspf 11000 Field Occurrencies

WEB

500 webpages11000 Field Occurrencies

PRTF

400 prtf 8000 Field Occurrencies

powerEXT Central Metadata Model700 Field Descriptions

10 generic templates mixed with Metadata covers most fields

I18N International Translations

Where do you wanna work ?

Reduce code and metadata redundancy in your project:

a – 700 vs 33.000 is 2.2 %

b – flat - 33000

Page 9: powerEXT Technical Overview

Technology of tomorrow

powerEXT – DB2 Remote Procedure Call (RPC)

DB2 Connection Layer DB2 RPC's (SQLRPGLE programs)

General System Layer

System API, Environment API, I18N API

Connection & Productivity Layer Http connection API

Metadata Model - user definitions - function definitions - xml function config's - data definitions - I18N translations - system properties

CGIDEV2APACHE i5/OS

IceBreak or othersi5/OS

RPGLE language

Page 10: powerEXT Technical Overview

powerEXT – DB2 Remote Procedure Call (RPC)

Supports AJAX call's from any client framework

Auto Generated, SQLRPGLE based and supports I18N

Protected by powerEXT Environment & Security

Standard Buildt In Functions: getRows – returns a number of rows sorted on any field, limited in no of rows and searchable

getRow – returns a single row

inzRow – returns a initialized row

insRow – inserts a row with data from a form

updRow – updates a row with data from a form

delRow - deletes a row

design – ask for GRID/FORM design

Output HTML – returns a raw HTML table

XML – returns a raw XML document (tags are field names)

JSON – returns a JSON object

XML(2)– returns a GRID/FORM XML configuration object

Page 11: powerEXT Technical Overview

powerEXT – Environment & Security

i5/OS user Val. List user PowerEXT userDirectory & cgilib yes by login yes by login yes by OS obj secCGI program sec yes by OS obj sec no yesDB2 Scope sec no no yes

powerEXT environment and security builds on a server side approach, whereevery CGI/RPC program call must be pre-approved by the server.

The Apache directory has no need for protection other than OS obj sec , because it is held so ”slim”,that even the index page is a redirection to a CGI program.

Only protected CGI programs and the log in program must reside in the CGILIB's

Page 12: powerEXT Technical Overview

powerEXT – Ext JS WEB 2.0 support

Page 13: powerEXT Technical Overview

powerEXT – Ext JS WEB 2.0 support

General Support: Multilingual Log in, UTF-8 encoding as standard

Viewport/portal with homepage, theme and iFrame interCommunication and Messaging support

Dynamic Accordion menu build on metadata and XML configuration docs.

Dynamic Multilevel tree structure menu's build on metadata and XML configuration docs

Launch CGI programs (powerEXT Ext JS Processes, CGIDEV2, iceBreak, LANSA, BCD etc.?, but not frameworks that tries to take over .....

Launch HTTP Link supports (Cloud Apl., PHP, .ASP, .NET, FLASH etc.)

Generic Configurable Processes (Robots) FORM SUBMIT (equals iSeries Commands and Panels)

GRID/FORM (equals iSeries Work With)

Generic Field Type Support Alpha

Numeric

Date

Numdate

Timestamp

Boolean

Page 14: powerEXT Technical Overview

Technology of tomorrow

powerEXT – Integration and existing application enhancement

CGI Program CGIDEV2, iceBreak, LANSA, BCD etc. etc.

General System Layer

System API, Environment API, I18N API

Connection & Productivity Layer Http connection API

Metadata Model - user definitions - function definitions - xml function config's - data definitions - I18N translations - system properties

CGIDEV2APACHE i5/OS

IceBreak or othersi5/OS

AJAX DB2 RPC's

Page 15: powerEXT Technical Overview

powerEXT – Ext JS WEB 2.0 Cloud Application Integration

Spice up your application with e-book's, demonstation & education films

Page 16: powerEXT Technical Overview

PowerEXT Application Framework

powerEXT Project Resources

Project Homepage powerEXT.com Available

Download area code.google.com/p/powerext Available

VersionsV1 RC0 – demo, CCSid world test, IT press and selected members

Available

V1 RC1 – feature locked version Medio oct 2009

V1 Production Medio dec 2009

Support/resource/ Opens with V1 RC1 Medio oct 2009

knowledge forum: Integrated in the Project

Page 17: powerEXT Technical Overview

PowerEXT Application Framework


Recommended