您是否认为Zend框架错过了Symfony的Bundle原理?

Do you think Zend framework misses the Symfony's Bundle principle ?

我从ZF v1.6开始就在ZF工作,对此我感到非常满意,但是阅读了有关symfony及其捆绑原则的信息:

使sumfony Bundle更清晰:

http://docs.symfony-reloaded.org/quick_tour/the_big_picture.html

But what is a bundle? All the code you
write in a Symfony2 project is
organized in bundles. In Symfony2
speak, a bundle is a structured set of
files (PHP files, stylesheets,
JavaScripts, images, ...) that
implements a single feature (a blog, a
forum, ...) and which can be easily
shared with other developers. In our
example, we only have one bundle,
HelloBundle.

我通过在模块中组织我的代码来使用相同的想法,但这确实很痛苦

任何机构对ZF都具有相同的bundle实现?


已经做了一些努力来存档,但是主要是在ZF中执行此操作的PITA。但是您实际上可以使用Symfony的基础结构,并且仍然使用所有Zend的类。


是的,接近实现Symfony2使用其捆绑包所做的事情是一个真正的PITA。我不得不用很多代码来扩展ZF才能接近扩展结构(请参见Majisti),这几乎不如Symfony2提供的功能好。我同意托马斯(Tomas)的观点:IMO与ZF2类一起使用Symfony2,IMO我认为ZF2在全栈部门中的竞争不够激烈。