You can also look at something like Transfer, which manages these kinds of relationships for you and caches the CFC instances to mostly remove the performance hit caused by creating lots of instances on each request.
On Mon, Sep 29, 2008 at 6:51 AM, John Whish <[EMAIL PROTECTED]>wrote: > Coming from a database orientated background I've always thought of > relationships between two objects in the same way. If I have a company > object and an employee object then the employee object would hold a > reference to the company object. Recently I wanted to get a list of > employees for the company and it got me thinking that instead of looking up > to the database, maybe I should be holding an array of employees in the > company object. This has some advantages, but seems like a bad idea. Has > anyone actually done it like this? > > Thanks in advance :-) > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
