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
>
> 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Download the latest ColdFusion 8 utilities including Report Builder,
plug-ins for Eclipse and Dreamweaver updates.
http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:290789
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to