SlideShare a Scribd company logo
1 of 26
The RPG Dude 
and Open Display Files 
2 
GUI Properties Control 
(DOM Control) 
Pascal Polverini 
Take a seat while the meeting starts…
RPG preamble 
To design an interactive program you have to create 
a display and then create a RPG pgm to reference it 1 
You can use SDA, RDp or a third party tool to design 
the display 
You can use PDM or RDp to code the RPG 
2 
3
RPG preamble 
To design the display: 
• You can design a display within a 5250 environment 
Or 
• You can design a rich open display (mobile, browser, 
desktop) 
In 5250 environment, the design possibilities are limited 
and a DDS format is directly produced for the display 
description. 
In open environment, the design possibilities are wider as 
open formats can be used for the display description to 
incorporate rich UI elements and capacities.
RPG preamble 
Display layout/attributes control 
5250 
DSPF 
DDS 
RPG 
indicators 
Open 
DSPF 
DOM 
?
RPG preamble 
Display layout/attributes control 
Open 
DSPF 
DOM 
? 
The control of the DOM could 
be: 
• Local (in JavaScript for 
browser)? 
• Central (in RPG)? 
• Monitored with another 
field, visible or hidden? 
• Monitored with indicators?
RPG preamble 
Display layout/attributes control 
The control of the DOM could 
be: 
• Local (in JavaScript for 
browser) 
• Central (in RPG) 
• Monitored with another 
field, visible or hidden 
• Monitored with indicators 
Bad because business 
logic will be split in 
different locations, 
central and local: hard 
to maintain. 
Bad because indicators 
are limited in meaning 
and numbers.
RPG preamble 
Display layout/attributes control 
The control of the DOM could 
be: 
• Local (in JavaScript for 
browser) 
• Central (in RPG) 
• Monitored with another 
field, visible or hidden 
• Monitored with indicators 
Ideally what we want is 
the possibility to control 
the all DOM directly in 
RPG with simple fields. 
Like “This RPG field controls 
the address of an image” or 
this other controls the 
visibility or focus of a tab or 
the content of a combo-list!
Now, let’s talk about 
The RPG Dude 
- 
and particularly about 
His Open display file perspective
The RPG Dude 
You remember him… 
Still the same with so 
many applications to 
maintain and to develop…
The RPG Dude 
Here is his boss, who 
loves GUI properties 
control, but loves even 
more, Market 
properties control!
The RPG Dude 
And before going to 
show you the 
customer… 
I will present you…
The RPG Dude 
The GUI Dude! 
Who is hidden here, 
but he’s got the power 
to it make rain or shine 
for your UI app! 
Lets call him the 
“Hidden GUI Dude”
The RPG Dude 
Then, our RPG Dude has to 
control the all DOM 
(Any display fields or 
control layout/properties)… 
With simple fields in RPG! 
?
The RPG Dude 
And this, without him 
having to do weird 
things… 
Or to mutate himself
The RPG Dude 
Or to charm anyone… 
“Venus Vedi Vinci” ? 
Nope…Venus and you don’t want to Vedi!
The RPG Dude 
Does such a solution exist? 
To use simple, native RPG 
fields… to control any GUI 
properties. Could it be the 
almighty DOM ???
The RPG Dude 
Well, we have our 
Hidden GUI Dude! 
The Dude who’s got 
the power to make 
rain or shine ?!!
The RPG Dude 
And he had an idea!
The RPG Dude 
And he had an idea! 
Create mapping 
between your RPG field 
and the GUI property 
you want to control.
The RPG Dude 
For example: 
My RPG field 
prodImage 
mapped to 
myImg.Picture which 
represents the Address 
property of the image 
myImg.
The RPG Dude 
For example: 
My RPG field 
prodList 
mapped to 
myCombo.List which 
represents the List 
property of the combo-box 
myCombo.
The RPG Dude 
For example: 
My RPG field 
tabFocus 
mapped to 
myTab.ActivePageIndex 
which represents the 
index of which tabPage 
has the focus.
The RPG Dude 
For example: 
A default value can optionally be indicated but 
the point is that the RPG can control the 
property dynamically and at every I/O. 
And the RPG could also 
read any property value! 
Noooo really? Wow !!
The RPG Dude 
In the next 
episode, 
we will talk about 
DB reference !
The RPG Dude 
It should be a series on TV now? 
Didn’t they say they were going 
to show us the customer?
Learn more about Open Display Files: 
View a recent webinar on Open Display Files: 
http://go.looksoftware.com/open-display-files-deep-dive-slideshare 
Learn about our solution with Open Display Files: 
http://go.looksoftware.com/version-101-info-page-slideshare 
www.looksoftware.com

More Related Content

Viewers also liked

The role of ICT in bridge-building and social inclusion: theory, policy and p...
The role of ICT in bridge-building and social inclusion: theory, policy and p...The role of ICT in bridge-building and social inclusion: theory, policy and p...
The role of ICT in bridge-building and social inclusion: theory, policy and p...syaabdulrahman
 
Xml representation oftextspecifications
Xml representation oftextspecificationsXml representation oftextspecifications
Xml representation oftextspecificationsusert098
 
Practicing transformational leadership-jojonitural
Practicing transformational leadership-jojonituralPracticing transformational leadership-jojonitural
Practicing transformational leadership-jojonituraljojonitural20
 
Ministerul sanatatii din republica moldoldova
Ministerul sanatatii din republica moldoldovaMinisterul sanatatii din republica moldoldova
Ministerul sanatatii din republica moldoldovaDenis Lanciu
 
гарабажиу и федоришин
гарабажиу и федоришингарабажиу и федоришин
гарабажиу и федоришинDenis Lanciu
 
Task 3 analysis of film trailer
Task 3   analysis of film trailerTask 3   analysis of film trailer
Task 3 analysis of film trailerBeadyEye_95
 
đề Tài báo cáo tuần 1
đề Tài báo cáo tuần 1đề Tài báo cáo tuần 1
đề Tài báo cáo tuần 1vandufc
 
Báo Cáo Cuối Khóa
Báo Cáo Cuối KhóaBáo Cáo Cuối Khóa
Báo Cáo Cuối KhóaLy ND
 
GAPIT Communications
GAPIT CommunicationsGAPIT Communications
GAPIT Communicationshadiep
 
крымская война.
крымская война.крымская война.
крымская война.yuliabykova
 
Microsoft power point presentation
Microsoft power point presentationMicrosoft power point presentation
Microsoft power point presentationDenis Lanciu
 

Viewers also liked (18)

The role of ICT in bridge-building and social inclusion: theory, policy and p...
The role of ICT in bridge-building and social inclusion: theory, policy and p...The role of ICT in bridge-building and social inclusion: theory, policy and p...
The role of ICT in bridge-building and social inclusion: theory, policy and p...
 
Xml representation oftextspecifications
Xml representation oftextspecificationsXml representation oftextspecifications
Xml representation oftextspecifications
 
Practicing transformational leadership-jojonitural
Practicing transformational leadership-jojonituralPracticing transformational leadership-jojonitural
Practicing transformational leadership-jojonitural
 
Unforgettable story
Unforgettable storyUnforgettable story
Unforgettable story
 
Operations
OperationsOperations
Operations
 
Ministerul sanatatii din republica moldoldova
Ministerul sanatatii din republica moldoldovaMinisterul sanatatii din republica moldoldova
Ministerul sanatatii din republica moldoldova
 
гарабажиу и федоришин
гарабажиу и федоришингарабажиу и федоришин
гарабажиу и федоришин
 
Task 3 analysis of film trailer
Task 3   analysis of film trailerTask 3   analysis of film trailer
Task 3 analysis of film trailer
 
Wiermii paraziti
Wiermii parazitiWiermii paraziti
Wiermii paraziti
 
đề Tài báo cáo tuần 1
đề Tài báo cáo tuần 1đề Tài báo cáo tuần 1
đề Tài báo cáo tuần 1
 
Báo Cáo Cuối Khóa
Báo Cáo Cuối KhóaBáo Cáo Cuối Khóa
Báo Cáo Cuối Khóa
 
GAPIT Communications
GAPIT CommunicationsGAPIT Communications
GAPIT Communications
 
Tieng anh [repaired]
Tieng anh [repaired]Tieng anh [repaired]
Tieng anh [repaired]
 
крымская война.
крымская война.крымская война.
крымская война.
 
20160309.gitva
20160309.gitva20160309.gitva
20160309.gitva
 
DUBAI
DUBAIDUBAI
DUBAI
 
Evoluzione
Evoluzione Evoluzione
Evoluzione
 
Microsoft power point presentation
Microsoft power point presentationMicrosoft power point presentation
Microsoft power point presentation
 

Similar to The RPG Dude on Open Display File Technology for your IBM i - GUI - DOM Control

The RPG Dude - Episode 1 - Design
The RPG Dude - Episode 1 - DesignThe RPG Dude - Episode 1 - Design
The RPG Dude - Episode 1 - Designlooksoftware
 
GFX Part 7 - Introduction to Rendering Targets in OpenGL ES
GFX Part 7 - Introduction to Rendering Targets in OpenGL ESGFX Part 7 - Introduction to Rendering Targets in OpenGL ES
GFX Part 7 - Introduction to Rendering Targets in OpenGL ESPrabindh Sundareson
 
Introduction of Tools for providing rich user experience in debugger
Introduction of Tools for providing rich user experience in debuggerIntroduction of Tools for providing rich user experience in debugger
Introduction of Tools for providing rich user experience in debuggerNaoto Ono
 
NanoSec Conference 2019: Code Execution Analysis in Mobile Apps - Abdullah Jo...
NanoSec Conference 2019: Code Execution Analysis in Mobile Apps - Abdullah Jo...NanoSec Conference 2019: Code Execution Analysis in Mobile Apps - Abdullah Jo...
NanoSec Conference 2019: Code Execution Analysis in Mobile Apps - Abdullah Jo...Hafez Kamal
 
Android game development
Android game developmentAndroid game development
Android game developmentmilandinic
 
The RPG Dude - Episode 3 - Integration
The RPG Dude - Episode 3 - IntegrationThe RPG Dude - Episode 3 - Integration
The RPG Dude - Episode 3 - Integrationlooksoftware
 
Hacking for Salone: Drone Races - Di Saverio; Lippolis - Codemotion Milan 2016
Hacking for Salone: Drone Races - Di Saverio; Lippolis - Codemotion Milan 2016Hacking for Salone: Drone Races - Di Saverio; Lippolis - Codemotion Milan 2016
Hacking for Salone: Drone Races - Di Saverio; Lippolis - Codemotion Milan 2016Codemotion
 
Android Lollipop and Material Design
Android Lollipop and Material DesignAndroid Lollipop and Material Design
Android Lollipop and Material DesignJames Montemagno
 
OpenGL Introduction
OpenGL IntroductionOpenGL Introduction
OpenGL IntroductionYi-Lung Tsai
 
Oh the compilers you'll build
Oh the compilers you'll buildOh the compilers you'll build
Oh the compilers you'll buildMark Stoodley
 
Top Tips Every Notes Developer Needs To Know
Top Tips Every Notes Developer Needs To KnowTop Tips Every Notes Developer Needs To Know
Top Tips Every Notes Developer Needs To KnowKathy Brown
 
Bdd agile requirements
Bdd agile requirementsBdd agile requirements
Bdd agile requirementsAgile Vietnam
 
仕様決定、部品化、ディレクションがなぜ重要か
仕様決定、部品化、ディレクションがなぜ重要か仕様決定、部品化、ディレクションがなぜ重要か
仕様決定、部品化、ディレクションがなぜ重要かKohei Otsuka
 
Android design lecture #3
Android design   lecture #3Android design   lecture #3
Android design lecture #3Vitali Pekelis
 

