thanks dominic, your right this was in relation to your other post, and it does
make more sense putting them in cfm's
in the meantime i would look more in the cfc's.
do you use cfc's? and if so what do you use them for, and although they are
good for relating functions, is there any benefit over calling a cfm page a
certain name and then putting all relating functions to that name in that cfm
page?
thanks once again
>Hi Richard,
>
>A CFC function is not exactly the same thing as a UDF. Functions
>inside a cfc belong to a collection of functions that you reference
>via the cfc object and a cfc must be instantiated using either
>cfobject, createobject or cfinvoke (cfinvoke to use a method in the
>cfc using a transitory instance of the cfc(!)).
>
>If the cfc really is just a collection of udfs, I'd recommend putting
>them in a cfm and doing as you did. Alternatively, if you are putting
>ALL your udfs in there and going the way of the previous post on this
>topic; I'd do this:
>
><cfset application.udfs = CreateObject('component', 'path.to.myCfc')>
>
>Do some more reading up on using CFCs, the livedocs is probably a good
>place to start.
>
>HTH
>
>Dominic
>
>
>
>2008/5/22 Richard White <[EMAIL PROTECTED]>:
>>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305901
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4