saniko Posted November 30, 2013 Share Posted November 30, 2013 Larry, Love the book. As I put more of it into practical use, I would love to make suggestions on how it can be improved. The parameter binding section in the databases chapter is excellent! However, it would be nice to inform people that Yii has Active Record functions that handle parameter binding for you such as findbyattributes. I churned on this for a few hours while I was trying to use parameter binding with the findbyattributes function. Thankfully, someone in the yii chatroom informed me that I was trying to "double bind" because Yii has this issue covered in some functions through findbyattributes or findbypk. I appreciated you raising awareness of the issue but it would be nice to know how Yii has some cool ways to handle it without resorting to parameter binding in a find() or findAll() method. Link to comment Share on other sites More sharing options...
Larry Posted December 12, 2013 Share Posted December 12, 2013 Sorry for the delayed reply. Thanks for the nice words and for the feedback. I've made a note of this and will revisit it when I'm doing rewrites. Thanks again! Link to comment Share on other sites More sharing options...
Recommended Posts