Damn, I replied to the wrong thread ... doh! Apologies for the hijacking! Rob
-----Original Message----- From: Robert Rawlins - Think Blue [mailto:[EMAIL PROTECTED] Sent: 10 October 2007 17:54 To: CF-Talk Subject: RE: Invoking component 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 > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Create robust enterprise, web RIAs. Upgrade to ColdFusion 8 and integrate with Adobe Flex http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:290806 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4