Zend Developer Zone
Where the ElePHPants come to learn

Zend Developer Zone

Rob Allen talks about Zend\ServiceManager configuration keys

VERY Old Content Warning!

The content you are viewing is more than two years old. It is here for archival purposes. Do not use any advice in this article without double-checking it with a current source.


Really, does it matter what Rob is talking about? When he posts on his blog, we all read it. He could post the train schedule and we’d all tell him what a prolific writer he was. :) This time – like every other time Rob blogs – it’s interesting, useful, and educational.

In a post titled “Zend\ServiceManager configuration keys”, Rob goes deep on how to configure the Zend\ServiceManager. This is not a WHY article, this is a hard-core HOW article. If you don’t know why to use Zend|ServiceManager, you won’t find that here, try the manual. However, if you want a very no-nonsense deep dive into how to configure it and what your options are, this is the article you are looking for. Here’s a quick sample.

Zend\ServiceManager is usually configured in two places: an array in a config file or a method within your Module class. In either case, you provide a nested array of configuration information.

If you don’t read code, the rest of the article might as well be in Klingon because you aren’t going to grok. If you do read code, this is a great article t help you on your way. Make sure and leave Rob a comment saying thank you for the effort.

Many moons ago, at the tender age of 14, Cal touched his first computer. (We're using the term "computer" loosely here, it was a TRS-80 Model 1) Since then his life has never been the same. He graduated from TRS-80s to Commodores and eventually to IBM PC's. For the past 10 years Cal has worked with PHP and MySQL on Linux OSX, and when necessary, Windows. He has built on a variety of projects ranging in size from simple web pages to multi-million dollar web applications. When not banging his head on his monitor, attempting a blood sacrifice to get a particular piece of code working, he enjoys building and managing development teams using his widely imitated but never patented management style of "management by wandering around". Cal is happily married to wife 1.31, the lovely and talented Kathy. Together they have 2 kids who were both bright enough not to pursue a career in IT. Cal blogs at http://blog.calevans.com and is the founder and host of Nomad PHP