IoC – Inversion of Container

Today, Mark Richman, has presented me with the IoC concept. Something that I haven’t heard about until now, but it does make a ton of sense.

Basically it says that instead of calling the framework and invoking it’s objects, you would make the framework aware of your objects. How Michael Mattson’s would say, this is the Hollywood Principle: “Do not call us, we call you”.

There are some good proposals of  developing the Injection Container for the Zend Framework, but so far, at this moment looks like there isn’t any really developed therefore you can find a good library to take a look at Symfony Components.

Check out this article from Ibuildings. I has a good perspective of how it could be developed with the Zend Framework.

Advertisements

About mcloide

Making things simpler, just check: http://www.mcloide.com View all posts by mcloide

2 responses to “IoC – Inversion of Container

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: