Yii: awesome php framework

Yii is a fast, secure and professional PHP Framework. The performance chart is indeed quite impressive. According to the homepage, Yii is using a “lazy loading technique”: basically include a functionality (create object) not earlier than strictly needed. Yii is also very complete in its feature set.

Compared with other PHP frameworks ..

This following comparison with other frameworks shows Yii has it all:

Why is it awesome?

Yii is quite similar to Ruby on Rails: MVC (model-view-controller) structure, ActiveRecord, CLI integration (yiic) to make the app structure, CRUD (create, read, update, delete aka scaffold), strong support for testing (unit/ fixtures), AJAX.

Of course, as any framework, there is a learning curve and you need to feel comfortable with OOP (object oriented programming). I can already see development time decreasing in the near future:

  • Extensive support for model/ CRUD support with Gii (see printscreen below)
  • Support for complicated database structures. Once setup the relations in the Model, no need for typing complicated SQL joins :D
  • Authentication (role based), form captchas and more features, all built in from the start.

I am still in the exploring phase, but this is quite something, isn’t it?

gii code generator

Gii code generator at work

Resources to get you going with Yii

yii php framework


You might also like:



Enjoyed this article?

Share on Google+

This entry was posted in Programming and tagged , , , , . Bookmark the permalink. Trackbacks are closed, but you can post a comment.
  • My Links

  • Post categories

  • Bob’s Reading List

  • Some of my Apps

    hi folks, what are you reading?

    sharemovi.es: tell your friends about your favorite movies

    Friends Jukebox | Create a Jukebox based on the Music your Friends like!

    get to know the world ...

    keep the tweets you care about ...