non-active record model

I want to use the database access objects to access a table in my database instead of doing active record since that takes a long time to load. if i use database access objets instead (calling createCommand, query, execute, etc), do i still need to create a model class for the table? if so what would be the parent class of this model class?

  1. activerecord doesn’t take that long to load

  2. activerecord is the same as "model"

  3. creating an activerecord after using DAO would be slower than using activerecord in the first place

  4. google "premature optimization is the root of all evil"

hm, what kind of stuff are you doing that active record takes a long time to load )?

You will have to use CDbDataReader::read() which will return an array of data.