Zend_Registry: real life examples

Posted by takeshin on Stack Overflow See other posts from Stack Overflow or by takeshin
Published on 2010-03-27T22:26:59Z Indexed on 2010/03/27 22:33 UTC
Read the original article Hit count: 189

Do you find Zend_Registry useful?

For which tasks it should be used? For which not?

Global state for variables is not a good practice. Main objects may have global state injected via $front->setParam('paramName', $object), so what's the purpose of Zend_Registry?.

© Stack Overflow or respective owner

Related posts about php

Related posts about zend-framework