«« Next » « Previous
«« Next » « Previous

Link Details

Our ESP isn't working very well. Login and vote now.
Link 78074 thumbnail

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.
  • 4
  • 1
  • 154
  • 20

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (4)



Voters Against This Link (1)