Zend Framework Registry: Setting and Reading ValuesTag: framework, zend, zend framework, registry, zend_registry Category: PHP Frameworkpost: 16 Apr 2008 read: 1,179 Zend Framework Registry Step By Step Tutorial - Part 1: What is registry? It is like global storage. We just register values then we can use throughout application. For example, we can store name of application, thus every time we need to display name of application, we just call from registry. To use registry, we call registry.php from Zend Framework:
Ok, we practice using registry. We still use our previous practice. Please read that tutorial before. Then, follow this steps:
Test, by pointing your browser to : http://localhost/test/zend/helloworld/web_root/user/. You may remember a function at PHP that have function like this, define(). Yup, it is like register global parameter.
| ||
| | Give Your Opinion | Recommend |
|

