其他分享
首页 > 其他分享> > [codeigniter4]Upgrading from 3.x to 4.x

[codeigniter4]Upgrading from 3.x to 4.x

作者:互联网

CodeIgniter 4 is a rewrite of the framework, and is not backwards compatible. It is more appropriate to think of converting your app, rather than upgrading it. Once you have done that, upgrading from one version of CodeIgniter 4 to the next will be straightforward.

The "lean, mean and simple" philosophy has been retained, but the implementation has a lot of differences, compared to CodeIgniter 3.

There is no 12-step checklist for upgrading. Instead, start with a copy of CodeIgniter 4 in a new project folder, however you wish to install and use it, and then convert and integrate your app components. We'll try to point out the most important considerations here.

Not all of the CI3 libraries have been ported or rewritten for CI4! See the threads in the CodeIgniter 4 Roadmap subforum for an uptodate list!

Do read the user guide before embarking on a project conversion!

Downloads

Namespaces

Application Structure

Class loading

Controllers

Models

Views

Libraries

Helpers

Extending the framework

标签:CodeIgniter,application,Upgrading,CI3,framework,folder,your,codeigniter4
来源: https://www.cnblogs.com/landv/p/12377559.html