I’m on a learning quest again. Â This time to get a solid PHP framework under my belt. Â I am installing the framework and running the quick start tutorials for each of them, if I get that far. Â This is what I have right now (keep in mind my investigation is in progress):
CakePHP
Pros:
- Very easy to get a simple app running.
- Scaffolding is great
- Documentation is extremely thorough.
Cons:
- Seems like database names have to follow some kind of convention. (i.e. Inventory would not work)
- Getting REST JSON interface going seems like a lot of work. Â I haven’t found a page that explains how to do it easily.
Zend (in progress)
Pros:
- Insanely popular, the engine is already on 1&1 (I think)
- Really good object-oriented approach, interesting idea with form & layout objects
- zf code generator is a nice touch.
- Looks like PHPStorm has the command-line stuff built in – also for Symfony
Cons:
- Ridiculously hard to get running in a shared host. (Needs a vhost to work, apparently)
- Lots of code. Â Not a big deal, really, if you know what you’re doing.
CodeIgniter
Pros:
- Scaffolding is neat, but REMOVED in 2.0
- nice OO layout
- Fairly compact
- Looks like view names and table names are not hardcoded! Yay!
Cons:
- PHPStorm doesn’t seem to like completing 3-level objects (lots of @property tags needed)
- v2.0 scaffolding is gone
Right now, I’m liking CodeIgniter the best. Â I am going to give Zend a lot more attention though, I think there will be a lot of advantages if I can figure it out.
Leave a Reply
You must be logged in to post a comment.