business logic is suggested to put in model, but the model may be very fat. anyone have a idea?
business logic is suggested to put in model, but the model may be very fat. anyone have a idea?
Anything that is used just for one model should stay inside model class, if U have anything that’s shared among more models, U can move it to some component
this is not related to yii but PHP in general here