Revised a bunch of frameworks, but still wondering what kind of framework you need to know every php-person. I'm not talking about which is the best and faster of them, tell me the academically correctly written framework, which has a lot to learn given that the year 2016 ends.
Closed due to the fact that it is necessary to reformulate the question so that it was possible to give an objectively correct answer to the participants Visman , user207618, Grundy , cheops , aleksandr barakin 13 Aug '16 at 5:38 .
The question gives rise to endless debates and discussions based not on knowledge, but on opinions. To get an answer, rephrase your question so that it can be given an unambiguously correct answer, or delete the question altogether. If the question can be reformulated according to the rules set out in the certificate , edit it .
- The framework is still implementation tools (architecture, applications, etc.) - Naumov
- You understand that this is a debatable question and it is difficult to give an unequivocal answer without specific metrics? Try to bring in the question the criteria of an academically correct framework. What properties should it respond to? Maybe you know examples from other languages? - user1056837
- For example, from what they advised me: Symphony is academically very well written and its code can be read as a manual how to write frameworks. As for ZF2, they say that this is a pure box with classes, i.e. developers should not even leveled at it by developing for example your project, there is nothing good to borrow. - Andrey
3 answers
Symphony is a clear leader.
There are a million restrictions in it that simply do not allow to do wrong. This greatly enrages at first, but over time you realize that the statutes are written in blood, and each restriction is not a whim of the developers, but concern for you as well.
For example, in the console command you cannot access the controller method. And this is correct, because if some functionality is required more than in one place - it has no place in the controller, and it should be placed in the helper library, and the controller should already refer to this helper.
Laravel, in turn, is a very good framework, but it focuses on the simplicity and speed of development, bypassing some important principles. Not to be unfounded, here's a good article about the flaws of Laravel.
- Later I will give specific examples, now there is no time - Ipatyev
- Plus for symfony. - A1essandro
- minus since the matter of taste @ A1essandro for example, I bow to Zend more - Naumov
Symphony or laravel. Both are good. The first has few instructions in Russian, the second has more.
- And what's right about them? and what on them it is impossible to build bad architecture? - Naumov
- Lara just teach the bad. But Symphony is much more difficult to master, without all these pop facades, but it will really teach understanding of architecture - Ipatyev
- oneHow are they better than yii2? - 5f0f5
- @Naumov is at least more correct, many will not. Bad architecture can be built on any “tool”, but this does not mean that they should not be used - Alex_01
- @ 5f0f5048ff a matter of taste - Alex_01
And I would advise not a framework but cms with a built architecture to see how it works for example magento
any version, the entry time is long, cms with limitations and complicated but after you enter it becomes very convenient, as the architecture and structure of cms is thought out to the smallest detail .