-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Release prep part 1 #1248
Release prep part 1 #1248
Conversation
jim-parry
commented
Sep 27, 2018
- standardize "todo" tags in source
- remove unneeded autodoc.php
- remember composer update in admin/release
- first crack at upgrading 3.x to 4.x guide
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great job! A few little nit-picks but otherwise looks good.
- There is also a `writable` folder, to hold cache data, logs, and session data | ||
- The `application` folder looks very similar to that for CI3, with some | ||
name changes (eg Filters instead of hooks) and capitalization, and some subfolders |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Events replaced Hooks, not filters.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will stick to mentioning changed names :-/
**Controllers** | ||
- Controllers extend \CodeIgniter\Controller instead of CI_Controller | ||
- They don't use a constructor any more (to invoke CI "magic"); they |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wouldn't mention initController
. That is used behind the scenes to free up the constructor, but the user's don't need to know about it. The ones that know about it so far are just confused by it :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will adjust wording
**Views** | ||
- Your views look much like before, but they are invoked differently ... | ||
instead of CI3's `$this->load->view(x);` you can use `view(x);` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You'll need to do echo view()
not just view()
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixing :)
- They don't use a constructor any more (to invoke CI "magic"); they | ||
instead call `initController` | ||
- They don't use a constructor any more (to invoke CI "magic") unless | ||
that is part of a bvase controller you make |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm guessing this was supposed to be base
not bvase
:)
Looks good to me! |