> ...and say I download some CFCs that refer to each other as
> "com.foo_app.bar" and "com.foo_app.baz", because they expect a mapping
> of "/com" to go to wherever you drop these guys. Wouldn't this be fine?

It's fine if you use a mapping or use fully qualified names - but not so
fine if you don't.

The problem is eliminated if you use fully-qualified names (as in your
"com.foo_app.bar" example).  But if the external app just called "bar" then
you might have conflicts.

Remember that CF caches its references.  So if you called just "bar" then CF
caches the location of that.  If you try to call a different "bar" then
you'll get the first one, not the "closest" one.

A big problem on shared servers is that CF checks the webroot AFTER
mappings.

So even in your com.app.bar case you might have everything working fine,
then somebody else comes along and creates a "com" mapping and the whole
thing goes to hell.

Not a problem at all if you control the server, but this very problem cost
me (and several other folks) several days of work.

Jim Davis



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