• 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
Fwd: WO Jobs in Southern Germany
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fwd: WO Jobs in Southern Germany


  • Subject: Fwd: WO Jobs in Southern Germany
  • From: Jürgen Simon <email@hidden>
  • Date: Wed, 30 Dec 2015 22:46:57 +0000

Hello,

On 28 Dec 2015, at 20:26, Andrus Adamchik <email@hidden> wrote:

 
On Mon, Dec 28, 2015, at 05:28 PM, Miguel Arroz wrote:
  Just because those frameworks don’t explicitly have abominations like dependency injection mechanisms, it doesn’t mean they don’t follow the IoC principles.
 
Heh, there are DI frameworks out there that may be called abominations, but DI itself simply facilitates a very clean pluggable architecture if you use it right. And no, WO/EOF doesn't have it. And yes, it is a problem. Just ask the folks who are trying to write unit tests against EOF ;)

Absolutely. Proper DI facilities make things a lot easier to test. And the code much cleaner. Wouldn’t it be nice to have something like

@Autowired
EOEditingContext editingContext;

instead of 

EOEditingContext editingContext = ERXEC.newEditingContext()

perhaps even with some rule based setup, aka: D2W meets DI? 

Just thinking out loud.

J.

 _______________________________________________
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: WO Jobs in Southern Germany
      • From: Miguel Arroz <email@hidden>
  • Prev by Date: Ajax ?
  • Next by Date: Fwd: WO Jobs in Southern Germany
  • Previous by thread: Re: WO Jobs in Southern Germany
  • Next by thread: Re: WO Jobs in Southern Germany
  • Index(es):
    • Date
    • Thread