2009/5/3 Kendall Bennett <[email protected]>:
> Yes, it is true you don't need to use it, and I won't be using it, but I
> still fail to see how using the Zend_Registry class and design pattern makes
> the code any more legible, or elegant for that matter.

First of all, it's about the API. A clean API is vital if you're in a
team. And then, there are a couple other bells and whistles.
Zend_Registry does more than a simple $foo = $bar. Of course this
'convenience' comes at the expense of performance. If you're doing a
lot of set() and get() only -- then likely, it's overkill.

Till

Reply via email to