fhs
Volume 8, Number 28 -- July 22, 2008

CNX Aims to Streamline Web 2.0 Development for i OS with Valence

Published: July 22, 2008

by Alex Woodie

CNX has released a new development tool that's aimed at making it easy for RPG developers to create Web 2.0 style interfaces. The new toolset, called Valence, is based on the collection of JavaScript classes called EXTJS, and uses JavaScript's native data-formatting language, JSON. According to CNX executives, Valence delivers a native and extremely fast connections between Web browsers and back-end RPG applications running on the i-based Power Systems server.

The Valence story starts in 2001, when the folks at Chicago-based CNX started looking for a tool to Web-enable their add-on planning system for BPCS called ATOMIC, according to Richard Milone, CNX's managing partner. "We were totally trained up in Java, and have written Java applications for customers that are working great," he says. "But we still consider ourselves and our development team RPG people. We were never fully comfortable with Java on the System i."

With Java out, CNX began looking for something a little more "native." They tried the multitude of commercial Web enablement tools for the platform, but didn't much like what they saw. Then Milone had an epiphany of sorts. "I can remember a particular point. It was early 2005 when Google had just came out with Google Maps. Within two minutes of using it, I knew that all applications in the future on the Web would be written like that. I didn't know if it would take five or 10 years, but I knew that that was the direction."

What Milone saw, of course, was one of the first Web 2.0-style GUIs (graphical user interfaces). Instead of regenerating the entire screen when the user provides input, which slows down the application, Web 2.0 applications like Google Maps update only the part of the screen that the user is interacting with, thereby speeding up the application compared to Web 1.0 applications.

The collection of technology behind most Web 2.0 applications is called AJAX--for Asynchronous JavaScript And XML. So Milone and his partners at CNX started looking into how they could use AJAX to Web enable ATOMIC. "We reviewed pretty much every [JavaScript] toolkit out there," Milone says. The one that rose to the top was the collection of JavaScript libraries called EXTJS, from the company EXT. "EXTJS is one that has everything in it that you could ever want to have on the front end--popup windows, dynamic drop-down boxes, type ahead, and trees."

Valence is an i OS implementation of sorts of the EXTJS toolkit. CNX struck an OEM deal that allows the company to redistribute EXTJS, in exchange for an annual fee paid to EXT. In addition to the EXTJS tooling, Valence includes an RPG toolkit that allows RPG programs to communicate with the front-end EXTJS tools, a Web portal based on EXTJS, and a charting application called Fusion.

The RPG toolkit is the "secret sauce" in Valence, the part that took several developer-years to create and document. The RPG toolkit essentially translates RPG output into JavaScript's native formatting language, which is called JavaScript Object Notation, or JSON.

"JSON is super fast," Milone says. "It uses a lot less characters than XML. If I can create JSON-formatted data from my files, with my RPG program, and send that to the front-end to display in the grid, that is far, far faster than it would be if I were to format XML on my RPG applications and have the browser's XML parser parse it all out, and then fill in everything in the grid. If you can go straight to JSON, which is the native language of JavaScript, you can render it nearly instantaneously."

The Valence RPG Toolkit gives almost everything needed to create Web 2.0-style interfaces for existing RPG applications. "You can, for example, do things like load an array of data in RPG, then call a procedure in our Valence RPG toolkit that says 'translate to JSON' and you pass it the array, and it will send back the formatted JSON, which you then send back to the browser and it's rendered in the grid."

Valence is a self-contained application that installs on i5/OS V5R3 and V5R4. It plugs into the Apache Web server, and utilizes CGI calls to interact with RPG applications. Users don't need any special development environments to use Valence. CNX developers use Rational Developer for i (RDi) and WebSphere Development Studio Client (WDSc) to create Web 2.0 front-ends for their RPG applications.

One thing Valence does not include is a way to translate entire green-screen applications to AJAX-enabled Web 2.0 applications. "We want to be on the modernization bandwagon, of course. But what we don't give you is the ability to automatically translate your existing programs," Milone says. "We might provide this functionality in the future. We've had a lot of requests for it."

Milone is straight up with the fact that it will take a little bit of elbow grease to create Web 2.0 applications in Valence. In an industry where everybody seems to downplay the work involved, that's refreshing.

"We're not asking customers to rewrite everything from scratch, but you do have to take your existing RPG programs and separate out that green-screen logic," Milone says. "If you're going to take your green screens and convert them to work in a Web page, then HATS [Host Access Transformation Services] is fine. The existing tools that IBM gives you are fine.

"What we're trying to give customers is the ability to really modernize, to give the users better functionality, and to do that you really have to re-engineer your programs," says Milone, who's not immune to the product pitch. "If you want to continue to develop in RPG and have the best possible user interface to your programs, totally modern Web 2.0, then we are really the only product right now that handles that for System i natively."

CNX released a beta of Valence in late April, and announced the general availability of Valence version 1.0 at the RPG World conference in Las Vegas in June. Valence version 1.1, which fixed a few bugs, shipped July 11. CNX is also working on a new version of ATOMIC that will be Web-enabled using Valence, which it expects to ship later this year.

Licenses for Valence cost $4,950 per i-based Power Systems server, System i, i5, iSeries, and AS/400; there are no per-user developer fees. For more information, visit www.cnxcorp.com.


RELATED STORIES

CNX Brings ATOMIC Planning System to BPCS

CNX's ATOMIC Goes 'Lean'



                     Post this story to del.icio.us
               Post this story to Digg
    Post this story to Slashdot


