|
The primary problem with moving from green screen to web is the
impedance mismatch. RPG applications are a page at a time, and most RPG
programmers think that way and thus most tools follow that path. And if
you use Web 1.0 thin-client designs you can match up relatively
closely. Some of the more sophisticated tools allow you to merge
multiple green screens into one page, but at the end of the day you end
up writing applications that are very much web counterparts of green
screen: a table rather than a subfile, a form rather than a record format.
If you're willing to go this route, JavaServer Faces (JSF) is very
powerful and allows you to avoid a lot of the plumbing. Tools such as
those from Rational make it even easier.
But if you want real Web 2.0 applications (the ones that don't make web
users "queasy" <grin>), then you need to change your paradigm completely
and start thinking of services and sending small bits of data back and
forth. You'll need a solid JavaScript framework to implement the UI -
without it you'll be as lost trying to manually code pages as you would
be if you had to program the 5250 data stream yourself.
I disagree a bit with Nathan about throwing out your existing RPG code.
Depending on how far along the road you are to modularization and things
like called programs and service programs, you should be able to use
that code almost immediately n a good web application.
Anyway, that's probably more than enough for Midrange-Tech; any more
discussion of web architectures belongs best in the WEB400 list.
Joe
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.