J MacKay wrote, On 3/27/2007 12:24 PM:
> Aaron Roberson
> This is a huge problem because it requires that I change the
> path/package name on every object invocation and within every object
> that returns a full qualified path and object name as the return
> type or accepts an argument with the path and object name as the type.

>> Sammy Larbi
>> Also, you may want to use a factory (if it is conceivable, ...

Sammy,

So are you saying remove the path information from the components and let the factory handle it ?


Well, I didn't think it was in the components, but in their instantiation (ie, createObject(..)). But yes, I think even the addition of a simple function getComponent("componentName") would help tremendously, if you removed the path info from it.


You are subscribed to cfcdev. To unsubscribe, please follow the instructions at 
http://www.cfczone.org/listserv.cfm

CFCDev is supported by:
Katapult Media, Inc.
We are cool code geeks looking for fun projects to rock!
www.katapultmedia.com

An archive of the CFCDev list is available at 
www.mail-archive.com/[email protected]

Reply via email to