Do you think the Zend framework skips the principle of the Symfony Bundle?

I worked in ZF since I was v1.6, and I am very pleased with this, but I read about symfony and its principle of connectivity:

to make the summarizing package more clear:

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

But what is a bunch? All the code you write in a Symfony2 project organized in bundles. In Symfony2, to say, a collection is a structured collection of files (PHP files, style sheets, JavaScripts, images, ...) that implement a single function (blog, forum, ...) and which can be easily shared with other developers. In our example, we only have one bundle, HelloBundle.

I used the same idea by organizing my code in modules, but it really hurts

does any body have the same bundle implementation for ZF ???

0
source share
2 answers

Some effort has been made to archive this, but basically it is PITA to do this in ZF. But you can use the Symfony framework and use all Zend classes.

+2
source

Yes, this is real PITA to get closer to what Symfony2 does with its packages. I had to extend ZF with lots of code to get closer to the extension structure (see Majisti ), which is hardly good than what Symfony2 offers. I agree with Thomas: Symfony2 with ZF2 classes, IMO. I do not think that ZF2 will compete high enough in the full-stack department.

+1
source

Source: https://habr.com/ru/post/1347555/


All Articles