Sponsored By
ALDON


Aldon helps you get ITIL compliant with its
Application Lifecycle Management solutions.

Together with the newly introduced Aldon CMDB,
you can enjoy an accurate, timely view into your IT infrastructure.

Download the free whitepaper to learn more on how a CMDB can help IT to be compliant.

Download Here



Editor: Alex Woodie
Contributing Editors: Dan Burger, Joe Hertvik,
Shannon O'Donnell, Timothy Prickett Morgan
Publisher and Advertising Director: Jenny Thomas
Advertising Sales Representative: Kim Reed
Contact the Editors: To contact anyone on the IT Jungle Team
Go to our contacts page and send us a message.

Sponsored Links

Computer Measurement Group:  CMG '08 International Conference, December 7-12, Las Vegas
SafeData:  FREE White Paper - IBM iSeries Recovery Options: An Executive Guide
COMMON:  Join us at the Focus 2008 workshop conference, October 5 - 8, in San Francisco, California


 

IT Jungle Store Top Book Picks

Easy Steps to Internet Programming for AS/400, iSeries, and System i: List Price, $49.95
Getting Started with PHP for i5/OS: List Price, $59.95
The System i RPG & RPG IV Tutorial and Lab Exercises: List Price, $59.95
The System i Pocket RPG & RPG IV Guide: List Price, $69.95
The iSeries Pocket Database Guide: List Price, $59.00
The iSeries Pocket Developers' Guide: List Price, $59.00
The iSeries Pocket SQL Guide: List Price, $59.00
The iSeries Pocket Query Guide: List Price, $49.00
The iSeries Pocket WebFacing Primer: List Price, $39.00
Migrating to WebSphere Express for iSeries: List Price, $49.00
iSeries Express Web Implementer's Guide: List Price, $59.00
Getting Started with WebSphere Development Studio for iSeries: List Price, $79.95
Getting Started With WebSphere Development Studio Client for iSeries: List Price, $89.00
Getting Started with WebSphere Express for iSeries: List Price, $49.00
WebFacing Application Design and Development Guide: List Price, $55.00
Can the AS/400 Survive IBM?: List Price, $49.00
The All-Everything Machine: List Price, $29.95
Chip Wars: List Price, $29.95


 
The Four Hundred
What the Heck Is the Midrange, Anyway?

More Power7 Details Emerge, Thanks to Blue Waters Super

IBM Drives Home a Strong Second Quarter Across the Board

The X Factor: The IT Department Matters as Much as the CIO

IT Jobs Grow in the U.S. Despite Economic Woes

The Linux Beacon
A Little More Info on Red Hat Enterprise MRG

IBM Sells 60 Teraflops Power6-Linux Super in Holland

Sun Updates MySQL Carrier-Grade Clustered Database

Mad Dog 21/21: Mission Possible

VMware Replaces Co-Founder Greene with Microsoft Hotshot

Big Iron
Micro Focus Acquires Liant for COBOL and PL/I Tools

Top Mainframe Stories From Around the Web

Chats, Webinars, Seminars, Shows, and Other Happenings

Four Hundred Guru
API Fun Time

Conditional Inserts with JDBC Prepared Statements

Admin Alert: A Client Access Mystery Solved. . . with No-Prizes!!!

System i PTF Guide
July 12, 2008: Volume 10, Number 28

July 5, 2008: Volume 10, Number 27

June 28, 2008: Volume 10, Number 26

June 21, 2008: Volume 10, Number 25

June 14, 2008: Volume 10, Number 24

June 7, 2008: Volume 10, Number 23

The Windows Observer
Micro-Hoo Degenerates as Deal Goes Sour

HP Jumps Into Containerized Data Centers, Too

Citrix Promises Tool for Creating Hypervisor-Agnostic Virtual Appliances

Why Now, Vista 'Wow'?

SQL Server 2008 On Track for Summer Release

The Unix Guardian
Fujitsu and Sun Flex Their Quads with New Sparc Server Lineup

HP Jumps Into Containerized Data Centers, Too

HP-UX Shops Not Strongly Interested in HP-UX on X64

Mad Dog 21/21: Mission Possible

Sun Cuts Earnings Projections on Consensus Revenues for Fiscal Q4

Four Hundred Monitor
Four Hundred Monitor's
Full iSeries Events Calendar

THIS ISSUE SPONSORED BY:

Aldon
ProData Computer Services
Seagull Software
Bytware
Essex Technology Group


Printer Friendly Version


TABLE OF CONTENTS
CNX Aims to Streamline Web 2.0 Development for i OS with Valence

Resolution Moves Database Automation Forward

IBM Delivers ID Management as a Service with Tivoli FIM

Micro Focus Moves NetManage Acquisition Forward

ARCAD Opens New Office in Singapore

News Briefs and Product Shorts:

Agilysys Sells Hospitality Suite to New Laotian Casino . . . English Manufacturer Extends ERP for Chinese Expansion . . . VAI: 30 Years Old, and Counting . . . Relativity Teams with ILOG for Business Rule Modernization . . . i OS Products on Display in Upcoming Vendor Webcasts . . .

Four Hundred Stuff

BACK ISSUES





 
Subscription Information:
You can unsubscribe, change your email address, or sign up for any of IT Jungle's free e-newsletters through our Web site at http://www.itjungle.com/sub/subscribe.html.

Copyright © 1996-2008 Guild Companies, Inc. All Rights Reserved.
Guild Companies, Inc., 50 Park Terrace East, Suite 8F, New York, NY 10034

Privacy Statement