Simple slide about introduction to yii. I used it in knowledge sharing session with my teammates.
Cover why yii, what rocks on yii, and dark sides of yii.
3. Why Yii? Better performance compare to other php frameworks Awesome documentation and tutorial (included in source code package) Less code More features compare to CodeIgniter
9. ActiveRecord (+Relational) $post = Post::model()->findByPk(2); $comments = $post->comments; foreach($comments as $r){ echo $r->content; } It works! Requirement: Declare foreign key in MySQL Use gii Model Generator
10. Built in Authentication Yii provide login form We only need to modify components/UserIdentity to give additional information in user session