Skip to content
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

Merged
merged 4 commits into from
Sep 27, 2018
Merged

Release prep part 1 #1248

merged 4 commits into from
Sep 27, 2018

Conversation

jim-parry
Copy link
Contributor

  • 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

Copy link
Member

@lonnieezell lonnieezell left a 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
Copy link
Member

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.

Copy link
Contributor Author

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
Copy link
Member

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 :)

Copy link
Contributor Author

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);`
Copy link
Member

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()

Copy link
Contributor Author

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
Copy link
Member

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 :)

@lonnieezell
Copy link
Member

Looks good to me!

@jim-parry jim-parry merged commit cfaaef8 into codeigniter4:develop Sep 27, 2018
@jim-parry jim-parry deleted the release/prep branch September 27, 2018 19:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants