Mar
25

CodeIgniter v1.7.x vs. v2.0.x

By Mx  //  Development  //  3 Comments

I have been using CodeIgniter from November 2009, and have developed 6 web projects on it so far. While developing CMS, order management systems and other web apps on CI, I did manage to tweak the framework a bit since there was no release from September 2009. CodeIgniter released v2.0.0 back in January 2011 and I came across it 2 weeks back while searching for another PHP framework. Compared CakePHP, Yii, CodeIgniter, Kohana, Zend and found CI 2.0.0 to be right the choice again for me – simple, good documentation and speed!

After the release of CI 2.0.0, many developers compared the two versions and found the newer much faster. I tried to migrate one of my projects without going through much documentation but was facing some errors, will try back again next week. However, I checked the benchmarks of 2 simple v1.7.3 and v2.0.1 and following were the results:

v1.7.3

Loading Time Base Classes 0.0151
Controller Execution Time ( Welcome / Index ) 0.0038
Total Execution Time 0.0190

v2.0.1

Loading Time Base Classes 0.0102
Controller Execution Time ( Welcome / Index ) 0.0029
Total Execution Time 0.0132

I still have to benchmark the newer version on my apps and test it out completely before publishing web apps with CI v2.0.x. CI released v2.0.1 on March 15, 2011 – details about change log can be found on their official web and for v2.0.0, visit: codesamplez.com.

Peace!

3 Comments to “CodeIgniter v1.7.x vs. v2.0.x”

  • [...] CodeIgniter v1.7.x vs. v2.0.x [...]

  • Mustafa bhia i googled and YII is coming on the top

    i am using Zend these days

    and planning to try CI too

    • @Sumair
      Yep, I have read good reviews about Yii..tried it but didn’t shift from CI. Developers usually have their own preference for framework and it varies!

Leave a comment

Archives