Similar to The RPG Dude on Open Display File Technology for your IBM i - GUI - DOM Control (20)

The RPG Dude - Episode 1 - Design
The RPG Dude - Episode 1 - DesignThe RPG Dude - Episode 1 - Design
The RPG Dude - Episode 1 - Design
 
LO1 - Lesson 4 - Software
LO1 - Lesson 4 - SoftwareLO1 - Lesson 4 - Software
LO1 - Lesson 4 - Software
 
LO1 - Lesson 3 - Software
LO1 - Lesson 3 - SoftwareLO1 - Lesson 3 - Software
LO1 - Lesson 3 - Software
 
GFX Part 7 - Introduction to Rendering Targets in OpenGL ES
GFX Part 7 - Introduction to Rendering Targets in OpenGL ESGFX Part 7 - Introduction to Rendering Targets in OpenGL ES
GFX Part 7 - Introduction to Rendering Targets in OpenGL ES
 
Introduction of Tools for providing rich user experience in debugger
Introduction of Tools for providing rich user experience in debuggerIntroduction of Tools for providing rich user experience in debugger
Introduction of Tools for providing rich user experience in debugger
 
NanoSec Conference 2019: Code Execution Analysis in Mobile Apps - Abdullah Jo...
NanoSec Conference 2019: Code Execution Analysis in Mobile Apps - Abdullah Jo...NanoSec Conference 2019: Code Execution Analysis in Mobile Apps - Abdullah Jo...
NanoSec Conference 2019: Code Execution Analysis in Mobile Apps - Abdullah Jo...
 
Android game development
Android game developmentAndroid game development
Android game development
 
Redmine @ Mippin
Redmine @ MippinRedmine @ Mippin
Redmine @ Mippin
 
The RPG Dude - Episode 3 - Integration
The RPG Dude - Episode 3 - IntegrationThe RPG Dude - Episode 3 - Integration
The RPG Dude - Episode 3 - Integration
 
LO1 - Lesson 5 - Software
LO1 - Lesson 5 - SoftwareLO1 - Lesson 5 - Software
LO1 - Lesson 5 - Software
 
Hacking for Salone: Drone Races - Di Saverio; Lippolis - Codemotion Milan 2016
Hacking for Salone: Drone Races - Di Saverio; Lippolis - Codemotion Milan 2016Hacking for Salone: Drone Races - Di Saverio; Lippolis - Codemotion Milan 2016
Hacking for Salone: Drone Races - Di Saverio; Lippolis - Codemotion Milan 2016
 
Android Lollipop and Material Design
Android Lollipop and Material DesignAndroid Lollipop and Material Design
Android Lollipop and Material Design
 
Yahoo @ Nike
Yahoo @ NikeYahoo @ Nike
Yahoo @ Nike
 
OpenGL Introduction
OpenGL IntroductionOpenGL Introduction
OpenGL Introduction
 
Oh the compilers you'll build
Oh the compilers you'll buildOh the compilers you'll build
Oh the compilers you'll build
 
Hacking for salone: drone races
Hacking for salone: drone racesHacking for salone: drone races
Hacking for salone: drone races
 
Top Tips Every Notes Developer Needs To Know
Top Tips Every Notes Developer Needs To KnowTop Tips Every Notes Developer Needs To Know
Top Tips Every Notes Developer Needs To Know
 
Bdd agile requirements
Bdd agile requirementsBdd agile requirements
Bdd agile requirements
 
仕様決定、部品化、ディレクションがなぜ重要か
仕様決定、部品化、ディレクションがなぜ重要か仕様決定、部品化、ディレクションがなぜ重要か
仕様決定、部品化、ディレクションがなぜ重要か
 
Android design lecture #3
Android design   lecture #3Android design   lecture #3
Android design lecture #3
 

Recently uploaded

Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAndikSusilo4
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?XfilesPro
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 

Recently uploaded (20)

Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & Application
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 

