Demystifying the Dependency Inversion Principle

Thanks, the article and the discussion taught me alot. Especially the specific example about the Repository. Lately been experimenting with the Repository pattern in some side projects in an attempt to make my code more modular. I find it very difficult to do with rails-like frameworks (django, rails, grails). Well, to be honest, I find it difficult to do with any framework that is very opinionated. Your article lit a light bulb in my head. Okay, now I'm going to try to express those ideas in code.