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

John Siracusa siracusa at mindspring.com
Thu Aug 11 16:27:21 CEST 2005


On 8/11/05 10:10 AM, David Storrs wrote:
> All true, but orthogonal to what I'm talking about.  Let's say you
> define your generic ShoppingCart.pm module. Some part of your MVC app
> needs to know which functions to call in ShoppingCart.pm--what I've
> been talking about is what part that should be, the M or the C.

I think of the entire webapp itself as the "controller," the collection of
ShoppingCart.pm-like modules you use in the app as the "model", and the
templates as the views.  That division may not match up exactly with the use
of those terms in any particular framework, but there it is.

-John 





More information about the Catalyst mailing list