Thanks James. I will have to keep an eye on that. On Sep 28, 1:30 pm, "James Allen" <[email protected]> wrote: > The way I see it is that with Transfer - due to the excellent caching layer > - is that while there may be an initial performance hit while the objects > are instantiated, once they are performance is great. > > I've just built another big application (a rebuild of an old procedural > codebase) that uses Transfer and performance is superb. Much faster than the > old site which used queries throughout (although no real caching). > > The great thing is that once a site is up and running most of the commonly > accessed objects will be in the cache at all times and so performance should > be great. This will obviously depend on overall server usage and site > structure but so far I've found relying on the Transfer cache is spot on. > > --- > James Allen > E: [email protected] > Blog:http://jamesallen.name > Twitter: @CFJamesAllen (Coldfusion / Web development) > Twitter: @jamesallenuk (General) > Twitter: @JamesAllenVoice (Voiceover) > > -----Original Message----- > From: [email protected] [mailto:[email protected]] > > On Behalf Of David Long > Sent: 28 September 2010 18:26 > To: transfer-dev > Subject: [transfer-dev] Re: listByProperty with Relationships > > I am glad I learned a little bit more about the transfer object. I > have now shortened my gateway CFC for the variations section of my > application by converting query lists to objects by a pretty big > amount of lines. > Could you tell me though what the performance impact is on using the > object? It seems as though it causes quite a few function calls at > times... > > On Sep 28, 12:21 pm, Tom McNeer <[email protected]> wrote: > > Hi David, > > > On Tue, Sep 28, 2010 at 10:30 AM, David Long <[email protected]> > wrote: > > > Thanks Tom. That is extremely helpful. > > > Good. Glad to have helped. > > > > I am still very new to ORM so > > > I didn't realize that it is better to have an object than a query. > > > Well, the "point" of using an ORM is to be able to use objects. Otherwise, > > it's not much of a help. > > > But it's not "always" better to use objects. Sometimes a simple query list > > is all you need. And the query list avoids some expensive object creation. > > > As you work with Transfer - or CF9's built-in Hibernate functions - you'll > > get more of a feeling of what to use when. > > > Good luck. > > > -- > > Thanks, > > > Tom > > > Tom McNeer > > MediumCoolhttp://www.mediumcool.com > > 1735 Johnson Road NE > > Atlanta, GA 30306 > > 404.589.0560 > > -- > Before posting questions to the group please > read:http://groups.google.com/group/transfer-dev/web/how-to-ask-support-qu... > -on-transfer > > Try out the new Transfer ORM Custom Google > Search:http://www.google.com/cse/home?cx=002375903941309441958:2s7wbd5ocb8 > > You received this message because you are subscribed to the Google Groups > "transfer-dev" 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 > athttp://groups.google.com/group/transfer-dev?hl=en
-- Before posting questions to the group please read: http://groups.google.com/group/transfer-dev/web/how-to-ask-support-questions-on-transfer Try out the new Transfer ORM Custom Google Search: http://www.google.com/cse/home?cx=002375903941309441958:2s7wbd5ocb8 You received this message because you are subscribed to the Google Groups "transfer-dev" 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/transfer-dev?hl=en
