Peter you do not NEED to create value objects to send coldfusion code to Flex. It may be desirable in situations but Flex is perfectly happy turning your query record set into an ArrayCollection of generic objects. It will also convert arrays and structures into the appropriate generic object.Y ou could create a factory method on an object to consume and convert into a typed object on the Flex side. With large arrays of objects that is sometimes a more performant solution.
-----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Peter Bell Sent: Thursday, July 17, 2008 7:48 AM To: [email protected] Subject: [CFCDEV] Re: Iterators / IBO's [snip] A few comments: Firstly, sometimes you HAVE to create VO's - such as if you're sending them over the wire to a Flex app as you can't send cf code over the wire Secondly it solves the performance problem of one bean per record which can be nice [SNIP] --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
