Thanks guys for your thoughts on this, you're all making good logical sense so I'll defiantly play around with this stuff. Interestingly enough I was reading an article from BarnyB just yesterday about using AOP to control transactions, it might be a good place for me to learn a little more about implementing AOP, effectively killing two birds with a single stone, learning AOP and adding transaction support to my extended components.
http://www.barneyb.com/barneyblog/2006/10/22/transaction-advice/ Thanks again guys, I really appreciate it. Rob -----Original Message----- From: Brian Kotek [mailto:[EMAIL PROTECTED] Sent: 10 October 2007 16:54 To: CF-Talk Subject: Re: Invoking component The only real advantage that I'm aware of is that CFINVOKE allows you to dynamically specify the target component and method. I use it when I need that capability, but otherwise I find it too verbose. On 10/10/07, Bruce Sorge <[EMAIL PROTECTED]> wrote: > > OK, so I see that there are at least three ways to invoke a component. > Using the CFINVOKE tag, CFSET and wrapped in CFSCRIPT. So what is the > best method? Or are there different situations where you would use one > or the other? I would think that each has an advantage and disadvantage. > I typically use CFINVOKE, although recently I have been using the > CreateObject method in a CFSCRIPT tag. > > Bruce > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| ColdFusion is delivering applications solutions at at top companies around the world in government. Find out how and where now http://www.adobe.com/cfusion/showcase/index.cfm?event=finder&productID=1522&loc=en_us Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:290786 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4