Use CFINVOKE to invoke static UDF in a CFC, without CreateObject? Henry
>> Using the CFINVOKE tag, CFSET and wrapped in CFSCRIPT. So >> what is the best method? > >They are all equally good. > >> Or are there different situations where you would use one or >> the other? > >Yes, although you could simply use one in all cases if you really wanted to. >If you're creating objects, you'll probably want to use CreateObject; if >you're just invoking a method without explicitly instantiating an object >first, you might prefer using CFINVOKE. > >Dave Watts, CTO, Fig Leaf Software >http://www.figleaf.com/ > >Fig Leaf Software provides the highest caliber vendor-authorized >instruction at our training centers in Washington DC, Atlanta, >Chicago, Baltimore, Northern Virginia, or on-site at your location. >Visit http://training.figleaf.com/ for more information! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today ColdFusion 8 beta - Build next generation apps Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:290832 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

