Mobile Web from the RPG and Dojo Perspectives

Similar documents
Create-A-Page Design Documentation

Unveiling Zend Studio 8.0

JSON and COBOL. Tom Ross Captain COBOL GSE Nordic Reykjavik June 3, 2016

Packaging for Websphere Development Studio was changed with V6R1.

IBM JZOS Meets Web 2.0

From RPG OA to PHP: IBM i Modernization and Mobile Approaches

31CM From RPG OA to Node.js Modernization and Mobile. Presented by: Greg Patterson Senior Sales Engineer Fresche Solutions May 9, 2017

Profound.js. Future of open source development on IBM i. Alex Roytman Profound Logic

The course also includes an overview of some of the most popular frameworks that you will most likely encounter in your real work environments.

Improve Web Application Performance with Zend Platform

Zend Framework. Jerome Hughes Consultant

IBM Forms Experience Builder

Looking Inside the Developer s Toolkit: Web Services for Everyday RPG Consumption. Charles Guarino XML. Charles Guarino

Introduction to Sencha Ext JS

IBM i: JOURNEY TO THE CENTER OF THE CLOUD

Review of Mobile Web Application Frameworks

RAD Studio Product Address

XPages development practices: developing a common Tree View Cust...

IBM Mainframe Makeover: What Powers your Mobile Applications and Smart Phones?

Assignment #3 CSCI 201 Spring % of course grade Title Weathermeister Back-End API Integration

CHOOSING THE RIGHT HTML5 FRAMEWORK To Build Your Mobile Web Application

INDEX. Note: Boldface numbers indicate illustrations 333

Webservices In Java Tutorial For Beginners Using Netbeans Pdf

,

Composer Guide for JavaScript Development

PHP 6 & The PHP Collaboration Project Present & Future. Zeev Suraski Co-founder & CTO, Zend Technologies Co-architect of PHP

Using the Computer Programming Environment

P a g e 1. Danish Technological Institute. Scripting and Web Languages Online Course k Scripting and Web Languages

How Does RPG Talk to a Browser? Paul Tuohy. Copyright ComCon, ComCon. 5, Oakton Court Ballybrack Co. Dublin Ireland

Getting Started with the Portal Toolkit Java Debugger for WebSphere Studio V5.01

RAD Studio XE Datasheet

Hello, my name is Cara Daly, I am the Product Marketing Manager for Polycom Video Content Management Solutions. Today we will be going over the

.NET-Technologies COURSE SYLLABUS. Industrial Training. PH : , Vazhoor Road Changanacherry-01

Supported Platforms for Alfresco Workdesk 4.x

RPG & PHP REST SERVICES WITH APIGILITY. Chuk Shirley Sabel Steel Service Club Seiden

Delphi Day, June Delphi 10 Tokyo for Windows 10 and More

Break Through Your Software Development Challenges with Microsoft Visual Studio 2008

AIM Enterprise Platform Software IBM z/transaction Processing Facility Enterprise Edition 1.1.0

Beginning jquery. Course Outline. Beginning jquery. 09 Mar

A Modern Programmers Tool Set: CODE

ASP.NET Using C# (VS2017)

today what is this course about? what is this course about? Welcome to CSC309! Programming on the Web APRIL 05

IBM Worklight V5.0.6 Getting Started

Tutorial: Maintaining an ILE COBOL application: Introducing a new level of server tool integration for iseries application development

Hands On, Instructor-Led IT Courses Across Colorado

Introduction and Overview

Etanova Enterprise Solutions

202 Index. Data dictionary, 25 Data items defined, 25 overview, 26 Data Language/I (DL/I), 7 Data parts, 25 Data tables compared to dictionaries, 33

Mix It Up: Visual Studio 2010 and ASP.NET 4.0. Singapore 25 March 2009

Technology in Action. Alan Evans Kendall Martin Mary Anne Poatsy. Eleventh Edition. Copyright 2015 Pearson Education, Inc.

System i CGI Toolkits

EPHP a tool for learning the basics of PHP development. Nick Whitelegg School of Media Arts and Technology Southampton Solent University

This is a sample chapter from Brad Stone s training e-rpg Powertools Stone on CGIDEV2 Get your copy of this important training now.

Exploring.Net Orcas. Contents. By Punit Ganshani

A mobile campus project

ASP.NET- Enterprise Applications

IBM Rational Business Developer (RBD) is a development environment that

SharePoint 2013 Developer

Mobile Technologies. Types of Apps

IBM Education Assistance for z/os V2R3

Getting Started with the ArcGIS Server JavaScript API

Advanced PHP and MySQL

IBM Skills Academy. For <<Academy>> Career-based Education

ASNA Case Study. ASNA Wings: Re-imagining Modernization at INFOCON Both Ways. Leaders in IBM i Modernization

Event : Common Europe Speaker : Koen Decorte CD-Invest nv

Introduction to RESTful Web Services. Presented by Steve Ives

20486-Developing ASP.NET MVC 4 Web Applications

