It seems like the CFormModel and CActiveRecord could be merged into the same object. Is there a reason that they are separate?
It seems like the CFormModel and CActiveRecord could be merged into the same object. Is there a reason that they are separate?
CFormModel is mainly used when you need to handle a form that doesn't have a DB model behind.
Indeed, but all of that is pretty well abstracted away. I see your point though, they are different.
Besides, changing any interface would break everyone.