Application "shop" uses CFCs with the static mapping /shop
/shop is mapped in the CF Admin to \\devserver\apps\shop\
Then I would create instances using this syntax:
CreateObject('component', 'shop.model.shopdao')
I wouldn't use a mapping. I'd use a custom tag path (to the directory \\devserver\apps). That doesn't solve your immediate problem however:
Lets say we have some developers, working on the same application. Every developer has a working folder on devserver, they use CVS or VSS. \\devserver\developerA\apps\shop\ \\devserver\developerB\apps\shop\
Why not work on localhost?
Also, it is probably better to assign one developer to work on a shared component instead of allowing everyone to work willy-nilly on them at the same time. OO lets you break systems down into small pieces so that work can be farmed out more easily.
(By the way, the cfargument documentation says:
type can be a variableName: a string formatted according to
ColdFusion variable naming conventions.
What it means is that that type= value must be a valid CF variable name, e.g., shop.shopdao - it doesn't mean that type= can take an expression.
Sean A Corfield -- http://www.corfield.org/blog/
"Conform! Consume! Obey!" -- Mr Snaffleburger : http://www.matazone.co.uk/theotherside.html
----------------------------------------------------------
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]
