Walden H. Leverich wrote:
Nope. Not handwriting every class at all. We have a common base class
from which we inherit called (oddly enough) BusinessObject. This class
handles all IO to the tables. All we do is create the class "shell" that
has the correct properties and any methods we want to add.
It's the "any methods we want to add" that I'm talking about, Walden.

If there is no business logic, then I argue that objects don't buy you anything. If there is business logic, you have to write it. That's my only point about the whole thing. Anyway, we're far afield here. Some purists would argue that putting "ensureLoaded" on every get is unnecessary overhead but I really don't plan to go down that route. I was trying to compare approaches on the i, and specifically procedural logic in RPG vs. business objects.

Joe


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.