News Feed
Sections




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

Chris Hartjes' Blog:
Fun with custom Zend_Views
June 25, 2010 @ 11:47:39

In a new post to his blog Chris Hartjes talks about some fund he had with custom Zend_Views in developing a fantasy gaming platform.

I managed to figure out that one requirement was for an admin to upload a header and footer file for a game. "The idea here is to be able to set up a new game for someone without programmer intervention". After I got over being insulted that a programmer was not required for every tiny tweak to the site (I'm kidding) I tried to figure out how I was going to accomplish this. I'm not a big fan of storing actual HTML content in a database.

He figured out that a set of custom Zend_View components were just what was needed - they could override the content that was out there and pull in the dynamic needs from database records. He includes both his test for the class (trying out TDD) and the code for the custom view. He also shares a few "gotcha" sort of things that he learned in the process.

0 comments voice your opinion now!
zendview custom tutorial


blog comments powered by Disqus

Similar Posts

Community News: Packagist Latest Releases for 06.10.2014

MSBWare.com: Alternating Row Colors

JSLabs Blog: How to turn a php script to an exe...for free

PHP Web Services: How to configure https for Apache2.2 and consume PHP web services over https

DevShed: Defining the Core Structure of a PHP Blogger


Community Events

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


introduction voicesoftheelephpant extension podcast series unittest laravel development release interview community framework feature laravel5 library threedevsandamaybe language api opinion wordpress

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