Dependency Injection, why is it awesome and why should I care?

Dependency Injection is a very common pattern used in modern web development. It's not specific to Java or ColdFusion or JavaScript...but it's equally awesome in all of those! And in other languages too! We'll look at some of the problems that Dependency Injection helps to solve; we'll look at some related concepts such as "aspect oriented programming" (AOP), and inversion of control (IOC); and show you how adding a DI framework to your app might be just the magic your app needs!

Target Audience: People that want to know what Dependency Injection is and when/why I should use it. You've heard other terms like "inversion of control" and "aspect oriented programming" thrown around and aren't sure what they mean. Maybe you're a FW/1 user and want to know why everyone is excited that the new version of FW/1 will include DI/1. Or you just want to know what ColdSpring does -- we'll cover that too. (This talk will not be ColdFusion specific. Java and JavaScript programmers will equally benefit from the content.)

Assumed Knowledge: For this talk we'll assume you are pretty familiar with classes and objects (in whatever language you prefer...JavaScript, ColdFusion, etc). You've built a variety of classes/objects in some of your projects, and are familiar with OO concepts such as inheritance and composition.

Main Points:

  • What is Dependency Injection?
  • When / why would I use this in my projects?
  • Intro to Aspect-Oriented Programming (or AOP).
  • Intro to Inversion of Control (IOC).
  • What is "Bean Management"?
  • Code samples in a variety of languages showing when it might be useful to add some DI magic into your application.



Nolan Erck

Nolan Erck has been developing software for 19 years. Starting in the video game industry working on titles for Maxis and LucasArts, then advancing to web development in 1999, his list of credits includes Grim Fandango, StarWars Rogue Squadron, SimPark, SimSafari as well as high-traffic websites for clients. Nolan manages the SacInteractive User Group, teaches classes on aspects of software development, and regularly gives presentations at conferences and user groups across the country.