The RPG Dude on Open Display File Technology for your IBM i - GUI - DOM Control

  • 1. The RPG Dude and Open Display Files 2 GUI Properties Control (DOM Control) Pascal Polverini Take a seat while the meeting starts…
  • 2. RPG preamble To design an interactive program you have to create a display and then create a RPG pgm to reference it 1 You can use SDA, RDp or a third party tool to design the display You can use PDM or RDp to code the RPG 2 3
  • 3. RPG preamble To design the display: • You can design a display within a 5250 environment Or • You can design a rich open display (mobile, browser, desktop) In 5250 environment, the design possibilities are limited and a DDS format is directly produced for the display description. In open environment, the design possibilities are wider as open formats can be used for the display description to incorporate rich UI elements and capacities.
  • 4. RPG preamble Display layout/attributes control 5250 DSPF DDS RPG indicators Open DSPF DOM ?
  • 5. RPG preamble Display layout/attributes control Open DSPF DOM ? The control of the DOM could be: • Local (in JavaScript for browser)? • Central (in RPG)? • Monitored with another field, visible or hidden? • Monitored with indicators?
  • 6. RPG preamble Display layout/attributes control The control of the DOM could be: • Local (in JavaScript for browser) • Central (in RPG) • Monitored with another field, visible or hidden • Monitored with indicators Bad because business logic will be split in different locations, central and local: hard to maintain. Bad because indicators are limited in meaning and numbers.
  • 7. RPG preamble Display layout/attributes control The control of the DOM could be: • Local (in JavaScript for browser) • Central (in RPG) • Monitored with another field, visible or hidden • Monitored with indicators Ideally what we want is the possibility to control the all DOM directly in RPG with simple fields. Like “This RPG field controls the address of an image” or this other controls the visibility or focus of a tab or the content of a combo-list!
  • 8. Now, let’s talk about The RPG Dude - and particularly about His Open display file perspective
  • 9. The RPG Dude You remember him… Still the same with so many applications to maintain and to develop…
  • 10. The RPG Dude Here is his boss, who loves GUI properties control, but loves even more, Market properties control!
  • 11. The RPG Dude And before going to show you the customer… I will present you…
  • 12. The RPG Dude The GUI Dude! Who is hidden here, but he’s got the power to it make rain or shine for your UI app! Lets call him the “Hidden GUI Dude”
  • 13. The RPG Dude Then, our RPG Dude has to control the all DOM (Any display fields or control layout/properties)… With simple fields in RPG! ?
  • 14. The RPG Dude And this, without him having to do weird things… Or to mutate himself
  • 15. The RPG Dude Or to charm anyone… “Venus Vedi Vinci” ? Nope…Venus and you don’t want to Vedi!
  • 16. The RPG Dude Does such a solution exist? To use simple, native RPG fields… to control any GUI properties. Could it be the almighty DOM ???
  • 17. The RPG Dude Well, we have our Hidden GUI Dude! The Dude who’s got the power to make rain or shine ?!!
  • 18. The RPG Dude And he had an idea!
  • 19. The RPG Dude And he had an idea! Create mapping between your RPG field and the GUI property you want to control.
  • 20. The RPG Dude For example: My RPG field prodImage mapped to myImg.Picture which represents the Address property of the image myImg.
  • 21. The RPG Dude For example: My RPG field prodList mapped to myCombo.List which represents the List property of the combo-box myCombo.
  • 22. The RPG Dude For example: My RPG field tabFocus mapped to myTab.ActivePageIndex which represents the index of which tabPage has the focus.
  • 23. The RPG Dude For example: A default value can optionally be indicated but the point is that the RPG can control the property dynamically and at every I/O. And the RPG could also read any property value! Noooo really? Wow !!
  • 24. The RPG Dude In the next episode, we will talk about DB reference !
  • 25. The RPG Dude It should be a series on TV now? Didn’t they say they were going to show us the customer?
  • 26. Learn more about Open Display Files: View a recent webinar on Open Display Files: http://go.looksoftware.com/open-display-files-deep-dive-slideshare Learn about our solution with Open Display Files: http://go.looksoftware.com/version-101-info-page-slideshare www.looksoftware.com