Using the PHP MVC framework, the first thing to think about is the few codeigniter, thinkphp, Yii2, Laravel.
Planning to refactor a medium-sized platform-type web site, which seems to codeigniter look more appropriate?
But careful consideration, codeigniter there are several fatal shortcomings or weaknesses:
1) The session is actually stored in a cookie
The harm is, when the content of the cookie is too large, will cause the file is re-request page, prompt request error. Because there are too many cookies sent in the past, and they are already garbled.
This is wrong in itself, and the session is actually stored in a cookie. It was wrong!
2) CodeIgniter Support ActiveRecord
Strange style, is already very old kind, if really in order to feel convenient to use CI, in fact, is not convenient. It's not easy to make a thorough end
3) support to PHP 4 in every possible direction
Many years ago, CI was hot, because CI to PHP 4 support, Doom to protect the PHP4 low version of the old program. That's the most disgusting.
Low version of the program, PHP performance, including development efficiency and operational efficiency, now PHP 5.6 Server, operating efficiency than PHP5.0 PHP 5.1 do not know how much higher, there is no need to cling to the old version of the server.
The previous PHP 5.1 PHP5.2 run a class instantiation are stuck, not to mention the introduction of too many program files, what OOP, so has been phper to MVC, oop all the doom of the conflict.
In the end, the goal of canceling CI to refactor is really inappropriate, and if using CI to refactor determines the impact on development efficiency, the operational efficiency will not be much improved. CI is really out of date.
is codeigniter out of date?