LanguagesPHPVideo: Developing Custom Zend Framework View Helpers

Video: Developing Custom Zend Framework View Helpers

Developer.com content and product recommendations are editorially independent. We may make money when you click on links to our partners. Learn More.

The Zend Framework offers a feature called a view helper, which greatly reduces the amount of logic you’ll need to embed within a website’s presentational layer. You might use a view helper to automatically convert URLs retrieved from a database into working hyperlinks, or refer to the number of database results returned from a query in singular or plural form (depending on the total number of records).

View helpers encapsulate the logic used to perform these tasks, much as functions do in programming languages, allowing you to repeatedly call them whenever these special formatting tasks are desired. In his Internet.com screencast Creating Custom Zend Framework View Helpers, Jason Gilmore introduces the concept of custom view helpers, showing you how to configure, create, and execute them within a Zend Framework application.


Watch the full 8-minute video at Internet.com/video:
Creating Custom Zend Framework View Helpers

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends & analysis

Latest Posts

Related Stories