Thanks Dave, I will take a look. Andy McShane Head of Development Scout7 Ltd, 324a Lichfield Road, Mere Green, Sutton Coldfield West Midlands United Kingdom B74 2UW
Telephone: +44 (0)121 323 2640 Mobile : 07866 430783 Fax: +44 (0)121 323 2010 Email: mailto:[EMAIL PROTECTED] Website: www.scout7.com -----Original Message----- From: Dave Carabetta [mailto:[EMAIL PROTECTED] Sent: 29 November 2004 17:47 To: CF-Talk Subject: Re: Best way to access CFC's? On Mon, 29 Nov 2004 12:39:35 -0400, Andy Mcshane <[EMAIL PROTECTED]> wrote: > Starting to update a site by converting code to CFC's, anyone have any thoughts on what is the best or most efficient way to access a CFC? Is it better to use <CFInvoke> or should I use CreateObject? Which method is better and why? > They're effectively the same thing, except you'd use createObject if you're a cfscript fan and the tag-based cfinvoke if you're not. If you are new or relatively new to CFCs, be sure to check out this document which is a community-driven "best practices" document for working with them: http://www.dintenfass.com/cfcbestpractices/ Regards, Dave. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185638 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

