@NathanGloyn          nathans.dropbox@gmail.comDesign Code Release   nathangloynInversion of ControlContainers Vs. handrol...
Agenda•   A common vocabulary•   Why use dependency injection•   From scratch(ish)•   Summary•   Questions
A commonvocabulary
Direct control
Object Graph                           Data Access              Repository Controller                Repository    Data Ac...
Inversion of Control
Container
Composite Root
Lifecycle
Why use dependency    injection?
TestableThinkstock Images/Comstock/Getty Images
Loosely coupled
Evolvable
CodeFromScratch(ish)
Summary•   IoC not always needed•   Easy to implement IoC•   Removes complexity•   Can add complexity
Questions
Upcoming SlideShare
Loading in...5
×

Inversion of control containers vs handrolled how they compare

362
-1

Published on

Slides from the talk at DDD 10

Published in: Technology, Business
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
362
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
2
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Inversion of control containers vs handrolled how they compare

  1. 1. @NathanGloyn nathans.dropbox@gmail.comDesign Code Release nathangloynInversion of ControlContainers Vs. handrolledHow they compare
  2. 2. Agenda• A common vocabulary• Why use dependency injection• From scratch(ish)• Summary• Questions
  3. 3. A commonvocabulary
  4. 4. Direct control
  5. 5. Object Graph Data Access Repository Controller Repository Data Access Service Repository Data Access Repository Data Access
  6. 6. Inversion of Control
  7. 7. Container
  8. 8. Composite Root
  9. 9. Lifecycle
  10. 10. Why use dependency injection?
  11. 11. TestableThinkstock Images/Comstock/Getty Images
  12. 12. Loosely coupled
  13. 13. Evolvable
  14. 14. CodeFromScratch(ish)
  15. 15. Summary• IoC not always needed• Easy to implement IoC• Removes complexity• Can add complexity
  16. 16. Questions
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×