Design Business Object


I want to ask about anyone who have used Yii.

as long as i used Yii , i have follow it’s ActiveRecord Design pattern which is default in Yii Model as ( Core Model Architecture , as long as I know).

Currently , I’m studying about design pattern.

Is there possible ( or better ) probability to implement rich domain model ( OO Design Pattern, like Stretegy , or more design pattern) in Yii … ?

Based on my understanding currently => ActiveRecord is heavy tightly to Database Design compare to Rich Domain Model.

Is anyone can give me a clue about this ?

or anything comments about this, I would appreciate you all…

Thanks a lot

You can implement your own models based on CModel.