creating modern cics web applications by exploiting open ......creating modern cics web applications...

26
Creating Modern CICS Web Applications by Exploiting Open Source Javascript Libraries Stephen Mitchell [email protected] www.PlexSpy.com September 2013 Sunday, 8 September 13

Upload: others

Post on 02-Aug-2020

17 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Creating Modern CICS Web Applications by Exploiting Open ......Creating Modern CICS Web Applications by Exploiting Open Source Javascript Libraries Stephen Mitchell stephen.mitchell@matteroffactsoftware.com

Creating Modern CICS Web Applications by Exploiting Open Source Javascript Libraries

Stephen Mitchell

[email protected]

www.PlexSpy.com

September 2013

Sunday, 8 September 13

Page 2: Creating Modern CICS Web Applications by Exploiting Open ......Creating Modern CICS Web Applications by Exploiting Open Source Javascript Libraries Stephen Mitchell stephen.mitchell@matteroffactsoftware.com

Disclaimer

The standard disclaimers apply.

The opinions expressed are those of the presenter only.

All brand names & trademarks are the exclusive property of their owners.

No warranties are either expressed or implied.

www.PlexSpy.comSunday, 8 September 13

Page 3: Creating Modern CICS Web Applications by Exploiting Open ......Creating Modern CICS Web Applications by Exploiting Open Source Javascript Libraries Stephen Mitchell stephen.mitchell@matteroffactsoftware.com

Agenda

What do we mean by CICS Web Applications?

What do Modern CICS Web Applications need?

The Challenges.

Open Source JavaScript Libraries.

Our Solution - CICS JS/Server.

Demonstration / Examples,

Summary.

Contact Details.

www.PlexSpy.comSunday, 8 September 13

Page 4: Creating Modern CICS Web Applications by Exploiting Open ......Creating Modern CICS Web Applications by Exploiting Open Source Javascript Libraries Stephen Mitchell stephen.mitchell@matteroffactsoftware.com

CICS Web Applications?

For the purposes of this presentation....

Any CICS application that involves direct interaction with a web browser over TCPIP.

www.PlexSpy.comSunday, 8 September 13

Page 5: Creating Modern CICS Web Applications by Exploiting Open ......Creating Modern CICS Web Applications by Exploiting Open Source Javascript Libraries Stephen Mitchell stephen.mitchell@matteroffactsoftware.com

Modern CICS Web Applications?

Need sophisticated user interfaces.

Should be reliable and scalable as well as secure.

Must be easy to construct and manage.

Should be able to securely exploit Open Source offeringssuch as Dojo Toolkit, JQuery, YUI Library, MooTools etc.

www.PlexSpy.comSunday, 8 September 13

Page 6: Creating Modern CICS Web Applications by Exploiting Open ......Creating Modern CICS Web Applications by Exploiting Open Source Javascript Libraries Stephen Mitchell stephen.mitchell@matteroffactsoftware.com

The Challenges?

How to get CICS to do all of this - CICS is verycapable but significant expertise may be neededto achieve the desired result.

Inertia in mainframe operations - a reluctance to try anything new. Is it the opposite of Agile?

Diminishing pool of CICS experts available andthey are perceived as expensive.

As ever there is a desire to make everythingcheaper to create, run and manage.

www.PlexSpy.comSunday, 8 September 13

Page 7: Creating Modern CICS Web Applications by Exploiting Open ......Creating Modern CICS Web Applications by Exploiting Open Source Javascript Libraries Stephen Mitchell stephen.mitchell@matteroffactsoftware.com

Open Source JavaScript Libraries

Dojo Toolkit

JQuery

JQuery UI

MooTools

YUI Library

D3JS

Scriptaculous

Rickshaw

Prototype

others? - ask us!

www.PlexSpy.comSunday, 8 September 13

Page 8: Creating Modern CICS Web Applications by Exploiting Open ......Creating Modern CICS Web Applications by Exploiting Open Source Javascript Libraries Stephen Mitchell stephen.mitchell@matteroffactsoftware.com

Our Solution: CICS JS/Server

