Aaron...

Are there times when you store something a variable, to either make it
easier to type, or because you're going to reference it multiple times?
Instantiating a CFC into a persistent scope is the same thing.

If you invoke a CFC each time you need it you're using, not only extra
bandwidth but extra procesing on the server side. Storing the CFC in a
variable on the other hand allows you to create a new instance from
something that's already residing in memory.

<!----------------//------
andy matthews
web developer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--------------//--------->

-----Original Message-----
From: Aaron Roberson [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 27, 2006 7:01 PM
To: CF-Talk
Subject: Re: Question about Component Paths


I understand that, but my component only contains static methods and
not instance methods (should I instantiate the component anyways?).

Thanks,
Aaron


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:239037
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

Reply via email to