Document Version Number: 1.0 Publication Date: August 2010 Review Date: August 2010 Type: Instructional Security Classification Classified

"Charting the Course... WebSphere Portal 8 Development using Rational Application Developer 8.5. Course Summary

New Face of z/os Communications Server: V2R1 Configuration Assistant

Ftp Connecting Command Prompt To Sql Server 2008 Via

Getting Started with the ArcGIS API for JavaScript. Julie Powell, Paul Hann

Maintain an ILE RPG application using Remote System Explorer

Manual Visual Studio 2010 Web Developer Tools 2012 Professional

LEGACY SYSTEMS MODERNIZATION SERVICES.

Improve and Expand JavaServer Faces Technology with JBoss Seam

XML Processing & Web Services. Husni Husni.trunojoyo.ac.id

FULL STACK FLEX PROGRAM

Electronic Medical Records and Javascript Object Notation(JSON) DR. EVREN ERYILMAZ CALIFORNIA STATE UNIVERSITY SACRAMENTO 10/24/2016

Web Services Hans-Petter Halvorsen

Firefox for Android. Reviewer s Guide. Contact us:

REST Easy with Infrared360

ASNA Product Review. RPG Display Modernization Gets Wings. Leaders in IBM i Modernization

Contents. Acknowledgments Introduction

Introduction Haim Michael. All Rights Reserved.

Assignment: Seminole Movie Connection

AD406: What s New in Digital Experience Development with IBM Web Experience Factory

TDMobile Architecture & Overview of the TD Mobile IDE. Horst de Lorenzi

Rational Update for IBM i

Getting started with Convertigo Mobilizer

Connecting the Dots. Building Web Applications with PHP, HTML, CSS, and JavaScript

Cleveland State University Department of Electrical and Computer Engineering. CIS 408: Internet Computing

PHP Debugging from A to Z (Apache to Zend) Stephanie Rabbani

The Modern Web Access Management Platform from on-premises to the Cloud

UNIT-II : VIRTUALIZATION & COMMON STANDARDS IN CLOUD COMPUTING

DESIGN AND IMPLEMENTATION OF SAGE DISPLAY CONTROLLER PROJECT

FULL STACK FLEX PROGRAM

AJAX. Lab. de Bases de Dados e Aplicações Web MIEIC, FEUP 2010/11. Sérgio Nunes

Ibm As400 Manuals READ ONLINE

The Dojo Ecosystem: How Open-Source and Commercial Succeed Together

Transcription:

Mobile Web from the RPG and Dojo Perspectives IBM has adopted the open-source Dojo toolkit as its internal standard! Is Open Source relevant to the IBM ILE community? How does Open Source Web and ILE work together? How good is RPG as a Web Server Language? What techniques does the RPG Programmer need to master? How does IBM promote ILE to the Web Technologies?

ILE-Web RPG & Dojo PC/Mac/Laptop RPG User Experience tg ******** 1 3 2

ILE-Web RPG & Dojo ipad/iphone RPG User Experience 1 3 5 2 4

ILE-Web RPG & Dojo Technologies to Master RPG Programmer The RPG Programmer does not need to become a Web Expert, but he needs to understand the Web Message Formats, and master the newer RPG language features. (V5R4 and newer) Awareness of (Apache) QHTTPSVR Subsystem Familiarity with IBM API s Pointers, User Spaces, Data Queues Work with IFS Files and Directories ILE Concepts Service Programs Procedures Binder Language Rational Tools and Editors (WDSC,RDP) RPG Free Form Qualified Data Structures JSON Data Structures

ILE-Web RPG & Dojo What is Qualified Data Structures? RPG Programmer D zapinullptr S * D zapisys DS qualified based(zapinullptr) D login likeds(zapisyslogin) D job likeds(zapisysjob) D env likeds(zapisysenv) D ifs likeds(zapisysifs) D zapisyslogin DS qualified based(zapinullptr) D action 8A D client 10A D nav likeds(zapisysnav) D host likeds(zapisyshost) D zapisysnav DS qualified based(zapinullptr) D browser 10A D platform 10A D language 10A Example Use: login.nav.platform = Win32 ;

ILE-Web RPG & Dojo What is JSON? RPG Programmer www.json.org JavaScript Object Notation Lightweight data-interchange format Easy for humans to read and write Easy for machines to parse and generate Programming language independent Structures Collection of name/value pairs (associative array) Ordered list of values (array, vector, list)

