Dependency Injection, the Dependency Inversion Principle, and You #72

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet

It's received wisdom that Ruby doesn't need dependency injection frameworks. In this talk, I'll claim that this is at least in part because we don't apply the Dependency Inversion Principle[1] properly. I'll explore the intent of the principle, its benefits for maintainable and testable code, and show how to improve existing code through its application.

I'll then go on to explore how to create objects with dependencies wired in, hoping to settle the question of whether we need a framework to do this.

Hint: I don't think we do.

Oh also: I'll use some colour for my slides, unlike in previous talks! ;)

[1]http://www.objectmentor.com/resources/articles/dip.pdf

tlossen commented Mar 20, 2012

+1

DIP FTW!

deepj commented Mar 20, 2012

+1

+1, sounds great and Tom is a great speaker.

iconara commented Mar 20, 2012

+1

DouweM commented Mar 22, 2012

👍

psyho commented Mar 28, 2012

+1

pcreux commented Mar 29, 2012

👍

despo commented Mar 29, 2012

+1

yundt commented Mar 29, 2012

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment