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



Tim Gornall wrote:
I just realized I don't know how to separate the
presentation and business logic.

To separate presentation and business logic in 5250 applications, try to visualize the display file in one module and the database files in another. If both modules need access to the same data structures, then either export/import the data structures, or pass them as procedure parameters. If the application is inquiry only (or even mostly), there's probably not enough "business logic" to warrant separate modules.

It get's more complicated, and the solutions vary, when working with "thick" or "rich" clients, where there's a tendency to move more and more workload to the client.

It gets even more complicated and the solutions become REALLY varied when you add middleware such as Net.Data, PHP, MS .Net, and J2EE, and their respective language environments.

And it gets REALLY REALLY varied if you chose SQL and object relational mapping for database I/O.

Nathan.

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.