开发者

Yii or ZendFramework? [+ORM] [closed]

开发者 https://www.devze.com 2023-02-24 03:28 出处:网络
开发者_C百科As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references,or expertise, but this question will likely solic
开发者_C百科 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 11 years ago.

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?


  1. Zend Framework don't have build in ORM. If you want to use ORM look into doctrine2, or for high-load - mongodb (nosql).
  2. ZF is stable but not very fast.
  3. 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.

0

精彩评论

暂无评论...
验证码 换一张
取 消