I found myself thinking very similar things. At least in Java, one can
use a URLClassLoader to point to a jar file to get an entire package
that isn't in the classpath (the classpath being a rough equivalent of
a mapping). Something like this in CF would be nice (e.g. point to a
folder  that acts like a mapping for the current request only).

On 2/24/06, Figy, Kam <[EMAIL PROTECTED]> wrote:
> This is why my company doesn't use any of the major frameworks, most of
> our clients are on shared hosts.
>
> That said, there's no excuse for hard coding CFC paths. At the very
> least there should be some kind of variable set to the path to your
> app's CFCs. The only exception to this, is that you can't put variables
> in extends declarations. It's lame but we usually keep base components
> in the same directory as their children because of this limitation.
>
> Personally I think the way CF references CFCs is about the most backward
> thing CF does. I know it's Java-esque, but in java it doesn't map to
> your directory structure. There should at least be a way of specifying a
> upward-relative path to a CFC, so you could inherit something that isnt
> in a directory below yours without clunky mappings.

--
CFAJAX docs and other useful articles:
http://jr-holmes.coldfusionjournal.com/

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233315
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=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to