[Catalyst] question from tutorial - does creating HTML in a
controller using HTML::Widget violate MVC?
mreece at vinq.com
Wed Dec 6 17:14:15 GMT 2006
On Dec 5, 2006, at 6:06 PM, John Siracusa wrote:
> My stance has always been that I don't mind "code" in templates so
> long as
> the sole purpose of that code is to layout and format the data.
> IOW, a view
> should never retrieve, create, or modify data. It should just move
> and format what it's been given.
what about implicit data retrieval via method calls on objects passed
<% $thing->owner->name %>
More information about the Catalyst