Making the Complex Simple - Basic to Basics: Understanding IoC Part 2 (Creation)
“In my last back to basics post we talked about what inversion of control (IoC) is in regards to inverting control of interfaces.
We looked at how we can benefit from changing the control of the interface from the service to the client of that service.
This time we are going to tackle the more common form of IoC that is quite popular these days, and I’m going to show you why dependency injection is only one way to invert the control of the creation of objects in our code.
…
I’ve really been enjoying John’s Back to Basics posts… Sometime you just need a review/brain cell refresh (or a jump start in breaking out of your day-to-day code grind and into learning something new… :)
Make sure you also catch the other posts in his series (to date);
- Getting Back to Basics: Introduction and Why
- Back to Basics: What is an Interface?
- Back to Basics: Cohesion and Coupling Part 1
- Back to Basics: Cohesion and Coupling Part 2
- Basic to Basics: What is Dependency Inversion? Is it IoC? Part 1
- Basic to Basics: What is Dependency Inversion? Is it IoC? Part 2
- Back to Basics: Understanding IoC
No comments:
Post a Comment
NOTE: Anonymous Commenting has been turned off for a while... The comment spammers are just killing me...
ALL comments are moderated. I will review every comment before it will appear on the blog.
Your comment WILL NOT APPEAR UNTIL I approve it. This may take some hours...
I reserve, and will use, the right to not approve ANY comment for ANY reason. I will not usually, but if it's off topic, spam (or even close to spam-like), inflammatory, mean, etc, etc, well... then...
Please see my comment policy for more information if you are interested.
Thanks,
Greg
PS. I am proactively moderating comments. Your comment WILL NOT APPEAR UNTIL I approve it. This may take some hours...