CodeIgniter Forums
More Robust 3.x to 4.x documentation - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28)
+--- Forum: CodeIgniter 4 Feature Requests (https://forum.codeigniter.com/forumdisplay.php?fid=29)
+--- Thread: More Robust 3.x to 4.x documentation (/showthread.php?tid=80171)



More Robust 3.x to 4.x documentation - objecttothis - 09-23-2021

Great work on CI4. I'm reworking an existing application from CI3.x to CI4.x and you do have a basic documentation page on the general idea but I'm finding that dozens of features from 3.x were removed with some replaced by another feature in CI4... Since that documentation isn't included I'm having to dig all over the place to try to figure out how to do it. It would be helpful if either one or both of the below were in place:

1- In the CI4 documentation there was a mention of the CI3.x counterpart when it's different. (e.g., the Request/Response class documentation would reference that in 3.x this was Input/Output)
2- A table in the CI3.x to CI4.x reference material that gave a cheatsheet of equivalents for the different versions. (e.g., input::post_get() => request::getPostGet())


RE: More Robust 3.x to 4.x documentation - kenjis - 09-23-2021

Thank you for your suggestion.

The dev doc has more info for upgrading. If you don't see it, check it out.
https://codeigniter4.github.io/CodeIgniter4/installation/upgrading.html

And it would be great to inform what is missing.


RE: More Robust 3.x to 4.x documentation - kenjis - 09-23-2021

I sent a PR: https://github.com/codeigniter4/CodeIgniter4/pull/5121


RE: More Robust 3.x to 4.x documentation - kenjis - 09-23-2021

CI3 Input/Output are added in:
https://codeigniter4.github.io/CodeIgniter4/installation/upgrade_4xx.html#upgrading-libraries


RE: More Robust 3.x to 4.x documentation - objecttothis - 09-24-2021

(09-23-2021, 04:03 PM)kenjis Wrote: Thank you for your suggestion.

The dev doc has more info for upgrading. If you don't see it, check it out.
https://codeigniter4.github.io/CodeIgniter4/installation/upgrading.html

And it would be great to inform what is missing.

Whoa, I don't know how I missed this. I had only seen this: https://codeigniter.com/user_guide/installation/upgrade_4xx.html

Perhaps a link to https://codeigniter4.github.io/CodeIgniter4/installation/upgrading.html could be added to that page in case others do like I did and look at what I did and then stop searching thinking that is the definitive guide.

If there are things missing, should I post them in this thread or create an issue in Github?


RE: More Robust 3.x to 4.x documentation - kenjis - 09-24-2021

https://codeigniter4.github.io/CodeIgniter4/ is not the official User Guide.
It is the current in-progress User Guide.
If you will see it as the official one when the next version is released.

> If there are things missing, should I post them in this thread or create an issue in Github?

GitHub issue is better. It will definitely catch the attention of the maintainers.
But either will do.


RE: More Robust 3.x to 4.x documentation - objecttothis - 09-24-2021

(09-24-2021, 03:57 AM)kenjis Wrote: https://codeigniter4.github.io/CodeIgniter4/ is not the official User Guide.
It is the current in-progress User Guide.
If you will see it as the official one when the next version is released.

> If there are things missing, should I post them in this thread or create an issue in Github?

GitHub issue is better. It will definitely catch the attention of the maintainers.
But either will do.

That explains why I didn't see it... OK, I'll submit a github issue for anything not covered in there.