• 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: Anjo Krank <email@hidden>
  • Date: Mon, 21 Sep 2009 23:02:39 +0200

Am 21.09.2009 um 22:46 schrieb Andrus Adamchik:

To be sure all of that can be achieved without DI. DI just makes it declarative and cleaner, and actually encourages you to follow this specific development pattern.


Thanks for the write-up, but yeah, this can all be achieved w/o it. I really don't see why I shouldn't configure my app with if (Configration.isStaging())... and instead use DI. At least my way I easily find all the occurrences and have full logic support if(! Configuration.isStaging()). How is DI "cleaner" in any way when:

- I have any number of DI containers and their various syntax to chose from
- I can't *find* the dependencies when I really want or need them. Have you ever tried to debug such an app that wasn't written by yourself? Take a look at the Red5 Media server for some fun...


Cheers, Anjo

_______________________________________________
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


  • Follow-Ups:
    • Re: WebObjects and dependency injection (DI)
      • From: Andrew Lindesay <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>)

  • Prev by Date: Re: WebObjects and dependency injection (DI)
  • Next by Date: Re: Very interesting case
  • Previous by thread: Re: WebObjects and dependency injection (DI)
  • Next by thread: Re: WebObjects and dependency injection (DI)
  • Index(es):
    • Date
    • Thread