i wonder… would it be possible to change the core in order to create files this way? i saw that probably one could modify files in framework/gii/generators/crud/templates/default…
If you are using Yii v.1.0.x then I recommend you iCRUD (it was developed by me), however If you are using Yii v.1.1.x I recommend you GTC (Gii-Template-Collection: This is the improved version of iCRUD, I’m helping to develop this one): This modules do exactly what you want.