Nathan,

You got it.

Dave

Nathan Andelin <nandelin@xxxxxxxxx> 8/8/2008 10:50 >>>
From: Trevor Perry
why would you suggest PHP as "thin presentation layer"?

To qualify my answer, let me admit that I don't use PHP. And I don't use Net.Data much, either. I normally handle the entire request-response cycle with ILE service programs. So my answer is more from a concept-level rather than hands-on experience.

But what if I didn't have an ILE toolkit to map http request data to ILE program variables? Or to map program data to HTML response streams? I could use something like Net.Data or PHP for that.

I'd consider an architecture where the scripting environment (whether PHP or Net.Data) did little more than receive requests, map input data to formats that could be passed to ILE servers via data queues, receive response data in return, and map it to HTML output streams. Other developers might use a call-level interface.

So your DB I/O and business logic is handled by the native language environment. Or, in Dave Odom's case, perhaps handled by the REXX language environment, or the SQL language environment.

Nathan.




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.