the rpg dude - episode 1 - design

45
www.looksoftware. com www.looksoftware. com The RPG Dude Take a seat while the meeting gets started…

Upload: looksoftware

Post on 26-Jan-2015

117 views

Category:

Technology


2 download

DESCRIPTION

A fun brief highlight of RPGOA and DDS functionality for IBM i GUI, rich desktop, mobile and browser. See how the life of this RPG Dude has evolved with the integration of RPGOA and looksoftware's IDE.

TRANSCRIPT

Page 1: The RPG Dude - Episode 1 - Design

www.looksoftware.comwww.looksoftware.com

The RPG Dude

Take a seat while the meeting gets started…

Page 2: The RPG Dude - Episode 1 - Design

www.looksoftware.comwww.looksoftware.com

The RPG Dude

His Design perspective

Page 3: The RPG Dude - Episode 1 - Design

www.looksoftware.comwww.looksoftware.com

RPG preamble• To display data, RPG uses display formats• Display formats are described within the DDS (Data Description Specifications) • The formats within DDS contain :

• Field buffer definition • UI description (position, DDS keyword…)

Page 4: The RPG Dude - Episode 1 - Design

www.looksoftware.comwww.looksoftware.com

RPG preamble• For RPG, a format is only a Field buffer definition that can be read or written, RPG doesn’t care about any UI description.

• The workstation (via 5250) monitors all UI descriptions,• with OA, we can either monitor them or ignore them.

We could use DDS formats only for Field buffer definitions and use RPGOA to send and receive these

buffers.

Page 5: The RPG Dude - Episode 1 - Design

www.looksoftware.comwww.looksoftware.com

RPG preamble

In RPG you can write many formats.

Write format5Write format4Write format3Write format2Write format1

But in 5250 you only see what is filtered by the workstation 5250.

Page 6: The RPG Dude - Episode 1 - Design

www.looksoftware.comwww.looksoftware.com

RPG preamble

With OA they could all be available.

Write format5Write format4Write format3Write format2Write format1

Remember the iceberg ? 5250 is the tip, OA is the

whole

Page 7: The RPG Dude - Episode 1 - Design

www.looksoftware.comwww.looksoftware.com

RPG preamble

And the UI could decide to show data fields formats through any UI components, and all in the same form.

Page 8: The RPG Dude - Episode 1 - Design

www.looksoftware.comwww.looksoftware.com

RPG preamble

With OA many formats can be exchanged between the RPG and the UI in a single transaction.

Many RPG/DDS formats1 RPG

Many UI components 1 form

1 I/O

Page 9: The RPG Dude - Episode 1 - Design

www.looksoftware.comwww.looksoftware.com

Now, let’s talk aboutThe RPG Dude

-and particularly aboutHis Design perspective

Page 10: The RPG Dude - Episode 1 - Design

www.looksoftware.comwww.looksoftware.com

The RPG Dude

He is under pressure…

So many apps to maintain and to develop…

Page 11: The RPG Dude - Episode 1 - Design

www.looksoftware.comwww.looksoftware.com

The RPG Dude

Here is his boss…

Page 12: The RPG Dude - Episode 1 - Design

www.looksoftware.comwww.looksoftware.com

The RPG Dude

Here is the customer…

Page 13: The RPG Dude - Episode 1 - Design

www.looksoftware.comwww.looksoftware.com

The RPG Dude

Our dude has to design new screens…

What are his tools ?

Page 14: The RPG Dude - Episode 1 - Design

www.looksoftware.comwww.looksoftware.com

The RPG Dude

SDA ?

Screen Design Aid ?

Aid ??

Page 15: The RPG Dude - Episode 1 - Design

www.looksoftware.comwww.looksoftware.com

The RPG Dude

RDi ?

SDA in eclipse ?

Aid ??

Page 16: The RPG Dude - Episode 1 - Design

www.looksoftware.comwww.looksoftware.com

The RPG Dude

Aid ?? No drag &

drop ?No UI Controls ?No Widgets ?No GUI properties ?

No “What You See Is What You Get” ?

nope…What You Get Is What You See

Page 17: The RPG Dude - Episode 1 - Design

www.looksoftware.comwww.looksoftware.com

The RPG Dude

This is not going to make our customer happy…

Page 18: The RPG Dude - Episode 1 - Design

www.looksoftware.comwww.looksoftware.com

The RPG Dude

Our dude tries hard any possible way to design new screens…

SDA, RDi, third party tools…

Page 19: The RPG Dude - Episode 1 - Design

www.looksoftware.comwww.looksoftware.com

The RPG Dude

Results are not what he was expecting…

The pressure increases…

Page 20: The RPG Dude - Episode 1 - Design

www.looksoftware.comwww.looksoftware.com

The RPG Dude

Must our dude end up like a bunny ?

Page 21: The RPG Dude - Episode 1 - Design

www.looksoftware.comwww.looksoftware.com

The RPG Dude

A condemned bunny ?…

Page 22: The RPG Dude - Episode 1 - Design

www.looksoftware.comwww.looksoftware.com

The RPG Dude

For ever ?

Page 23: The RPG Dude - Episode 1 - Design

www.looksoftware.comwww.looksoftware.com

The RPG Dude

That cannot be it…

A possibility HAS TO EXIST !

Page 24: The RPG Dude - Episode 1 - Design

www.looksoftware.comwww.looksoftware.com

The RPG Dude

A new solution ?A new paradigm ?

In the industry they call it looksoftware

