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:185545 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=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54