|
Aaron,me, I
Believe me, I've been a proponent of GUI with RPG for decades. Believe
drank that Kool-Aid long before you learned to drive. I welcome you tothe
on-going battle. To me, Web/Browser interfaces via CGILIB or othersare the
closest we've come to a great RPG GUI so far. The guys at eXportVentures did a
great graphical, event driven RPG user interface years ago--but itdidn't take
off very much.dispatching
Most of this event-driven stuff really needs an OS that can handle
the event messages. Certainly OS/400 can do that, but it doesn't.AJAX and
However, a Web/Browser interface can already do event-driven stuff via
regular CGI calls to RPG or any language. What would be beneficial isthe
ability to "AJAX to" a subprocedure directly rather than only to aprogram. I'm
not certain if that's much better from a performance standpoint thanjust
leaving a CGI program active in its A/G and reactivating it, but itwould be
cooler. :)albartell
-Bob Cozzi
www.i5PodCast.com
Ask your manager to watch i5 TV
-----Original Message-----
From: rpg400-l-bounces+bob=rpgworld.com@xxxxxxxxxxxx
[mailto:rpg400-l-bounces+bob=rpgworld.com@xxxxxxxxxxxx] On Behalf Of
Sent: Thursday, April 26, 2007 8:04 AMCGI/Web
To: 'RPG programming on the AS400 / iSeries'
Subject: RPG UI Frameworks was->RE: Fw: Enhancements to RPG
<Cozzi said>Class (5) items are similar to class (3) items in their
importance. Sure it would be cool to have, for example, integrated
built-in functions in RPG IV, but that would have been important in1998, or
2002 or 2004 or 2006. In 2008 and beyond it is sort of like addingPointer
Support to CL in 2006. Why do I care? I've already coded all the CLI'm ever
going to code. By 2008 or 2009 I've already written tons of CGI/Webstuff
using xTools, CGIDEV2, or Brad's eRPG library or even using the CGIAPIs so
why would I care? (CGI/RPG is just an metaphor here.)are
<Aaron responds with>
Bob, I don't think you are recognizing the significance of why people
leaving in droves off of the iSeries. They aren't leaving because RPGis a
bad business logic language. They aren't leaving because the iSeriesis an
unstable platform. Many are leaving because of look and feel - plainand
simple. The cost to get to that new look and feel on the iSeries issimply
more expensive than going to .NET (at least initially).had not
The reality of the matter is that most, if not all, of the CGIDEV2
equivalents out there are simply one step above doing raw CGI. If I
worked with frameworks in PHP and Java then I would be standing rightnext
to you with what you are saying, but there is a lot to be said about asolid
and easy to use Web/GUI thick client framework. Having to write lessan
plumbing saves a lot of time (i.e. look at CHAIN vs. SQL single record
SELECT).
As I said in another post awhile back, RPG is fairly well suited for
event driven UI framework because of procedure pointers and callbackfront
capabilities. Just think if there was an RPG "router" program that
ended your RPG program that had business logic and screen flow code.Every
time an event (e.g. specific customer selected from an HTML table)occurred
it would send the current form to the RPG router program on theserver. The
router program would then gain entry into your RPG program by way ofscreens
procedure pointer (see example code below).
D cust_listselect_event...
D PI
D pSessUId 15P 0 Value
D pEvtTyp 10 Value
D pUIObjNam 50 Value
D cstNum s 10u 0
/free
cstNum = RPGUI_getSelectedRowUnqId(pSessUId);
RPGUI_addControllerParm('EditCust': cstNum); // Priming next
input valuesDoes
RPGUI_displayScreen('EditCust');
/end-free
I am debating whether to pursue that thought with a full prototype.
anybody else see the potential that I am seeing?
Aaron Bartell
http://mowyourlawn.com
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.