A
A
Alexander2015-01-09 20:06:49
Yii
Alexander, 2015-01-09 20:06:49

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

4 answer(s)
A
Alexander Gubarev, 2015-01-10
@AlexGx

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.

S
Sergey Protko, 2015-01-09
Protko @Fesor

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.

A
Andrey Pavlenko, 2015-01-10
@Akdmeh

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.

I
index0h, 2015-01-09
@index0h

My advice to you: DO NOT learn the old unless absolutely necessary.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question