On 14/07/2005, at 2:16 PM, Franko wrote:

Performance wise, when retrieving the attributes of an object instance is
there any difference between:

a)including the tag code and using the  <q4:contentobjectget> tag

or

b) creating an object of the specific type and performing the
getData(objectid) function

Not sure about performance. Why not make a simple CFM page that tests the speed of each? Also might want to look at SQL call differences, as q4 has to do an extra lookup.

In terms of best practice, creating the object type and using getData() is probably the better option, and... you have a real object, which means you can call any other of the object's methods.

Maybe there's a CFC method somewhere in application scope which will do reflection ala q4 just using the objectid, and actually pass you back an object. Anybody know of one?

- tim


---
You are currently subscribed to farcry-dev as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/

Reply via email to