News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Zend Developer Zone:
Zend Framework's MVC Introduces the ViewRenderer
May 28, 2007 @ 07:44:34

On the Zend Developer Zone, Matthew Weir O'Phinney has posted an announcement about the latest development on the Zend Framework front - the ViewRenderer module.

Yesterday, I committed a change to core in preparation for the 1.0.0RC1 release that, while breaking backwards compatibility slightly, will also greatly simplify the integration between the controller and view components.

One developer, Ralph Schindler, felt it didn't go far enough, and posted an issue in the framework issue tracker detailing an idea he had for adding more integrated View dependency injection to Zend_Controller_Action. After some thought and discussion with him, I countered with a new action helper, the ViewRenderer.

This new bit of functionality allows you to get rid of those pesky view objects in Controllers, set default rendering options for the controllers, let you autorender view scripts based on the current action and much more.

Check out the post for some example code.

0 comments voice your opinion now!
zendframework viewrenderer component zendframework viewrenderer component


blog comments powered by Disqus

Similar Posts

KillerPHP.com: The Zend Framework: Writing Object-Oriented PHP with Ease

The Bakery: RESTful Web Services With CakePHP

International PHP Magazine: Poll: In Which of the following Symfony takes over Zend Framework?

Christopher Bledsoe's Blog: PHP Dependency Injection (Inversion of Control)

Zend: Apigility Progress report: zf-mvc-auth, packagist, and PHP's built-in web server


Community Events





Don't see your event here?
Let us know!


language threedevsandamaybe testing install developer opinion code interview release wordpress community refactor framework list series podcast unittest configure introduction laravel

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework