Models not being created right?

Well am coming in from Zend Framework because to be honest it was a disappointing experience, support was so minimal I spent more time frustrated then actually coding. So now that I have a pretty good understanding of MVC am coming back to Yii. (I started here but found it way to confusing because of the blog demo)

Anyway, am re-learning everything and I notice none of my models are generated with function such as: save(), delete(), beforeSave(), afterSave(). Controllers make calls to these functions but yet they don’t exist. Is this normal? Or is my Gii not creating files correctly?

This is normal.

These functions are declared in the parent class.

If you need, you can add any of these functions to your model and override them.

Oh I get it now. Thank you :)