You are here

PHP Frameworks

I've finally become sick of writing my own frameworks for websites. I keep reinventing the wheel, and while I think I do some novel stuff I'm never going to match the breadth functionality available from frameworks developed by dozens or hundreds of people. Time is money and it's time to save (make) some money.

I've been looking at two frameworks:

ZendFramework

Pros

  • PHP5 only.
  • Modular enough to easily use within existing codebases.

Cons

  • Terrible documentation. I could not find one single example of even how to get started: I had to work it out from first principles.
  • Awful documentation.
  • Documentation leaves you reading source code to try to work out how to actually pass the parameters mentioned in the docs to methods.

Code Igniter

Pros

  • Easy to build complex sites from nothing and retain good practises.

Cons

  • PHP4 - no excuses now, PHP5 is essential. While 5 is far from ideal, PHP4's object model is unacceptable. Of course, CI being written in PHP4 doesn't mean that I have to write my code in 4 - but the very mention of PHP4 put me off enough to spend a day fighting ZendFramework before coming back for a second look.

Okay, there's not much here, but as I work through some projects I'll find things to say.

Saying that, anyone want to hire me for a project? Don't let this Drupal site with no effort spared "default theme and logo" look fool you, I am a real life web developer - I actually like writing business applications! Seriously.