This is my fork in the road.
I want to show some button on my web page, and I want to do it in many places. This 'button' will really act as a link to some other page, and all button instances are going to go to one page.
I want all the buttons to be the same, with the possible exception of the size that they are.
Now, do I need to use a partial script with html for the button and call the helper part helper for rendering, or do I need to create a Zend_View_Helper that will return the html for the button when I call it?
I know that I can swing anyway, but what do you think is better?
Some things I see:
The helper may be better because it does not need to create a BIG object, for example, clone Zend_View for partial.
A partial script will make it easier for an html person to work with.
zend-framework zend-view
Jerry Saravia
source share