Why CodeIgniter is Dead
Nice read on why the PHP framework known as CodeIgniter is dead.
I’ve done most of my app development in CodeIgniter (NeoInvoice, ObsceneArt, StockPyle, FB Squirrelify, Vitagen [Unreleased], Xtractor), so it is the framework I’ve been most experienced with.
It is also the framework I hate the most. Libraries are loaded as singletons and use magic:
$this->load->library('example');
$this->example->something();
What sort of IDE is going to know that load->library spawns an instance of a class, and that it is magically assigned to a property of the controller named after the library?
Kohana, a framework I switched to after realizing how bad CodeIgniter is, does it the ‘proper’ way:
$example = new Example(); $example->something();
Look, no magic, and it works with IDE’s! Heck, it’s even less code! Kohana uses the real PHP autoloading feature, instead of the hacky solution which CodeIgniter uses, a relic from its PHP4 heritage (Kohana 3.x was built from the ground up for PHP5).

