Zend Framework
Ok, after following ZF from its infancy I often see fundamental changes every time a new version is released. Now that the release candidate (version 1) has been released, some fundamental changes have been developed.
The following PHP code pretty much solves any issues related to converting an older pre v1 RC 1 of the ZF
. Its a slight generalisation together with the change in "toArray" in the majority of functions:
/* -- set a non-existent error handler + view renderer -- */
$controller->returnResponse(true);
$controller->setParam('useDefaultControllerAlways', true);
$controller->setParam('noErrorHandler', true);
$controller->setParam('noViewRenderer', true);
$response = $controller->dispatch();
$controller->returnResponse(true);
$controller->setParam('useDefaultControllerAlways', true);
$controller->setParam('noErrorHandler', true);
$controller->setParam('noViewRenderer', true);
$response = $controller->dispatch();
The idea being that during the next release of any software that uses the above code, you re-engineer the system to cope with errors, and the new view rendering process.
pdavies | Zend Framework | 18 June, 12:21am
| Comment on this
Category Cloud
Link Dump Tag Cloud
Today: Wednesday, 07 January 2009
Categories
- AJAX (1) [atom | rss]
- General (1) [atom | rss]
- Joomla (2) [atom | rss]
- Linux Backups (1) [atom | rss]
- Miscellaneous (1) [atom | rss]
- MySQL (2) [atom | rss]
- PHP Programming (1) [atom | rss]
- Zend Framework (1) [atom | rss]
Main Menu
Articles
Tools
FileBrowser
![]() |
Applications |
![]() |
Computer_Forensics |
![]() |
Computer_Law |
![]() |
Cryptography_and_E-Commerce |
![]() |
Internet_Security |
![]() |
Joomla |
![]() |
Miscellaneous |
![]() |
Network_Security |
![]() |
Security_Management |
![]() |
Systems_Administration |
![]() |
Web_Development |
Blog Archives
- June 2007 (10)
Online Visitors:1
Today Visitors:8
Total Visitors:6209


