Jaime Metcher wrote, On 4/4/2007 8:37 PM:
In ColdFusion, you could have a singleton CFC instance (of type
MyThingClass) associated with your regular CFC instances (of type
MyThing) and use the Smalltalk-style model. In fact, if MyThingClass
was really a factory CFC for MyThing objects, the chances are that
you'd be squarely in the Smalltalk-style world here - your "class
methods" and "class variables" would simply be (non-static) methods
and variables on your factory object and you could ask the factory for
actual instances of MyThing.

Yes, this is what I'm doing.  Does anyone think this is weird?



Not weird, but it could be overkill.


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