Pragmatism in the real world

Jurian Sluiman: Using Zend Framework service managers in your application

Jurian Sluiman has posted Using Zend Framework service managers in your application

Many people still have problems to tune the SM to their needs. In this post I will try to explain the reason why the framework uses multiple service managers and how you can use these. I address the following topics:

  1. What are the different service managers?
  2. For what reason are different managers used?
  3. How does the service locator relate to the service manager?
  4. How can you define services for all those service managers?
  5. How can you retrieve services from one manager inside a second one?

This is a really good post if you want to understand ZF2’s Service Manager system. Read it!