Barney,

This is pretty much what I was wanting to do. I think your first post was the 
most helpful. I suppose I will implement it right now so that all Person 
objects are initialized when the getTeamMembers method is called. If/when the 
bottleneck arises, it shouldn't be much more difficult to implement the lazy 
loading scheme in the Person object itself.

Thanks for the suggestions, just wondering what other people did.

Cedric

>That is definitely true.  But Cedric didn't say he was passing the
>result of getTeamMembers to a display page.  What if he was just
>needed to invoke some method on all the members of the team (like
>giving them a "point" for playing in a game last weekend).  Then you
>definitely need the actual Player objects.
>
>Not that that's what he's doing, but he didn't specify one way or the other.
>
>cheers,
>barneyb
>
>On 6/9/05, Jeremy Adams <[EMAIL PROTECTED]> wrote:
>> I think something similar was addressed in an earlier thread...this is
>> a quote from the thread (think it was by sean corfield):
>> 
>> "Use the query result - it's already an OO abstraction. Do not convert
>> your query to an array of objects - aggregate display pages do not
>> need objects."
>
>-- 
>Barney Boisvert
>[EMAIL PROTECTED]
>360.319.6145
>http://www.barneyb.com/
>
>Got Gmail? I have 50 invites.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:209151
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to