Re: WebObjects and dependency injection (DI)
Re: WebObjects and dependency injection (DI)
- Subject: Re: WebObjects and dependency injection (DI)
- From: Andrus Adamchik <email@hidden>
- Date: Tue, 22 Sep 2009 11:14:53 +0300
On Sep 22, 2009, at 10:50 AM, Lachlan Deck wrote:
Yeah, this is what I assumed Anjo was getting at - after some
thought, of course (as Anjo's usually the king of succinctness :)
It seems to me that factory instantiations (as above) and/or making
use of delegates provides all the opportunities for environment/
context-based switching that DI promises. i.e., both delegate style
and DI style require the declaration of injection points and
interfaces to implement, factories providing all the opportunities
for custom implementations etc... so Andrus would you like to
elaborate on why you think DI would be particularly advantageous
over these given that it would require hacks?
I haven't said it would be advantageous under WO. This remains to be
seen. WO is not built for DI, so slapping it on top is going against
the flow. That much I can see already.
Andrus
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden