Zend Framework user messaging system

There are many ways to notify users of error, information or warning messages. one very simple way is to define a notify method that creates an array of messages for the view. But Zend Framework also provides the Flash Messenger action helper that allows messaging to a redirected page.  We find on Sean"s blog a Prority Messenger that extends this concept to various types of messages. Part of the trick is to follow the DRY convention : Don't Repeat Yourself, e.g. avoid duplicating code.

0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *