Yii
OutlineWhy Yii?What rocks on Yii?Dark sides of Yii
Why Yii?Better performance compare to other php frameworksAwesome documentation and tutorial (included in source code package)Less codeMore features compare to CodeIgniter
http://www.yiiframework.com/performance/
What’s rock in Yii?GiiActiveRecord (+Relational)Built in authenticationUser Friendly Url
Gii
GiiCreate CRUD in a blink!
GiiDefine tableUse model generatorUse CRUD generatorVoila!
ActiveRecord (+Relational)$post = Post::model()->findByPk(2);$comments = $post->comments;foreach($comments as $r){ echo $r->content;}It works!Requirement:Declare foreign key in MySQLUse gii Model Generator
Built in AuthenticationYii provide login formWe only need to modify components/UserIdentity to give additional information in user session
User Friendly Urlhttp://localhost/yii/test/createPost
Many More…CachingThemingEtc …
Dark Sides of YiiSlower learing curve

Yii Introduction