I'm wondering which PHP framework to use. I've used CodeIgniter for my projects, but when version 2.0 released, I understood that it isn't what I need, because it's still old CI and only few small features were added.
Currently I can't decide which framework to use: Zend or Yii. And also I need some ORM tool (built-in in framework or external). I found this small discussion: https://stackoverflow.com/questions/667382/which-php-framework-should-i-choose-between-zendframework-and-yii But this discussion is relatively old. And a lot of things could change in two years.
I need stability, good documentation/books and good performance because I don't plan to use framework for programming small personal blogs. :)
So which one I should learn and use?
P.S. Sorry for my poor English skills.
P.P.S. May be you could offer me some other PHP-framework?
- Zend Framework don't have build in ORM. If you want to use ORM look into doctrine2, or for high-load - mongodb (nosql).
- ZF is stable but not very fast.
- Documentation is not very good, some things you can find only in source code.
Yii is high-perfomance. Yii has own implementation of ORM called Yii Active Record(AR). Yii documentation is pretty good.
For new experience I'll try Yii, but in you case is hard to decide.
Personally I use CakePHP. The documentation is just awesome.
I've never really understood the use for Zend in more use-cases. It takes long to set up and you can import the Zend library functions in pretty much any other framework (including CakePHP and Yii). So using frameworks with a faster development cycle with Zend libraries imported just seems like the logical thing to do.
精彩评论