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



Thanks Chris, much appreciated.  Sure to be an interesting read.

Adam

rpg400-l-bounces@xxxxxxxxxxxx wrote on 12/06/2006 12:41:24 PM:

AGlauser@xxxxxxxxxxxx wrote:

Good morning all,

This is perhaps a bit of a heavy topic for a Monday morning, but it's 
on
my mind so I'll ask.  Does anyone have any references or sample code 
which
gives some guidance on structural programming techniques for separating
display logic from business logic in RPG.  I am familiar with the
Model-View-Controller (MVC) technique in OO languages, but I am having
trouble figuring out the best way to apply these sorts of techniques in 
a
structured programming environment.

Any guidance would be much appreciated,
Adam

I have some notes from a project where we separated business logic
from presentation logic.

http://www.pando.org/downloads/alsp.doc
http://www.pando.org/downlaods/alspmods.doc

alsp stands for Application Logic Service Program.

All V3R2 (sorry, an old project).

The first doc lists all the procedures we found necessary
to implement an interface much like PDM's.

The second doc lists (on a very high level) modifications
required to an interactive template program in order
to utilize the ALSP.

I have source code as well, but since I've been known
to prefix my variables with an '@' sign, I won't post links
here :)

It's not much, but sometimes just knowing what
procedures need to be written is a help,

Chris
-- 
This is the RPG programming on the AS400 / iSeries (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.


#####################################################################################
Attention:
The above message and/or attachment(s) is private and confidential and is 
intended 
only for the people for which it is addressed. If you are not named in the 
address 
fields, ignore the contents and delete all the material. Thank you. Have a nice 
day.

For more information on email virus scanning, security and content
management, please contact administrator@xxxxxxxxxxxx
#####################################################################################

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.