Welcome Guest, Not a member yet? Register   Sign In
More Robust 3.x to 4.x documentation
#1

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())
Reply
#2

(This post was last modified: 09-23-2021, 04:04 PM by kenjis.)

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/CodeIgnit...ading.html

And it would be great to inform what is missing.
Reply
#3

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

CI3 Input/Output are added in:
https://codeigniter4.github.io/CodeIgnit...-libraries
Reply
#5

(This post was last modified: 09-24-2021, 03:37 AM by objecttothis.)

(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/CodeIgnit...ading.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/insta...e_4xx.html

Perhaps a link to https://codeigniter4.github.io/CodeIgnit...ading.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?
Reply
#6

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.
Reply
#7

(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.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB