I’m approaching the launch date for my first site based on Kohana and feel it’s time to spill the beans. Somebody posted on the forums today and asked why Kohana isn’t more popular when compared to Cake, CodeIgniter, Zend or Symfony. The simple answer is that it’s not meant to be.
It’s no secret that I’ve been struggling with Kohana over the past few weeks as I’ve been building a new site for a non-profit in Vancouver, BC.
You may want to read my web development background for more information about my development path and how I got to this current project.
Although I’ve been programming in PHP for a decade or so I’ve learned the limitations of the language and started building up a reportoire of code modules and drop-in classes. The first one I wrote was an error handler as v4 was hopeless. My class would intercept the errors, log them, show them in development but not production, and would even dump the source around the problematic line.
I guess there are thousands of individual reasons for why and when to move to a code framework such as CodeIgniter or CakePHP. The choice of framework is also just as varied as many frameworks are thriving with their own community of support and fanboys.
However, there is fundamentally one reason for deciding when to use a framework — cost.