Page 25: The RPG Dude - Episode 1 - Design

www.looksoftware.comwww.looksoftware.com

The RPG Dudelooksoftware IDE

Rich Designer, drag & drop, GUI controls, widgets….a full IDE!You can build new Forms with rich components for mobile, browser or desktop.

Page 26: The RPG Dude - Episode 1 - Design

www.looksoftware.comwww.looksoftware.com

The RPG Dudelooksoftware IDE

Save Form and generate XML-DDS

Save Form and generate XML-DDS

& RPG

Page 27: The RPG Dude - Episode 1 - Design

www.looksoftware.comwww.looksoftware.com

The RPG Dudelooksoftware IDE

Save Form and generate XML-DDS

<xml> <format name=‘fmt01’> <field name=‘fld01’ length=‘10’ type=‘A’/> <field name=‘fld02’ length=‘12’ type=‘A’/> <field name=‘fld03’ length=‘5’ type=‘S’/> </format> <format name=‘fmt02’> <field name=‘fld04’ length=‘12’ type=‘A’/> <field name=‘fld05’ length=‘5’ type=‘S’/> </format> …

Data field descriptions are represented in XML, simply grouped by <format>. This XML is the Open Access Metadata Open Standard (OAMOS) www.IBMiOA.com

Page 28: The RPG Dude - Episode 1 - Design

www.looksoftware.comwww.looksoftware.com

The RPG Dudelooksoftware IDE

Save Form and generate XML-DDS

DDS A R fmt01 A fld01 10 H A fld02 12 H A fld03 5 0 H

A R fmt02 A fld04 12 H A fld05 5 0 H …

With the XML, a DDS is automatically generated, no DDS keywords are needed, no positioning, no limits. (For grids we use 4 DDS keywords mandatory for SFL but that’s it!)

Page 29: The RPG Dude - Episode 1 - Design

www.looksoftware.comwww.looksoftware.com

The RPG Dudelooksoftware IDE

Save Form and generate XML-DDS

RPG fld01 = ’abc’; fld02 = ’xyz’; fld03 = ’123’; write fmt01;

fld04 = ’qwe’; fld05 = ’rty’; write fmt02; … read fmt01; (1st read triggers I/O to GUI) read fmt02; …

RPG is also generated, it can be used as a Unit-test for your form I/O or as a base for your business logic.RPG can then simply control any data fields or GUI attributes

Page 30: The RPG Dude - Episode 1 - Design

www.looksoftware.comwww.looksoftware.com

The RPG Dudelooksoftware IDE

Design time:

Runtime:

Designer XML DDS RPGOA

RPGOA XML UI

RPG compilation with OAOA handler - openlook

OA handler - openlookAnd everything will work with other RPG or 5250 or system displays.

Page 31: The RPG Dude - Episode 1 - Design

www.looksoftware.comwww.looksoftware.com

The RPG Dudelooksoftware IDE

Then our Dude can create a new Rich Form with the Design tool, save it, and control it directly in RPG. 1 Designer, 1 RPG, 1 Dude.

Save Form and generate XML-DDS

& RPG

Page 32: The RPG Dude - Episode 1 - Design

www.looksoftware.comwww.looksoftware.com

The RPG Dude

looksoftware IDE

IDE ?Insert Dude Empowerment

Page 33: The RPG Dude - Episode 1 - Design

www.looksoftware.comwww.looksoftware.com

The RPG Dude

And all of a sudden, our dude’s life changes.

Page 34: The RPG Dude - Episode 1 - Design

www.looksoftware.comwww.looksoftware.com

The RPG Dude

The customer becomes happy!

Page 35: The RPG Dude - Episode 1 - Design

www.looksoftware.comwww.looksoftware.com

The RPG Dude

His boss starts to have new ideas for the business!

Page 36: The RPG Dude - Episode 1 - Design

www.looksoftware.comwww.looksoftware.com

The RPG Dude

Our dude starts to have a lot of fans!

Page 37: The RPG Dude - Episode 1 - Design

www.looksoftware.comwww.looksoftware.com

The RPG Dude

His brother comes to see him, which hadn’t happened in a very long time!

Page 38: The RPG Dude - Episode 1 - Design

www.looksoftware.comwww.looksoftware.com

The RPG Dude

Young dudes start to follow his path!

Page 39: The RPG Dude - Episode 1 - Design

www.looksoftware.comwww.looksoftware.com

The RPG Dude

People want to meet him!

Page 40: The RPG Dude - Episode 1 - Design

www.looksoftware.comwww.looksoftware.com

The RPG Dude

He can finally express many of his real potentials!

Page 41: The RPG Dude - Episode 1 - Design

www.looksoftware.comwww.looksoftware.com

The RPG Dude

He can finally express many of his real potentials!

ooops!This is private info

Page 42: The RPG Dude - Episode 1 - Design

www.looksoftware.comwww.looksoftware.com

The RPG Dude

In some countries they start to worship him!

Page 43: The RPG Dude - Episode 1 - Design

www.looksoftware.comwww.looksoftware.com

The RPG Dude

And now, our RPG dude has a happy life.

Page 44: The RPG Dude - Episode 1 - Design

www.looksoftware.comwww.looksoftware.com

The RPG Dude

“Thank you looksoftware!”

He just sent us a postcard.

Page 45: The RPG Dude - Episode 1 - Design

www.looksoftware.comwww.looksoftware.com

The RPG Dude

The part I prefer is when his brother came to see him…