Just don't forget that cfinvoke can be used w/ an instance as well. At
that point, it becomes a matter of style between using object notation
and cfinvoke.

=======================================================================
Raymond Camden, ColdFusion Jedi Master for Hire

Email    : [EMAIL PROTECTED]
Yahoo IM : cfjedimaster

"My ally is the Force, and a powerful ally it is." - Yoda 

> -----Original Message-----
> From: Jeffry Houser [mailto:[EMAIL PROTECTED]] 
> Sent: Monday, August 26, 2002 10:54 AM
> To: CF-Talk
> Subject: Re: CFC Best methods?
> 
> 
>   My preference is to create an instance (using the cfobject 
> tag ) and then 
> call individual methods using the cfinvoke tag.
> 
>   Why do I like this?  Because then I do not have the 
> overhead of creating 
> the instance for every method I call.  I also have the 
> ability to perform 
> state management between method calls.
> 
>   If you are only calling a single method on a page, then there is no 
> reason for creating the instance of it at first.
> 
> 
> At 07:43 AM 8/26/2002 -0700, you wrote:
> >I Just read ben Forta's article on CFCs:
> >
> >http://www.macromedia.com/desdev/mx/coldfusion/extreme/bforta
_cfc.html
>
>I have a couple of questions:
>


______________________________________________________________________
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to