[Catalyst] Re: Controllers vs Models

Perrin Harkins perrin at elem.com
Mon Jun 6 19:13:14 CEST 2005

On Mon, 2005-06-06 at 12:15 -0400, David Storrs wrote:
> > I disagree. I think the controller should control program flow in a  
> > generic way, and that business logic is best factored out of it.
> Well, two thoughts here.  First, I was talking about how the MVC  
> pattern is usually presented in the literature.  I believe you are  
> talking about how you think the MVC pattern /should/ work.

Maybe we're just reading different literature, but I've usually seen MVC
described closer to the way he's talking about it, i.e. the controller
is a totally generic mechanism for turning mouse clicks into method
calls, and contains no "domain" knowledge at all.  The idea that the
model is just a set of database access objects and that flow control
goes in the controller is a relatively recent change stemming from the
use in web apps.

- Perrin

More information about the Catalyst mailing list