MVCR pattern (was Re: [Catalyst] Bing!)

Sam Vilain sam at vilain.net
Fri Aug 12 00:30:31 CEST 2005


On Thu, 2005-08-11 at 10:21 -0400, Perrin Harkins wrote:
> I would not expect to see anything more if you use TT.  If you use a
> system like HTML::Template, you would need additional code there when
> you want to do things like format dates or split data into two columns
> for display.  Those things are not part of the model because they are
> purely about the display of the data.

Yes.  I had an argument once with a Bozo manager who wouldn't accept
that HTML::Template did not achieve separation of presentation and
logic.  He sort of looked a little worried for a moment, I could almost
hear his two brain cells clack together as his eyes slightly squinted
before he came out with, "No, it does!".  I knew there was no point in
trying to get through to him.

Sam.




More information about the Catalyst mailing list