There's also another way to invoke:

<cfscript>
stuff = createObject('component','stuff')
</cfscript>

Same as <cfobject> I guess.  I think it's more of a style issue than 
anything at this point Dick.

~Todd

On Mon, 26 Aug 2002, Dick Applebaum 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:
> 
> Ben shows 2 methods of using a CFC
> 
>     <cfinvoke....
> 
>     <cfobject...
> 
> Which is preferred, and why?
> 
> The docs show several methods of passing parameters to a cfc, which is 
> preferred and why.
> 
> TIA
> 
> Dick
> 
> 
______________________________________________________________________
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
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