+ All Categories
Home > Documents > Technology jumptstart final 2017 rev 12 for COMMON … Developer... · &rs\uljkw &hqwudo 3dun 'dwd...

Technology jumptstart final 2017 rev 12 for COMMON … Developer... · &rs\uljkw &hqwudo 3dun 'dwd...

Date post: 30-Apr-2018
Category:
Upload: vudat
View: 217 times
Download: 4 times
Share this document with a friend
41
Copyright Central Park Data Systems Inc 1 Charles Guarino Application Developer Modernization Jump Start Central Park Data Systems, Inc. @charlieguarino What We’ll Cover … Think like a manager Modern tooling All about SQL The “lowly” service program All about JSON Blockchain IBM Watson Wrap Up
Transcript

Copyright Central Park Data Systems Inc 1

Charles Guarino

Application Developer Modernization Jump Start

Central Park Data Systems, Inc.@charlieguarino

What We’ll Cover …

• Think like a manager

• Modern tooling

• All about SQL

• The “lowly” service program

• All about JSON

• Blockchain

• IBM Watson

• Wrap Up

Copyright Central Park Data Systems Inc 2

Think like a manager

Understand Technical Debt

“… a concept in software development that reflects the implied cost of additional rework caused by choosing an easy solution now instead of using a better approach that would take longer. “

https://en.wikipedia.org/wiki/Technical_debt

Copyright Central Park Data Systems Inc 3

Have a new project? SWOT it!

Have a new project? SWOT it!

Strengths

Weaknesses

Opportunities

Threats

Copyright Central Park Data Systems Inc 4

Change management

The Leavitt Diamond

What We’ll Cover …

• Think like a manager

• Modern tooling

• All about SQL

• The “lowly” service program

• All about JSON

• Blockchain

• IBM Watson

• Wrap Up

Copyright Central Park Data Systems Inc 5

Eclipse Open Source Community

Rational Developer for i Source Code Maintenance

Copyright Central Park Data Systems Inc 6

Rational Developer for i Program Debugging

Rational Developer for i Code Coverage

Executed code by procedure

Copyright Central Park Data Systems Inc 7

Rational Developer for i Code Coverage

Executed code by lines of code

Rational Developer for i – Code Refactoring

Copyright Central Park Data Systems Inc 8

Rational Developer for i – Code Refactoring

Rational Developer for i – Code Refactoring

Copyright Central Park Data Systems Inc 9

Plug ins - iSphere

Plug ins – eGIT – From Eclipse Marketplace

Copyright Central Park Data Systems Inc 10

Using Git and RDi step by step

http://ibm.biz/rdi_wiki

IBM Navigator for i hostname:2001

Copyright Central Park Data Systems Inc 11

IBM Navigator for i

IBM Navigator for i – dashboard view

Copyright Central Park Data Systems Inc 12

Visual Explain

Index Advisor

Copyright Central Park Data Systems Inc 13

Index Advisor

What We’ll Cover …

• Think like a manager

• Modern tooling

• All about SQL

• The “lowly” service program

• All about JSON

• Blockchain

• IBM Watson

• Wrap Up

Copyright Central Park Data Systems Inc 14

Launch Run SQL Scripts from ACS

Launch Run SQL Scripts from RDi

Copyright Central Park Data Systems Inc 15

Very Powerful! SQL Formatter and Insert from Examples

Insert from Examples!

Copyright Central Park Data Systems Inc 16

SO many powerful functions!

Set Processing with SQL

Copyright Central Park Data Systems Inc 17

Repurposing Your Business Logic

Create a User-defined Function from Existing Service Programs

Copyright Central Park Data Systems Inc 18

Reference the UDF From Within Your Select Statement

SELECT CCMP, CCUSNO,

REVERSESTRINGFUNCTION01(CCUSNM) AS REVERSENAME

FROM CUSTMAST

ORDER BY CCMP, CCUSNO

SQL calls the RPG service program!

Copyright Central Park Data Systems Inc 19

Eliminate database validation from the applications

PGM A PROCRTVITEM

PROCRTVITEM

PROCRTVITEM

PROCRTVITEM

PROCRTVITEM

PROCRTVITEM

PGM B

PGM C

PGM D

PGM E

PGM F

SQL Views – data centric

Copyright Central Park Data Systems Inc 20

SQL Views – data centric

SQL Views – data centric

Copyright Central Park Data Systems Inc 21

SQL Views – data centric

This hard coding can be replaced with a global variable

Fun Fact!

Copyright Central Park Data Systems Inc 22

What We’ll Cover …

• Think like a manager

• Modern tooling

• All about SQL

• The “lowly” service program

• All about JSON

• Blockchain

• IBM Watson

• Wrap Up

Remove redundant code and modularize

PGM A PROCRTVITEM

PROCRTVITEM

PROCRTVITEM

PROCRTVITEM

PROCRTVITEM

PROCRTVITEM

PGM B

PGM C

PGM D

PGM E

PGM F

Copyright Central Park Data Systems Inc 23

Remove redundant code and modularize

RTVITEMSVC

PGM A

PGM B

PGM C

PGM D

PGM E

PGM F

Service program RTVITEMSVC

Copyright Central Park Data Systems Inc 24

Service program being used by RPG program

All admin is done through a browser

Step 1 – STRTCPSVR SERVER(*HTTP) HTTPSVR(*ADMIN)

Step 2 – From a browser go to http://hostname:2001/HTTPAdmin

Copyright Central Park Data Systems Inc 25

All admin is done through a browser

Consuming the Service Returning XML Using a Browserhttp://10.100.10.190:10094/web/services/RTVITEMSVC2/itemclass/02

Copyright Central Park Data Systems Inc 26

Web service results are shown using JSON

What We’ll Cover …

• Think like a manager

• Modern tooling

• All about SQL

• The “lowly” service program

• All about JSON

• Blockchain

• IBM Watson

• Wrap Up

Copyright Central Park Data Systems Inc 27

Consuming the JSON Service Using Native SQL – Returns as Row Data

https://www.ibm.com/support/knowledgecenter/ssw_ibm_i_73/db2/rbafzscajsontable.htm

Copyright Central Park Data Systems Inc 28

http://ibmsystemsmag.com/Blogs/i-Can/January-2017/JSON_TABLE-Function/

Consuming the JSON Service Using Native SQL – Returns as Row Data

select * from json_table(systools.httpgetclob('http://10.100.10.190:10094/web/services/RTVITEMSVC2/itemclass/02 ','<httpHeader><header name="Accept" value="application/json" /></httpHeader>') , '$' COLUMNS(Success VarChar(5) PATH 'lax $.SUCCESS',ClassDesc VarChar(30) PATH 'lax $.CLASSDESC',NumberofItems VarChar(3) PATH 'lax $.NUMBEROFITEMS',NESTED '$.ITEMLIST[*]'COLUMNS(ItemNumber VarChar(20) PATH 'lax $.ITEMNUMBER',Description VarChar(30) PATH 'lax $.DESCRIPTION',UnitOfMeasure Varchar(5) PATH 'lax $.UNITOFMEASURE' )

Copyright Central Park Data Systems Inc 29

Consuming the JSON Service Using Native SQL – Returns as Row Data

Programmable Web https://www.programmableweb.com/

Copyright Central Park Data Systems Inc 30

What We’ll Cover …

• Think like a manager

• Modern tooling

• All about SQL

• The “lowly” service program

• All about JSON

• Blockchain

• IBM Watson

• Wrap Up

Copyright Central Park Data Systems Inc 31

A new currency is born

https://bitcoin.org/bitcoin.pdf

http://www.learnliberty.org/blog/demystifying-bitcoin

Copyright Central Park Data Systems Inc 32

https://en.wikipedia.org/wiki/Blockchain

Blockchain

Does Bitcoin equal Blockchain?

=

?

Copyright Central Park Data Systems Inc 33

As significant?

ARPANET INTERNET

BLOCKCHAIN FUTURE OF BUSINESS

COMMUNICATION

https://www.itjungle.com/2017/04/10/blockchain-link-long-term-ibm-plan/

Copyright Central Park Data Systems Inc 34

ibm.com/blockchain

Download a free 51 page book on Blockchain

Copyright Central Park Data Systems Inc 35

Hyperledger - https://www.hyperledger.org/

https://www.ibm.com/blockchain/offerings.html

Copyright Central Park Data Systems Inc 36

https://www-01.ibm.com/common/ssi/cgi-bin/ssialias?htmlfid=GIL12345USEN

Fortune Magazine – September 1st, 2017

Copyright Central Park Data Systems Inc 37

Blockchain Developer Center developer.ibm.com/blockchain

Blockchain Developer Center developer.ibm.com/blockchain

Copyright Central Park Data Systems Inc 38

What We’ll Cover …

• Think like a manager

• Modern tooling

• All about SQL

• The “lowly” service program

• All about JSON

• Blockchain

• IBM Watson

• Wrap Up

https://watson-api-explorer.mybluemix.net/apis/tone-analyzer-v3

Copyright Central Park Data Systems Inc 39

https://watson-api-explorer.mybluemix.net/apis/language-translator-v2

https://www.itjungle.com/2016/09/27/fhg092716-story01/

Copyright Central Park Data Systems Inc 40

What We’ll Cover …

• Think like a manager

• Modern tooling

• All about SQL

• The “lowly” service program

• All about JSON

• Blockchain

• IBM Watson

• Wrap Up

It’s Only the Tip of the Iceberg

Modernize !!!

Copyright Central Park Data Systems Inc 41

THANK YOU !!!

Charles Guarino

Application Developer Modernization Jump Start


Recommended