Sounds good. I would throw 'lazy loading' in your presentation too.
ie no point in getting 200 OrderItem objects when the view only needed the orderRef from the Order. When the view asks for getOrderItems() you can do the big lazy loading of the array. Alan ________________________________ From: John Whish <[email protected]> To: [email protected] Sent: Monday, March 2, 2009 10:13:43 AM Subject: [CFCDEV] Re: Presenting on OO - Should I show the "Gateway" pattern? Hi Alan, personally I like getting multiple rows as a query and then looping over them to convert them to an array of objects so my View never sees the query object, but I know that that is not ideal in terms of performance. I think the answer may be that I need to present all options and then let the individual developer decide... --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
