Nathan

I don't really know what point it is you are making, but it seems to me you
are promoting the use of business objects. Personally I fully advocate their
use (and agree with Walden, disagree with Joe). The benefits in performance,
scalability and developer productivity are real and easily recognised and
very real.

Maurice O'Prey


-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On
Behalf Of Nathan Andelin
Sent: 08 July 2008 16:05
To: Web Enabling the AS400 / iSeries
Subject: Re: [WEB400] Mapping SQL Result Sets to Browsers

From: Joe Pluta
this sort of (programmer) performance gain very easily translates
into performance LOSS for the user. In the above situation, let's
take the calculation. Is it performed when the Item object is loaded?
Or when the property is requested?

I've been considering that question. Particularly as it relates to
"available balance" in bank accounts, which is a calculated value. And the
algorithm can be quite complex. Holds of various amounts may be in effect,
and may have various durations, and come from various sources (questionable
deposits from questionable sources, loan collateral, minimum balance
requirements, scheduled withdrawals, etc.).

In the former case it will be calculated and often never used, while
in the latter case it will be calculated over and over again.

And back to the banking application "available balance" may be calculated
one way when the customer is viewing the account over the Internet or
standing in front of the teller window, but calculated another way when a
batch process is clearing checks or automated loan payments or ACH
transactions, or automated transfers, or ATM transactions, or debit card
transactions from merchants, where overdraft protection may or may not come
into play.

Available balance may calculated differently based on type of account
(Checking, Savings, IRA, SEP, Certificates of Deposit, Credit Card, etc.)

I guess the point, is that you may need to plan for a lot of flexibility,
and change as business rules change.

Nathan.




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.