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
around
and format what it's been given.
what about implicit data retrieval via method calls on objects passed
to templates?
<% $thing->owner->name %>
_______________________________________________
List: [email protected]
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/