I only use a CFC if I have a need to encapsulate data and functionality.
I only put functions in a CFC if they are specifically related to that CFC's data.
I do not use CFCs as a generic "function library". I understand it is more efficient to put generic functions in a cfm file and include it, therefore you do not have the overhead of creating the CFC instance.


 Based on other responses, perhaps my view of CFCs is unique.


At 10:06 AM 6/1/2004, you wrote:
I am at a quandary right now weather or not I should place my UDFs in an include or a CFC. What do most of you do? Is there a difference if you you either place the included UDFs in the request scope or place the CFC in the app/session scope?

Right now I have gone CFC crazy and placed them in one. But I have an app that is going to be used eventually by thousands of people a day (intranet) and possibly across the country (extranet). SO I am looking at ways to make this thing much more efficient.

Regards,

Ian

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Ian Sheridan
[EMAIL PROTECTED]
http://www.savagevines.com
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev' in the message of the email.


CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).

An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]

--
Jeffry Houser, Web Developer, Writer, Songwriter, Recording Engineer
<mailto:[EMAIL PROTECTED]>
--
AIM: Reboog711 | Phone: 1-203-379-0773
--
My Books: <http://www.instantcoldfusion.com>
Recording Music: <http://www.fcfstudios.com>
Original Energetic Acoustic Rock: <http://www.farcryfly.com>



----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev' in the message of the email.


CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).

An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]

Reply via email to