Whoops, thought I'd sent this already:

On Fri, Sep 12, 2008 at 2:28 AM, Tom Chiverton wrote:
> On Friday 12 Sep 2008, denstar wrote:
>> > I have a Reactor for each DSN.
>> So if you're dealing with multiple DSNs, you'd have to juggle multiple
>> config objects as well.  So instead of having a piece of code that
>> deals with whatever factory it is handed, you've got to have it keep
>> track of which config it was using, correct?  Basically shuttling
>> around that config object wherever you need that "metadata"?
>
> There's a mediator that hands the right Reactor object to the service, yes...
> but I'd not call it juggling or shuttling...

Man you're organized.  Heh.  Yeah, I was thinking of an on-the-fly,
unorganized approach. "I lost my configuration on the way to the
function"... not exactly likely, huh?  I think maybe it was for some
AOP, but you could do anything with AOP, so... eh...

>> You cannot get what factory the config belongs to from the config
>> itself,
>
> No.
> Why would you need to ? I guess I'm not seeing or remembering your use case.

It is more of a thought experiment on encapsulation at this point.
Heh.  Guess this isn't really the place for it, however.

>> -PS- Where's that rotating .sig?  :-)
>
> Good question.
> I'll poke Kontact :-)

Yay!  :-)

-- 
No emancipation without that of society.
Theodor Adorno


-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Reactor for ColdFusion Mailing List
[EMAIL PROTECTED]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

Reply via email to