News Feed
Sections




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

Rob Allen's Blog:
Zend Framework's Flash Messenger action helper
August 24, 2010 @ 09:57:33

Rob Allen has a new post to his blog today about a handy helper that comes with the Zend Framework to help you store messages between requests.

I've talked about Zend Framework's action helpers before, but haven't covered any of the action helpers that are supplied with Zend Framework. FlashMessenger is a helper that allows you to store messages between requests. The most common use I have for it is for a "saved" message after doing an edit of an item that then redirects back to a list.

He includes an example of this helper in action in storing a sample message and pulling it back out on the other side. The message insert also includes a redirect() call and the output has a code snippet to check the messages property to see if there's any to show.

0 comments voice your opinion now!
zendframework flash message helper action


blog comments powered by Disqus

Similar Posts

Alessandro Crugnola's Blog: AMFPHP issue referencing ByteArray

Zend Developer Zone: AJAX Chat Tutorial Pt 5: Javascript, Sending Chat Messages, Screen Name Changes

Steven Macintyre's Blog: Building a Modular Zend Framework CMS

Ray Cheung's Blog: Comparison Between Zend and CakePHP Framework

Maarten Balliauw's Blog: Indexing Word 2007 (docx) files with Zend_Search_Lucene


Community Events





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


library language tool interview framework mvc update opinion security laravel symfony release community series introduction voicesoftheelephpant package version podcast composer

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