Answer the question
In order to leave comments, you need to log in
Is Yii2 Framework relevant in 2020?
Until recently, I used yii2, but then I had to learn and work with the Symfony 4 framework. I heard a lot of different opinions from colleagues. Some say that Yii2 is a good framework, some say that it is bad. It’s more convenient for me to use Yii2, but the words of colleagues that it’s better not to do projects on yii and that these projects are hard to maintain later haunt me. I would like to get an opinion from more experienced colleagues.
Answer the question
In order to leave comments, you need to log in
There are many nuances and it is difficult to answer unambiguously. As Ivan Shumov already wrote , a framework is a tool. Each tool is selected for a specific task:
'value' => 'profile.last_name'
. It is also impossible to make the properties of the model (entity) private. Because of this, the state of the model can be changed anywhere and you have no control over it.Yii::$app->user->id
. You have to do a dockblock, what User
is this common/auth/Identity
, notyii/web/User
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question