You can also do this (and so much more heh) with onMissingMethod() in CF8:

http://corfield.org/blog/index.cfm/do/blog.entry/entry/Automatic_Transactions_with_onMissingMethod


On 10/10/07, Robert Rawlins - Think Blue <
[EMAIL PROTECTED]> wrote:
>
> 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
> >
> >
>
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Check out the new features and enhancements in the
latest product release - download the "What's New PDF" now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:290790
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