Andy,

If I invoked my CFC's in the application file I would have a huge list
of variables, which seems odd to my pee-brain. Also, most of my CFC's
return queries that are different from request to request, which
doesn't seem like the kind of thing that should go in the application
framework. Am I right about that or can you please fill me in on the
missing details?

Thanks a lot,
Aaron

On 4/27/06, Andy Matthews <[EMAIL PROTECTED]> wrote:
> One suggestion would be to invoke the CFC in only one location (if at all
> possible). I invoke my CFCs in the Application file into the APPLICATION
> scope. Then I just call them like so:
>
> <cfset myImage = APPLICATION.imageObj.methodName()>
>
> <!----------------//------
> 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 4:24 PM
> To: CF-Talk
> Subject: Question about Component Paths
>
>
> The first time I uploaded my site (this is the first site I've built
> using CFC's) I had to rush through all the files with invoke
> statements and change the paths to my components. On my development
> machine it is whmedia.componentdirectory.componentname but on the
> server it is just componentdirectory.componentname.
>
> Any ideas or suggestions on streamlining this so that I don't have to
> update multiple files every time I upload to the remote server?
>
> Thanks in advance,
> Aaron
>
>
>
> 

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