ILE-Web RPG & Dojo JSON Name/Value Pairs RPG Programmer IFS Web Content { "errcode": "OK", "errmsg": " Everything is fine", "javascript": "loginserver", nav: { "browser": "chrome", "platform": "Win32", "language": "en-us", "cookies": "true", "protocol": "http:", "username": "TG } }

ILE-Web RPG & Dojo JSON Array RPG Programmer IFS Web Content { } identifier: "rrn", items: [ {rrn: 1, "U2STAT": "AZ", "U2DESC": "Arizona"}, { rrn: 2, "U2STAT": "CA", "U2DESC": "California"}, { rrn: 4, "U2STAT": "FL", "U2DESC": "Florida"}, {rrn: 5, "U2STAT": "GA", "U2DESC": "Georgia"}, { rrn: 20, "U2STAT": "VA", "U2DESC": "Virgina"} ]

ILE-Web RPG & Dojo RPG Sample Program Syntax RPG Programmer Procedure: Main() gsysptr = HZA_GetSysPtr(); // Read JSON Document gsys.ifs.desc = HZI_OpenFile(%trim(gSys.ifs.path): 'READ '); jsonstring = HZI_ReadFile (gsys.ifs.desc); gsys.ifs.rtnc = HZI_CloseFile (gsys.ifs.desc); if Z_ChkSettings() = -1; return; endif; jsonbase glogin.nav.userid JZK_GetNode('nav'); glogin.client glogin.nav.browser. return; = JZD_GetInput(jsonString); = %trim(%xlate(glo: gup: jsonbase.userid)); = JZK_GetAttribute('client'); = JZK_GetAttribute('browser');

ILE-Web RPG & Dojo ILE Enhancements to Consider IBM Rational To make RPG even better, IBM should modestly increase funding for RPG compiler and tooling, and use the additional funds to: Finish the /Free Project (D,P,E Specs) Enhance API Include Library QSYSINC QSYSINCQDS (QDS = Qualified Data Structures) could be built in functions in the future Enhance RPG Conversion utilities CVTRPGSRC = Convert from RPG/400 RDP Convert Source to Free Format Educate the ILE community How to use the new API Include Library How to use IBM state of the art Web Tools Tell the community that RPG is not a 5250/DDS only language These enhancements would benefit the ILE environment, and would potentially make RPG a main stream language, which of course would be good business for IBM.

Open Source Toolkits Reside inside the browser Event Driven HTTP Technology: AJAX Message Formats: JSON/XML JavaScript Object Notation Extensible Markup Language

Toolkits www.jquery.com First release in 2006 Most popular library in use today Free, open source software Good for creating Websites Microsoft bundles jquery on their platforms Visual Studio ASP.NET Framework

Toolkits www.sencha.com previously EXTJS Multiple products, not all are free Sencha Touch, first mobile framework Some Interest in the AS/400 community http://openrpgui.com/ http://cnxcorp.com/valence/

Toolkits Official IBM support The Dojo Foundation, non-profit org. Free, open source software Comprehensive functionality Great for creating Web Applications Active Release Schedule Improved Documentation Incorporated into Zend Framework

Why Dojo? www.dojotoolkit.org

Why Dojo? With hundreds of proprietary and open Ajax implementations available, developers and architects are faced with yet another tough technology adoption challenge. The question is which Ajax platform will emerge as an enterprise standard. IBM has adopted the open-source Dojo toolkit (dojotoolkit.org) as its internal standard, is a key contributor to the Dojo project, and a committed member of the Dojo Foundation. The IBM commitments to the Dojo project include enterprise features such as internationalization, data binding, and accessibility support.

Why Dojo? The WebSphere Application Server Web 2.0 and Mobile Feature Pack uses standards-based technologies to help developers create more connected, interactive desktop and mobile applications. Standards-based technologies, including Ajax, REST Web services, and Dojo, are used to simplify and speed the addition of rich desktop and mobile user interfaces to WebSphere Application Server applications.

Why Dojo? http://devzone.zend.com/article/3545

Newest Dojo

Newest Dojo

Newest Dojo

Newest Dojo

Mobile Showcase - ipad

Mobile Showcase - iphone

Mobile Showcase - Android

ILE-Web RPG & Dojo Model-View-Controller Architecture Separation of Concerns Each Component can be developed independent of each other.

ILE-Web RPG & Dojo OPM/ILE Legacy Systems Architecture View Controller 5 2 5 0 Model DB2 Corporate Data ILE RPG or COBOL Business Logic With or Without API s

ILE-Web RPG & Dojo WEB from the ILE Perspective Architecture View J Controller HTTP: Stateless RPG-ILE or PHP-ZEND IFS S Model DB2 Corporate Data ILE: Stateful RPG or COBOL Business Logic With API s Web Content O N

ILE-Web RPG & Dojo 8 Step Workflow View Controller 1 IBM Web Server (Stateless) 8 wrkactjob IFS Steps: 2,3,4 + ILE Programs: HWEBHTP* 2 Keyed Data Queues IN 3 4 OUT Model Steps: 5,6,7 Listeners ILE Business Logic (Stateful) 5 7 wrkactjob 6 DB2 Corporate Data

ILE-Web RPG & Dojo Summary www.hugmar.com For more information about the subject matter of this session, please contact Throstur Gudmundsson: tg@hugmar.com www.amcuatlanta.com AMCU Atlanta, a COMMON user group, will be hosting a series of labs to introduce its members to Open Source Toolkits, and how they can effectively work with the ILE environment.