Kohana: Cleaner CodeIgniter For PHP 5

KohanaOne of the major criticisms of the CodeIgniter PHP framework is its continued support for PHP 4. The developers of the language announced two years ago that PHP 4 development, security patches included, would cease by the end of 2007. The CodeIgniter project still insists on supporting the outmoded PHP version, because far too many shared hosting providers still haven’t upgraded their machines for fear of breaking peoples’ poorly-coded scripts.

While CodeIgniter’s legacy support doesn’t stop you from using PHP 5-specific features in your applications, it does make things a bit less…elegant. If you’re going to build a sports car, would you put an old, less-efficient engine inside it?

Enter Kohana, “the swift PHP framework.”

Kohana is a fork of CodeIgniter, but entirely rewritten to be strict PHP 5 OOP. There are some different conventions, but overall the frameworks are similar enough that migrating is relatively painless. I’m still reading through the documentation, but it seems like it’s definitely worth looking into. Some of you may prefer CodeIgniter for their larger community, but it you’re a developer who has ever been frustrated by CodeIgniter’s decision, then you definitely want to have a look at Kohana.

  • http://intensedebate.com/people/RyanStubbs RyanStubbs

    I've had a look at this framework and honestly, it looks quite promising. I've been messing around with CodeIgniter a lot lately so I'm going to have a look and see if Kohana's any better.

    • http://intensedebate.com/people/redwall_hp redwall_hp

      It's pretty good. It has some oddities (like a lack of support for nested MySQL queries with the included database class), but overall it's a solid framework.

    • http://www.intensedebate.com/people/redwall_hp redwall_hp

      It's pretty good. It has some oddities (like a lack of support for nested MySQL queries with the included database class), but overall it's a solid framework. I'm using it for a project I've been putting a bit of time into lately.