Monday, 03 May 2010 06:24

CodeIgniter 2.0 – Pushing Web Application Development Forward

Written by Chris Jacoby
codeigniter-v2If you haven’t been so busy writing your next big thing, then you probably heard about the upcoming major release of CodeIgniter which jumps directly from 1.7.2 to 2.0.

For those of you who don’t know what CodeIgniter is: CodeIgniter is a powerful PHP MVC framework built for PHP coders who need a simple and elegant toolkit to create full-featured and powerful web applications. View CodeIgniter’s website for more information.


Major changes noticeable so far in CodeIgniter 2.0:
  • PHP 4 support is deprecated in CodeIgniter 2.0. This is great because now they can take full advantage of PHP 5’s capabilities making it an even more awesome framework.
  • Packages – You can now set package paths, and each package will be able to have its own set of controllers, libraries, helpers, config classes etc in a single “package” directory.
  • Drivers - Drivers are a special type of Library that has a parent class and any number of potential child classes. Child classes have access to the parent class, but not their siblings. Drivers provide an elegant syntax in your controllers for libraries that benefit from or require being broken down into discrete classes.
  • System wide plugins have been removed.
  • There’s a new security library that features CSRF protection and becomes the new home for XSS filtering.
  • Scaffolding has finally been completely removed.
  • Additional database configuration – An example is striction. Using this Boolean switch you can just turn MySQL Strict Mode on and make sure it lets you know about any possible errors that would occur if you were running using Strict Mode.
I’m most excited about the new Security library and Packages inclusions, but can’t wait to see how this release shapes up!

CodeIgniter 2.0 brings along some brilliant new changes, a heap of bug-fixes for us to be content with. Nothing massive, nothing scary and nothing incompatible. With PHP 4 support on the way out we can all dance a little jig and look forward to a much more interesting future in CodeIgniter feature development.

To keep up to date with the latest development, check out the Changelog and subscribe to the RSS feed.
Last modified on Friday, 28 May 2010 10:13
Chris Jacoby

Chris Jacoby

Chris is an Information Systems Engineer who has great experience with the online web world. His strengths lie in website application development, user friendly website design and development, graphics design and website optimization. 

Nothing is impossible! ~Chris


E-mail: This e-mail address is being protected from spambots. You need JavaScript enabled to view it

Add comment



Call Us: +27 11 612 7460