Answer the question
In order to leave comments, you need to log in
Will it be easy to migrate from Yii 1.1.6 to Yii 2?
I am currently studying yii 1.1.6, but will it be difficult to switch to yii2, are there many changes?
Answer the question
In order to leave comments, you need to log in
I moved in one day, but I contributed a little to yii2 at the beta stage. The framework is very quickly mastered when porting your code from yii1.
I can confidently say that if you are not working in some long-term project where a version of the framework has already been selected, then the realities of the market are such that you need to know both 1 and 2. The first is to support and develop existing projects, the second is to develop new ones.
Why are you studying 1.1.6?
In any case, difficult or easy, I see no reason to look at all towards the 1.1 branch. So, regardless of the complexity of the transition, drop everything and go to the 2nd branch ... well, or another framework.
There are quite a few changes; and there really is no point in studying the old.
Yii2 uses many modern coding standards, knowledge of which will only be a plus, for example, when applying for a job: namespace, PSR, Composer, good security (using the Security helper).
Therefore, it is worth studying the second version right away, and the first one can only be looked at a little as a comparison, and if you have to work with the code for the first version.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question