AR vs DAO
Posted 09 December 2008 - 11:27 AM
I understand the usability differences between Active Record and DAO, but need a better understanding of performance in a very large database/high traffic environment. Assuming the code is optimized in either case, can one assume DAO has less overhead, is faster and would be more conducive to a high traffic environment?
I'm no expert on the topic, but looking for some advice.
Posted 09 December 2008 - 11:42 AM
Posted 11 December 2008 - 07:57 AM
A project I'm working on will require full text search. Instead of trying to write some algorithm to control the details, I'm thinking of using mySQL's full text search feature.
I would prefer to use AR in the application vs DAO. I sometimes have difficultly understanding the limitations of AR, so wonder if it would allow mySQL's full text search capabilities using Post::model()->findBySql($sql,$params).
Posted 11 December 2008 - 08:23 AM