So, I’m very tempted to rewrite my application using a php framework, as I think it’ll make it easier for folks to get involved, as well as improving the design of the app.
CakePHP looks like the best of the PHP web frameworks. Does anyone have any experiences of it? What are the caveats I should consider going from handcoded PHP to using a framework?
Not depending on the framework you’ll chose, the first thing you have to know is that :
I think those points are the most under-estimated points : using a framework takes not much time… Using it well and to the full extend of its abilities takes… Well, a couple of months, maybe… Which means, when you are at the end of your project you’ll say “I should rewrite that with all the stuff I learned while re-writing it the first time” 😀
What it means is : learn what the framework can do, learn how to use it, and use it for a while on small applications, before starting rewriting your big one !
Then, there is probably no “best framework” : one framework may be very well suited for one project, and another one may be best for a second, different project.
I’ve never worked with CakePHP ; I really like Zend Framework. But that is a personal opinion, and O know people who really like symfony ; they are not wrong : symfony is great — and I am not wrong either ^^
Still, we sometimes agree on some things ; like the fact that Doctrine (default ORM layer of symfony) is really great stuff, and we tend to use in both symfony and ZF-based projects…
If motivated, you can take a look at many posts on SO, about frameworks… Here are a couple of those :
Good luck with those ^^
(“Which framework” is a quite pationnating — and subjective — question ^^ )