|
So your "issue" with IBM is that the technology that interfaces your HTMLpages and your business logic isn't RPG centric enough ?
Actually, I wouldn't necessarily care if EGL was used for the View layer as
long as each new development didn't require EGL programming (if that makes
sense). This would basically make EGL a compiled framework component and at
that point I would have written it in Java to save the maintenance of that
framework component being written in a 4GL language. I guess it boils down
to me wanting a single language for the Controller and Model layers, or
maybe better stated, I *shouldn't* have to do much more on the View layer
outside of configuring it (i.e. x/y coordinates of fields, field names,
button actions, etc).
I am a pragmatist. If it is simple and it works and allows me to deliversolutions that are stable and attractive (well, maybe I have a ways to go on
the "attractiveness" part but it ain't the tool's fault), if those goals are
met then I am good to go.
That is what I desire also, but it needs to be meshed with longterm
direction. Just take a look at the languages and frameworks you have used
over the years. What if a guy was to adopt each one as he thought it had an
edge over the last? All the sudden you have PHP, .NET, Struts, EGL, RoR in
your shop, and even within those you can vary greatly (i.e. in PHP there are
a lot of different frameworks). How do you manage that environment? How do
you find and hire people that have at least two of those knowledge sets?
How do you stay on top of those knowledge sets (think sending people to
trade shows and buying books - that's a lot). The crazy thing is that
having all of those languages in a single shot is not that far fetched. In
an article coming out in COMMON Connect I wrote about this. Needless to say
it is an opinion piece :-)
Could you take an existing 5250 application and add a few VA RPG op codesto read and write to "windows"
instead of screen formats and that is all you had to do to port a 5250 app
to Windows?
Yep, just create a *SRVPGM that knows how to act as the inbetween concerning
the client and server. The client would know how to render a
button/field/drop-down/etc based on meta information passed down from the
server.
It also seems to me that regardless of how seamless the layers are, you arestill going to end up with an EGL-ish mix. It may not be a meta language
like EGL but even if it was DDS and RPG, that would still be a "meta" layer
before the HTML, CSS and Javascript was rendered.
Agreed. Insulation for change more or less.
I guess my question is: Would you expect this seamless View layer to bewritten in RPG and DDS (or whatever i centric languages exist)?
The View layer wouldn't need to be in RPG at all, and RPG probably isn't the
best suited to write that layer (though it could). I have been toying with
the idea of taking a weekend to see if GWT (Google Web Toolkit) could work
as the View and RPG would pass a meta data definition of a field to the GWT
and it would instantiate the appropriate object and send it to the screen.
Then when the user clicked a button it would invoke the appropriate GWT
servlet and that servlet would route it to the appropriate RPG program
(based on meta data).
Aaron Bartell
http://mowyourlawn.com
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 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.