The path to a CFC is just a dot version of folder notation.

Example:

webroot/foo/components/bar.cfc

woudl translate to

foo.components.bar

which would look like

<cfset fooObj = createObject("component","foo.components.bar")>


Makes sense?

On 11/6/06, Eric Roberts <[EMAIL PROTECTED]> wrote:
>
> I am bit new to CFC's...I have a qestion regarding how they are
> addressed.  In Advanced ColdFusion, it says that if the directory is in the
> web root, you can address the cfc as com.cfcdirectory.cfc...  What if we
> had a repository that was just above the webroot so that we have a common
> repository of cfc's that are accessable to all of our websites?  Also...in a
> clustered environment, what is the best way to handle a repostiory.  Can you
> then use a single directory to store the cfc's and be able to accesss them
> anywhere in the cluster, or would you need a copy on each physical box?  I'm
> pretty excited to be working on aproject finally where I get to use
> CFC's.  Any help would be greatly appreciated!
>
> Eric
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259279
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to