Fat models or fat controllers?

Until now I’ve been using a MVC that had drawn the line pretty specifically, models were for basically only sql and controllers were for the logic so in a sense I had fat controllers and models slim in a sense.

What is the preferred way with Yii?

To my knowledge Yii recommends the Fat model method.

I recommend you look at the following:

Docs: Best MVC Practices


Forum: Fat Model Thin Controller


Thanks for the study links!

Fat models all the way! :)

It’s not as easy as it sounds - my controllers seems to grow overweight with time, if I’m not careful…