Migrating from Cake 1.3 to 2.0 and beyond - migrate existing, or only use for new?

前端 未结 3 1079
执念已碎
执念已碎 2021-02-13 21:34

I\'m nearling completion of my first CakePHP-driven website and just saw they\'re already working on CakePHP 2.0 (not the stable release yet).

My questions:

3条回答
  •  暖寄归人
    2021-02-13 22:28

    1. This question is difficult to answer as it depends on the size and complexity of your project(s). The "big" releases (from 1.1 -> 1.2, 1.2 -> 1.3, 1.3 -> 2.0) usually break stuff and so you have to budget some migration work. The migration between "smaller" releases (for example from 1.3.9 to 1.3.10), on the other hand, is usually easy, often it just means to replace the cake folder. In both cases it is useful to have tests.
    2. I migrate the projects which are actively maintained.
    3. You can find the CakePHP version in cake/config/config.php

提交回复
热议问题