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



Isn't the view and controller always seperate in RPG and DDS no matter
what? MVC comes in to play mostly in the web world where you can have
code that is responsible for formatting the screen data as well as
generation of said data. But in the case of coding in RPG and DDS the DDS
is the view. You can't use DDS to change the actual data, only how the
data passed to it is displayed. RPG is your controller and the data
structures and database tables would be your model. So just by coding in
RPG and DDS you are already coding in MVC as long as you use external
datastructures and tables.

Please feel free to correct me if I've missed something.


Thanks
Bryce Martin
Programmer/Analyst I
Ext. 4777



"Coyle, Stephen F." <SCoyle@xxxxxxxxxxxxx>
Sent by: rpg400-l-bounces@xxxxxxxxxxxx
01/05/2009 03:02 PM
Please respond to
RPG programming on the IBM i / System i <rpg400-l@xxxxxxxxxxxx>


To
<RPG400-L@xxxxxxxxxxxx>
cc

Subject
MVC Subfile Example






Happy new year everyone,

Can anyone point me in the direction of an example
subfile
program that uses an MVC pattern? Or should the view and controller be
combined?

I've tried an MVC pattern on a single page display file
but am
now thinking of trying it on a subfile. Any suggestions or past
experiences would be very helpful.

Thanks all...
- Steve

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.