News Feed
Sections




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

Kevin Schroeder's Blog:
Integrating Zend_View with WordPress
March 22, 2011 @ 10:08:00

Kevin Schroeder has a recent post to his blog showing how he integrated Zend_View into a WordPress install for his blog. It was as a part of a plugin he uses on some of his internal pages.

I just read a blog post about integrating Zend Framework and WordPress and figured I'd add some commentary of my own, since I've done something similar. In my ESchrade plugin I use Zend_View to render some of my admin pages, though there is no reason why you couldn't use it elsewhere, as long as the plugin has already been loaded.

Adding the functionality is easy as long as the Zend Framework install is in your include path. He gives some sample code that creates the view object, defining the templates path and pulling in the "wp_register_sidebar_widget" WordPress method to import the view.

0 comments voice your opinion now!
wordpress zendframework zendview plugin tutorial


blog comments powered by Disqus

Similar Posts

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

Stefan Mischook's Blog: A Quick Look at Dreamweaver CS4 and the PHP Toolset

Padraic Brady's Blog: Zend Framework Contributors Mailing-List Summary; Edition #1 (June 2011)

Extending Twig Templates: Inheritance, Filters, and Functions

Lee Blue's Blog: How To Sort A Zend_Db_Table_Rowset


Community Events





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


framework library interview symfony tips release api podcast opinion introduction language laravel deployment package community list update series install zendserver

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