|
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
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.