• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: WebObjects and dependency injection (DI)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >WebObjects and dependency injection (DI) (From: Andrus Adamchik <email@hidden>)
 >Re: WebObjects and dependency injection (DI) (From: Henrique Prange <email@hidden>)
 >Re: WebObjects and dependency injection (DI) (From: Andrus Adamchik <email@hidden>)
 >Re: WebObjects and dependency injection (DI) (From: Anjo Krank <email@hidden>)
 >Re: WebObjects and dependency injection (DI) (From: Andrus Adamchik <email@hidden>)
 >Re: WebObjects and dependency injection (DI) (From: Anjo Krank <email@hidden>)
 >Re: WebObjects and dependency injection (DI) (From: Andrew Lindesay <email@hidden>)
 >Re: WebObjects and dependency injection (DI) (From: Anjo Krank <email@hidden>)
 >Re: WebObjects and dependency injection (DI) (From: Henrique Prange <email@hidden>)
 >Re: WebObjects and dependency injection (DI) (From: Anjo Krank <email@hidden>)
 >Re: WebObjects and dependency injection (DI) (From: Lachlan Deck <email@hidden>)

  • Prev by Date: WebObjects jobs in Paris
  • Next by Date: Re: Multi-Tenant Data Architecture
  • Previous by thread: Re: WebObjects and dependency injection (DI)
  • Next by thread: Re: WebObjects and dependency injection (DI)
  • Index(es):
    • Date
    • Thread