V1 served the Dojo Toolkit.

V2 serves Dojo Toolkit, JQuery, MooTools, YUILibrary and several other Open Source JavascriptLibraries.

V2 also allows bespoke content to be defined andserved either in a stand alone fashion or as part ofa constructed and managed new CICS WebApplication.

Makes it simple to achieve business objectivesand overcome many of the challenges.

www.PlexSpy.comSunday, 8 September 13

Page 9: Creating Modern CICS Web Applications by Exploiting Open ......Creating Modern CICS Web Applications by Exploiting Open Source Javascript Libraries Stephen Mitchell stephen.mitchell@matteroffactsoftware.com

The CICS ElementsCICS Resource Definitions

CICS RDO Group: DFHWEBTCPIPServices / URIMaps

Document TemplatesWeb Analyser Programs

The CICS API

EXEC CICS WEB READ / SEND etcEXEC CICS DOCUMENT CREATE / INSERT etc

Fixed DataDocument Templates

DB2 / Database recordsVSAM Data

Temporary Storage Queuesother?

www.PlexSpy.comSunday, 8 September 13

Page 10: Creating Modern CICS Web Applications by Exploiting Open ......Creating Modern CICS Web Applications by Exploiting Open Source Javascript Libraries Stephen Mitchell stephen.mitchell@matteroffactsoftware.com

Web Browsers

HTMLJavaScript Files (.js)

Stylesheet Files (.css)Image files (.jpg/.gif/.png)

other file typesBrowser Plugins

Sunday, 8 September 13

Page 11: Creating Modern CICS Web Applications by Exploiting Open ......Creating Modern CICS Web Applications by Exploiting Open Source Javascript Libraries Stephen Mitchell stephen.mitchell@matteroffactsoftware.com

Live Demo

www.PlexSpy.comSunday, 8 September 13

Page 12: Creating Modern CICS Web Applications by Exploiting Open ......Creating Modern CICS Web Applications by Exploiting Open Source Javascript Libraries Stephen Mitchell stephen.mitchell@matteroffactsoftware.com

CICS JS/Server: Open Source Resources Served

Status DisplaySunday, 8 September 13

Page 13: Creating Modern CICS Web Applications by Exploiting Open ......Creating Modern CICS Web Applications by Exploiting Open Source Javascript Libraries Stephen Mitchell stephen.mitchell@matteroffactsoftware.com

Sample Dojo Toolkit Usage

www.PlexSpy.comSunday, 8 September 13

Page 14: Creating Modern CICS Web Applications by Exploiting Open ......Creating Modern CICS Web Applications by Exploiting Open Source Javascript Libraries Stephen Mitchell stephen.mitchell@matteroffactsoftware.com

Sample D3JS Usage

www.PlexSpy.comSunday, 8 September 13

Page 15: Creating Modern CICS Web Applications by Exploiting Open ......Creating Modern CICS Web Applications by Exploiting Open Source Javascript Libraries Stephen Mitchell stephen.mitchell@matteroffactsoftware.com

Sample YUI Library Usage

www.PlexSpy.comSunday, 8 September 13

Page 16: Creating Modern CICS Web Applications by Exploiting Open ......Creating Modern CICS Web Applications by Exploiting Open Source Javascript Libraries Stephen Mitchell stephen.mitchell@matteroffactsoftware.com

Sample JQuery Usage

www.PlexSpy.comSunday, 8 September 13

Page 17: Creating Modern CICS Web Applications by Exploiting Open ......Creating Modern CICS Web Applications by Exploiting Open Source Javascript Libraries Stephen Mitchell stephen.mitchell@matteroffactsoftware.com

Sample MooTools Usage

www.PlexSpy.comSunday, 8 September 13

Page 18: Creating Modern CICS Web Applications by Exploiting Open ......Creating Modern CICS Web Applications by Exploiting Open Source Javascript Libraries Stephen Mitchell stephen.mitchell@matteroffactsoftware.com

Bespoke Content

Recognising a need to handle bespoke content, the ability todo so has been added to CICS JS/Server.

Define your own CICS Document Templates to be used byCICS JS/Server - can contain Javascript, Stylesheets,HTML, images and Plugins for the Toolkits/Libraries =Anything that can be served from a CICS DocumentTemplate.

Define symbolics, freeform text, Document Templates, CICSapplication programs and construct new CICS Webapplications based on them.

www.PlexSpy.comSunday, 8 September 13

Page 19: Creating Modern CICS Web Applications by Exploiting Open ......Creating Modern CICS Web Applications by Exploiting Open Source Javascript Libraries Stephen Mitchell stephen.mitchell@matteroffactsoftware.com

Bespoke Content / Content Server - 1

A batch job that uses a specially edited Rexx Exec createsrecords in a content server file. The records added to the fileare interpreted by CICS JS/Server which will create webapplications based on the record contents.

Symbols can be used and substituted either by CICS JS/Server directly or by application programs called by thecontent server process.

Document templates defined to CICS can be used by thecontent server as part of new novel CICS web applications.

www.PlexSpy.comSunday, 8 September 13

Page 20: Creating Modern CICS Web Applications by Exploiting Open ......Creating Modern CICS Web Applications by Exploiting Open Source Javascript Libraries Stephen Mitchell stephen.mitchell@matteroffactsoftware.com

Bespoke Content / Content Server - 2

Content Server file records can be viewed through a web browser

www.PlexSpy.comSunday, 8 September 13

Page 21: Creating Modern CICS Web Applications by Exploiting Open ......Creating Modern CICS Web Applications by Exploiting Open Source Javascript Libraries Stephen Mitchell stephen.mitchell@matteroffactsoftware.com

Bespoke Content / Content Server - 3

www.PlexSpy.comSunday, 8 September 13

Page 22: Creating Modern CICS Web Applications by Exploiting Open ......Creating Modern CICS Web Applications by Exploiting Open Source Javascript Libraries Stephen Mitchell stephen.mitchell@matteroffactsoftware.com

Bespoke Content / Content Server - 4USR/test8.html application execution results

www.PlexSpy.comSunday, 8 September 13

Page 23: Creating Modern CICS Web Applications by Exploiting Open ......Creating Modern CICS Web Applications by Exploiting Open Source Javascript Libraries Stephen Mitchell stephen.mitchell@matteroffactsoftware.com

Summary / Benefits

What better platform for web applications than CICS?

Brings the strengths of the mainframe to the use of several Javascript Libraries and Toolkits providing a simple way to install, manage and operate these powerful Open Source offerings.

Enables the tried and trusted processes for managing CICS applications to be extended to the use of these Open Source resources.

Allows bespoke content to be served.

Facilitates the building, serving, operating and management of novel new CICS Web applications or the improvement of existing corporate web applications.

Can exploit a Parallel Sysplex allowing for: very high volumes of transactions; reliable, resilient and secure applications.

www.PlexSpy.comSunday, 8 September 13

Page 24: Creating Modern CICS Web Applications by Exploiting Open ......Creating Modern CICS Web Applications by Exploiting Open Source Javascript Libraries Stephen Mitchell stephen.mitchell@matteroffactsoftware.com

Acknowledgements

Sunday, 8 September 13

Page 25: Creating Modern CICS Web Applications by Exploiting Open ......Creating Modern CICS Web Applications by Exploiting Open Source Javascript Libraries Stephen Mitchell stephen.mitchell@matteroffactsoftware.com

Acknowledgements

• CICS, z/OS, Sysplex are trademarks of IBM Corporation.

• DojoToolkit is the work of the Dojo Foundation.

• JQuery is the work of the JQuery Foundation.

• YUI Library is owned by Yahoo! Inc.

Sunday, 8 September 13

Page 26: Creating Modern CICS Web Applications by Exploiting Open ......Creating Modern CICS Web Applications by Exploiting Open Source Javascript Libraries Stephen Mitchell stephen.mitchell@matteroffactsoftware.com

Stay in Touch

www.PlexSpy.comSunday, 8 September 13