CodeIgniter 2.0 Released

Back in late 2008, I wrote about my first experience using the CodeIgniter framework. Since then, I’ve enjoyed using the framework with PHP — it reminds me of my days programming in ColdFusion.

Today EllisLab and the CodeIgniter team have released the 2.0.0 version of CodeIgniter.

Here’s a list of the main changes from 1.7.3 to 2.0.0:

  • Support for PHP 4 is gone, PHP 5.1 is now a requirement.
  • CSRF Protection built into the form helper
  • Drivers
  • Application Packages
  • Scaffolding, having been deprecated for a number of versions, has been removed.
  • Removed the deprecated Validation Class.
  • Plugins have been removed, in favor of Helpers.
  • Added routing overrides to the main index.php file, enabling the normal routing to be overridden on a per “index” file basis.
  • Added $route[‘404_override’] to allow 404 pages to be handled by controllers.
  • 50+ bugs fixed

They also note that this new 2.0.0 version has moved CodeIgniter into a, “much more community-oriented framework than it has been in the past.”

I can’t wait to play with the new version and try out some of the new features and functions.

Coding With CodeIgniter

I’ve been coding away at my new startup CloudContacts for a good bit now and I’ve found that using the CodeIgniter PHP framework has been great. I’ve always been able to edit PHP code pretty well but starting an application from scratch has been a struggle. I watched a few CodeIgniter videos and was off. There are many libraries and downloadable code across the Web which helps even more as you build the app.

What’s great is that you can combine straight PHP code with CodeIgniter bits. I certainly am no expert but I think I have the basics down.

Except for Java, I can typically edit any code in most languages. Now I feel even more excited to be able to begin the application process. My belief has always been that every entrepreneur needs to understand, at least, enough code to discuss the application and more importantly decide which language to use for the application.

Hats off to my friend Jimmy who spent the good part of a day teaching me some of the more advanced features in CodeIgniter. I will provide more updates as I learn more with CodeIgniter.