Codeigniter 2.0

So finally Codeigniter 2.0 is here. With 2.0 a lot has changed. Primarily, Ellislab split up CI into two branches, Reactor and Core.

As they say,

CodeIgniter Core
Core is a slow-moving branch that will be used as the base for EllisLab commercial products such as ExpressionEngine and MojoMotor. It will continue at a similar pace that CodeIgniter has in the past and will be useful for large commercial applications that require the upmost in stability and backward/forward compatibility at a pace more typical of SLA backed Enterprise products. Core is publicly available with tagged downloads at BitBucket.

CodeIgniter Reactor
Reactor is a community driven branch of CodeIgniter that will enable faster adoption of the best community submitted code to the framework. This means the community can create a fork of the project on BitBucket and contribute bug fixes, new features, documentation improvements, etc and have it reviewed by a code-review team called Reactor Engineers. These Engineers are primarily responsible for driving the development of the framework.

In simple words, Reactor will be managed by community + Ellislab and Core will be managed solely by Ellislab.

Some interesting things I liked,

  • Support for PHP 4.x is gone
  • Application Folder now sits outside System folder
  • CLI support (I am still trying to figure it out)
  • Full Query String support
  • memcache and APC support

Also, Ellislab has changed the file structure a lot. Check out change log to know more.

In all, new version seems interesting. Though moving 1.7.x apps to 2.x is not easy. Since, Plugins have been deprecated, you will need to convert plugins either into libraries or helpers. Also, some of the libraries may not work with 2.x.

The only thing that is making me doubtful is why CI has been split up into 2 branches? Is Ellislab trying to make money by creating an Enterprise version? I hope they don’t.

Published by

Neeraj Kumar

#technologist #musician #traveller

  • Chinedu Michael

    It’s obvious you didn’t follow the very interesting events that lead to the 2.0 release of codeigniter both in the community and within Ellislab. Much of these events lead to the creation of the fuel php framework ( From my understanding Ellislab is not creating a paid version of condeigniter but it seemed their CI development pattern was not in sync with what the community wanted hence the creation of the core and reactor versions which is a perfect solution IMO.

    Basically the core will be developed by Ellislab alone and all of it will be pulled into the reactor version, the reactor is developed by a selection of the finest “Engineers” in the community and a select portion of it is pulled into the core. Below is a tweet I got from Phil ( who is one of the reactor “Engineers”.

    “All changes to core are merged into reactor, only some of reactor’s changes go into core. Think Red Hat / Fedora”

    You can get more about the Core/Reactor Salsa from his blogs.


    • Neeraj Kumar

      Yeah, you are somewhat write, I did stop following CI, was busy with work.

      The first thing that came to my mind was Magento (, they also offer a free and a commercial version of Magento.

      fuelphp seems interesting though, will definitely take a look. and yeah, I would love to read about Core/Reactor Salsa. :)