DAO and model

Hi, guys!

Currently I’m working on one interesting project. I’m going to use DAO instead of Active Record because of prformance issues. Could you help me?

I do not really understand how to use it in model. As far as I understand my model class should extend CModel. Could anyone post a simple example of moel using DAO?

I need it too… osmebody please show…

i’ve posted a sample in here


hope it helps!