Kendall Bennett wrote:
Sure, but I still fail to see how Zend_Registry makes development any
faster? It is just a glorified version of the $GLOBALS super global,
and if
you look at the meat of it, it is syntactically similar to using the
$GLOBALS super global.
How do you extend $GLOBALS? Ah yes, you can't. Zend_Registry is more
than another way to use global variables. I always have my own
registry class bassed on Zend_Registry, that supports lazy loading and
that's one of the things that aren't possible with a simple array.
nico