4 ms·
Kohana is a little brain-damaged. Good intentions, but it's essentially a PHP5 version of CodeIgniter in most ways that matter. The problem with this is that a
by eropple 15y ago
Kohana is a little brain-damaged. Good intentions, but it's essentially a PHP5 version of CodeIgniter in most ways that matter. The problem with this is that a PHP5 version of CodeIgniter doesn't leverage the constructs and concepts that make PHP5.3 (which in 2011 is the lowest version of PHP you should be considering) much more pleasant to work with than previous iterations. Kohana, and CI2, are both rather meat-axey frameworks, where the trend is toward elegance.
I'd consider Symfony2 for most applications, or Silex (which is the Symfony2 app kernel, stripped of the majority of the Symfony2 framework) if you like writing the plumbing yourself. Yii is pretty nice, too.
- radagaisus 15y agoKohana 3 is not a rewrite of CI. it was written from scratch. Kohana also has the worst documentation in the world. Seriously. It has very clear comments in its source code, though.
- eropple 15y agoYes, it's written from scratch--which is why I said "essentially". It's a full rewrite into what is still not very idiomatic PHP5.1, and I can't really recommend using a non-5.3 framework given the improvements in expressivity and flexibility that came with 5.3.
- kemo 15y agoKohana isn't a CI rewrite since 3.0.0. And yeah, Kohana 3.3 will natively use 5.3 goodies.
- eropple 15y agoI've yet to see any indication that it will use PHP5.3 in an idiomatic way. It still seems like a bolt-on. (I still wouldn't use it because frankly, I don't think the Kohana developers take security seriously enough, but it'd be a start.)