On Fri, 15 Jun 2007, Bryan Opfer wrote:

> What's the point of using Catalyst if all your Controller code is in
> the View (Mason)?
>
> Catalyst is supposed to help you split up your business logic(Model),
> application logic(Controller) and presentation logic (View).

I agree 100%. Mason already has this exact dispatching method (URI -> 
component) built-in, so what does Catalyst if this is all you do with it?

Putting all your controller logic, especially non-display logic (like form 
submission handling) in Mason components is a bad design (and yes, I know 
that's how the book's example site works ;)


-dave

/*===================================================
VegGuide.Org                        www.BookIRead.com
Your guide to all that's veg.       My book blog
===================================================*/

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Mason-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to