Voting: Unterschied zwischen den Versionen

Aus Java Student User Group Austria - Java + JVM in Wien Österreich / Vienna Austria
Wechseln zu: Navigation, Suche
(RhzqwzkLoLIwuXho)
(LqgWWofUPFTemd)
Zeile 1: Zeile 1:
Perhaps it's just my limted penasrol experience with IoC, but I'm not convinced (yet) that making my classes more complex by adding calls to factories that abstract away calls to service locators (or worse, making my classes depend directly on the IoC containers themselves) is all that much better than a few extra parameters being passed into a constructor.  Perhaps another valid approach would be to consider why the class has so many different contexts that not all of the dependencies are used in every case and refactor it down to multiple classes.  In the end, I'm sure there are cases where both approached make sense  thanks for pointing out the design consideration!
+
I can’t believe that you just boggled about that subject. Not too many guys appreciate the value of these kinds of items Although not really specifically related, your website has provided me with a few great ideas for written content and design for a number of services websites I am building, for issues like Accountancy, Dentists, Plumbers, Solicitors and moving firms

Version vom 16. Dezember 2012, 06:54 Uhr

I can’t believe that you just boggled about that subject. Not too many guys appreciate the value of these kinds of items Although not really specifically related, your website has provided me with a few great ideas for written content and design for a number of services websites I am building, for issues like Accountancy, Dentists, Plumbers, Solicitors and moving firms