In the ole days before Valence, a common iSeries HTTP cgi request may have looked something like:
"http://myhost.myserver.com:8080/pgms/myprogram.pgm?request=veninq&sys=1&ven=1234&usr=us er&opt=Y"
Once the program from the URL executed, then another html page might be displayed with hidden URLs and/or forms that make additional posts, and so on.
Now, of course, in an MVC app, all of the necessary code is contained in one "application". This app is loaded "all at once" and then processing begins.
I have a need wherein I need to break up this app so that it can be called via URL's that contain the parms needed to process different parts of the application. Or, if not breaking up the app, create hooks and/or entry points to the app based on the URL string.
After hours of googling and researching, I have yet to see a hint of how this could be done. Can this be done? If so, some hints on how to get started would be greatly appreciated.
"http://myhost.myserver.com:8080/pgms/myprogram.pgm?request=veninq&sys=1&ven=1234&usr=us er&opt=Y"
Once the program from the URL executed, then another html page might be displayed with hidden URLs and/or forms that make additional posts, and so on.
Now, of course, in an MVC app, all of the necessary code is contained in one "application". This app is loaded "all at once" and then processing begins.
I have a need wherein I need to break up this app so that it can be called via URL's that contain the parms needed to process different parts of the application. Or, if not breaking up the app, create hooks and/or entry points to the app based on the URL string.
After hours of googling and researching, I have yet to see a hint of how this could be done. Can this be done? If so, some hints on how to get started would be greatly appreciated.
Comment