Model Structure

I am having about 40 models now, and need to structure/group them, because it is a bit confusing right now.

My first guess was (quite obvious) to create subfolders in the modelfolder and add all models with their relation models into them.

After a quick research I figured out, that it would be a better way to create modules, well I guess it wont be a good idea to create about 5 modules and

move the complete mvc to the modules, especially because there will be some models/controllers left which cant be grouped.

Looking forward to your advices.

Hi,

read this i hope it can help you to solve your problem…

http://www.yiiframework.com/wiki/478/alternative-folder-structure-for-a-standard-yii-app/