Our ESP isn't working very well. Login and vote now.
By raphael76
via devzone.zend.com
Submitted: Apr 28 2008 / 10:07
Views in MVC are allowed to communicate with the Model (using read-only operations), and are allowed to perform display-related logic. That said, how do you actually access the model? And what if you have some fairly complex logic that you may need to repeat, or which you may not want to display directly in the view in order to keep it clean and easy to read? In Zend Framework, the answer is to use View Helpers.
Add your comment