Hello Ben,

        You have access to your CF server, so you are able to know that all
your CFCs are included in the /system/ folder.

        We are creating tools for website developers, so we can't rely on
all our clients being able to know their server side configuration. I mean
you can work on a server that might have a specific path to the server root,
and you might end up having a completely different path on the hosting
server.

        As our code is applied using Dreamweaver MX server behaviors, we
don't want to rely on knowing the exact path of your application in the CF
server root.

        That's why we want to create "self-contained" applications, that can
be moved to any location in the hosting server, and still work with no
specific reconfiguration.

        That's where our problem come from.

                                Alexandru

> We reference all of our cfcs either relatively from the same
> directory, or from the webroot:
> 
> Application.User = createObject("component", "system.User");
> 
> We reference our custom tags also from the webroot:
> 
> <cfimport prefix="layout" taglib="system/tags/layout" />
> 
> This works even when we have cfcs and tags with the same
> names for different sites, like this:
> 
> D:\web\sitefoo\system\User.cfc
> D:\web\sitebar\system\User.cfc
> 
> "sitefoo" won't access the "sitebar" code, nor visa versa.
> So, what gives? Why do I seem so blessed as to not encounter
> this problem plaguing everyone else?
> 
> --
> 
>      Ben Curtis
>      WebSciences International
>      http://www.websciences.org/
>      v: 310 478 6648
>      f: 310 235 2067
> 
> 
> 
> 
> 
> 
> ----------------------------------------------------------
> 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]

----------------------------------------------------------
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