Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
6 lines (4 sloc) 403 Bytes told me about a pattern he uses with Zend Framework, which is to pull data from the models directly
from the view via View Helpers. Following that conversation, I tried it and it's been a great success. asked me for a code sample so here it is.
Warning, this code is untested so if you see any mistakes, please let me know.