http://www.perlmonks.org?node_id=526733


in reply to The fine line between control and display logic

You could probably argue back and forth ad nauseam as to how much or how little logic should go in the view. To me, the important thing is to strike a balance that results in a maintainable structure.

There are no definitive answers -- for which I'm glad, since it allows me/my workplace to set our own guidelines and create our own desirable structure.

--
"Go up to the next female stranger you see and tell her that her "body is a wonderland."
My hypothesis is that she’ll be too busy laughing at you to even bother slapping you.
" (src)

  • Comment on Re: The fine line between control and display logic