I apologize if the question is from the category of "holivar". Due to not much experience with frameworks. 2 samopisnyh, Laravel and YII 2, I can not judge objectively in the choice. The project claims that samopis frameworks are better and all others are overloaded with unnecessary functionality, biased and abstruse and slow.

But it still seems to me that for each task, its own and samopisnoe, no matter how cool or worse, will be.

How to be and who is right. I want to learn new things, to understand and not to sit on a samopinny one.

PS if the question is not in the subject of the site delete, without question

Closed due to the fact that it is necessary to reformulate the question so that it was possible to give an objectively correct answer by the participants Vladimir Martyanov , aleksandr barakin , zRrr , Vartlok , fori1ton 5 Apr '16 at 14:20 .

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 .

  • If you want to learn new and understand - learn and understand. And then find a job with the technologies that interest you. Will it be laravel, yii or something else - Aleksey Shimansky

2 answers 2

All right. Here is the eternal struggle of a private decision with a common one.

The frameworks are designed to solve common problems and therefore:

  • Bring some overhead in work
  • Driven into the framework and require the adaptation of the solution of the problem to the framework.

But they solve these common problems well, because they are written and tested by people who understand this. And the community supports the quality of the framework.

A self-written framework can best fit the task and have a minimum overhead. But are you ready to support your framework, develop, test as well? Most likely no. It is necessary to write more than one framework in order to stuff a hand, and it still takes time to do it.

So you have to choose between ready and yours. Who can afford or has a need - writes its own frameworks. Who can not - takes ready.

Writing the framework itself is extremely useful for general development. This gives an understanding of the overall device. But for work it is better to use ready ones.

What kind?

It's harder here - the frameworks have a mini, middle, and so on. Although there is a subjective edge. And the larger the framework, the more it pushes into a rigid framework and adds an overhead projector, and for the task it may be necessary to configure a lot for themselves and take a stronger server. Smaller frameworks provide less overhead and more flexibility ... but to solve the problem will have to finish. So it all depends on the task and personal preferences. My opinion is that miniframes do not give enough, and monstrous give a big overhead and too much fetter. Therefore, I choose the middle. More should be considered popularity. It's better to take popular ones for work - it will be easier to find work. For myself, any more suitable look under the "how everything should be arranged."

  • Thank you very much for your response! Can you give at least a couple of examples of frameworks from each category (mini, middle, etc.)? - Shadow33
  • one
    @ Shadow33 Well, if I shared ... micro: slim, silex, fat-free. middling: yii, nette, lavarel and many others. Krupnyaki: zend framework (emphasis on academic and hellish overhead). For myself, I chose nette for its mvp + component approach + dsl'y, but I do not earn them otherwise I would choose yii or lavarel because of the demand. - vitidev

Honestly, it all depends on the project ... I am currently working on the backend and api, and here we decided only hardcore. Although, for some projects it is wiser to use the framework.

Anyway, if you want to develop, I would advise you to develop with symfony ... The same Laravel is based on symfony. Drupal, phbb, as well as other things are translated into symfony as well translated into symfony. Focusing on https://packagist.org : Symfony is the objective leader chosen by the world community, Laravel is the second, and Yii & Yii2 is very far from them. It says a lot.

If you want to get a real qualification and the opportunity to work with any markets (that is, not to focus only on Russia), I would advise working with Symfony or Laravel. Of course, if you become an advanced progroger on Yii2, you can find your audience of customers, but you will be unpleasantly surprised that Yii2 is not at all demanded (compared to S & L) in the international market. The most interesting thing is that the Russian market is currently catching up (well, here as it can) west and saturated with Symfony and Laravel.

Those. when choosing a framework, you need to rely on a lot of indicators ... here is about the same as if you wrote websites yourself as best you could, but then you saw Joomla and decided to become a super-pro in it, worked with it for 5 years ... and then We watched others get serious, interesting and well-paid projects after 1-2 years of serious work with any framework.