× 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.



Booth,

It depends :)

The whole point of designing is to determine the answers to those questions.

For a nice intro, check out the April 2009 issue of System i News,
Scott, Paul Tuohy, Tony Cairns, and Don Denoncourt teamed up for a set
of articles which demostraite an RPG business layer with a 5250, PHP,
Groovy/Java, and CGIDEV2 front end.
http://systeminetwork.com/article/rpg-and-web-technologies-get-there
http://systeminetwork.com/article/rpg-web-cgidev2-way
http://systeminetwork.com/article/rpg-web-php-way
http://systeminetwork.com/article/rpg-web-java-or-groovy-way

Also check out:
http://systeminetwork.com/article/writing-reusable-service-programs

HTH,
Charles


On Tue, Sep 8, 2009 at 11:33 AM, Booth Martin<booth@xxxxxxxxxxxx> wrote:
This seemed simple enough on the face of it, and then of course it
slipped away.

A case has been made for dividing the pieces of an application into, as
I understand it, at least three layers.

The first layer is the data and it's constraints and security.
The second is the layer for business rules.
The third is the top layer, for the user interface, allowing several
different UI solutions to co-exist  at the same time.

That all makes sense to me.

Two problems are confusing me.  The second one is: what mechanism does
one use to arrange the data for the mating of the UI layer to the
business rules layer?    The business rules program, as I understand the
design, has to not know or care whether the user interface is RPG, Java,
or whatever.  What, specifically, does the business rules program expect
to get & send from & to the UI?

Here's a simple example:  A data file with 2 key fields and a 480-char
data field.  The UI needs to display the key fields and also a single
record.  Add/update/delete are possible when the single record is displayed.

(Maybe this is all too simple for layering, but I sooner expect that I
don't really understand the process itself.)
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-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.