Slides and code from a talk I gave on the Dependency Inversion Principle. Covers Dependency Injection, Service Location, TDD & Mocking (how they play together nicely), Auto-mocking, IOC tools and a little best practice.

The code used in the talk is available at https://github.com/tommysqueak/dependency-inversion-talk