× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



"On the other hand... I think Henrik is forgetting that there are
millions of already written programs that use the display file paradigm,
and that the amount of work needed to refactor all of those programs
might be prohibitive."

95% can be rewritten in one month!


On Thu, Feb 2, 2012 at 9:49 PM, Scott Klement <rpg400-l@xxxxxxxxxxxxxxxx>wrote:

hi Justin,

IMHO, you're got that backwards. Those programmers are already
mentally bound to that programming technique. RPG-OA is not the
cause of this, but a consequence.

I think you're right as far as it goes. But I think if it weren't for
RPG-OA (and webfacers, refacing tools, screen scrapers, etc) people
might be forced to update their skills rather than continue with this
paradigm.

On the other hand... I think Henrik is forgetting that there are
millions of already written programs that use the display file paradigm,
and that the amount of work needed to refactor all of those programs
might be prohibitive.

So, in my mind, OA is a great stop-gap solution. It's a band-aid that
helps people get to a new interface quickly ans easily. But it should
not be the ultimate goal.

The ultimate goal should be to write your business logic in a stateless,
services-oriented, MVC manner. That way, it doesn't matter which
front-end you use.

Some people think of RPG-OA as a means of separating the display logic
from the business logic, in order to achieve an "MVC" application -- and
the problem with that is exactly what Henrik said. You aren't writing
your business and display logic separately. You are still writing your
logic as if it's outputting to a proprietary interface that exists
nowhere else, designed originally for 5250 terminals, that are also used
nowhere else.

So that's my opinion, RPG-OA is a great short-term, quick-fix. It's
better than the older technique that involves interpreting the 5250
datastream. But it shouldn't be your end-goal.

Jon Paris constantly makes the point that RPG-OA is useful for other
things besides just user interfaces. He told me this more than 3 years
ago, and I've been thinking about it since then. I've found one or two
cases where this makes sense -- but it's extremely unusual. (And THAT
is why I don't think SPECIAL files ever caught on.)

-SK
--
This is the RPG programming on the IBM i / System i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.





As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.