>
> On Jun 20, 2008, at 4:08 PM, Jaime Metcher wrote:
> > Re returning arrays of objects from the DAO - I like everything
> > about this
> > EXCEPT the fact that it's not going to work.
>
> That's what the Iterating Business Object pattern is for. It gives you
> the benefits of consistent encapsulation of getter, setter and other
> such logic without the performance costs of instantiating an array of
> objects.
>

Peter,

Yep, all power to the IBO - I thought you'd be along to recommend it :) and
I wholeheartedly concur.  It's not an array, though.  If you *really* want
array semantics, you need to worry about performance.  Otherwise go with a
query or a query-backed wrapper like an IBO.

Jaime



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CFCDev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfcdev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to