Explore >> Select a destination


You are here

blog.ploeh.dk
| | simpleprogrammer.com
4.8 parsecs away

Travel
| | What Languages to Learn, How to Structure Code, Algorithms & Data Structures, Methodologies, Source Control, Object Oriented Design, Frameworks or Stack ...
| | sookocheff.com
5.1 parsecs away

Travel
| | Inversion of Control (IoC), also known as Dependency Injection (DI), allows an object to define their dependencies as constructor arguments (strictly speaking, you can set these dependencies as properties, but the examples I will use today are constructor-based). This is the inverse of the object itself controlling the instantiation or location of its dependencies, hence the name Inversion of Control. Let's look at an example from Stackoverflow using a text editor with a spell checking component:
| | solnic.dev
4.5 parsecs away

Travel
| | I was wondering what do we, rubyists, think about dependency injection these days as I remember some discussions about it which were mostly lots of post-java-trauma type of criticism. I had this blog post in the back of my head for a long time but knowing that this subject was sort of...explored...
| | arendjr.nl
30.6 parsecs away

Travel
| Practical tips that allow you to build an evolving architecture