On 4/23/08, till <[EMAIL PROTECTED]> wrote: > Of course you can do that, but Zend_Registry for me offers the > advantage of clean maintainable code.
How exactly is using the existing PHP $GLOBALS variable unclean or unmaintainable? > Do a couple unsets to your $GLOBALS['registry'] and a dozen checks if > a value is set, then hide it in the middle of an application and then > let someone else figure out the code. As of when it's used, and where > etc.. grep -r GLOBALS . > In general, many things you could achieve by coding it up > yourself, but that is not really the point of a framework. Zend "Components" seems a much more appropriate name since nothing is integrated with anything else. Wrapping an OO layer around an existing feature doesn't make it a framework. -- Greg Donald http://destiney.com/
