Chris Gmyr
Developer, entrepreneur, drummer, biker, dog owner, husband, and proud dad. Loves Laravel and coffee

Checking out the Yii Framework

09/09/2011

Sorry, I know that I haven’t posted in a while. I’ve just been pretty busy with client projects, personal projects, music, stuff around the house, and general “summer” stuff. I’m going to try to make it a point to write some more in the very near future.

For the past few months I’ve been keeping my eye on the Yii framework. I’ve read a lot of great reviews of it and a lot of developers of all levels really like it a lot. I started looking into it more over the past week or so and started playing around with it. Between going through the video tutorials and their intro guide, it’s very easy to see that this framework is VERY powerful. I immediately saw a huge (positive) difference between Yii and CodeIgniter, which I have been using for the past 5 years or so.

CodeIgniter has been great to me, but I think it’s time to move on. It was very easy to learn and the community has been fairly helpful over the time that I’ve been with the framework. I feel that it hasn’t been moving forward fast enough compared to other frameworks and the “large scale” features are lacking. I’ll still be maintaining my current CI sites and scripts, but I’ve pretty much decided to move over to Yii.

I have a good deal of work ahead of my in order to port all of my CI code over to Yii, but it will be worth it once I’m done. Over the past week I’ve hit some bumps in the road trying to get Yii to function similarly to what I have in CI, but it’s coming along. I should have a lot of great posts soon about what I’m working on. In the mean time, here are some great pro’s of the Yii framework:

  • Full MVC design with PHP 5 support
  • Database Access Objects (DAO), Query Builder, Active Record, DB Migration
  • AJAX-enabled widgets
  • Authentication and authorization
  • Skinning and theming
  • Layered caching scheme
  • Automatic code generation
  • Great Security
  • Super Performance!
  • and much, much more.

Please stay tuned for more Yii blog posts. If you want to know anything specific about converting your CodeIgniter site to Yii, please leave a comment and let me know about it.