@@ -35,7 +35,7 @@ interpretation as before
3535root for your app
3636- There is also a `writable ` folder, to hold cache data, logs, and session data
3737- The `application ` folder looks very similar to that for CI3, with some
38- name changes (eg Filters instead of hooks) and capitalization , and some subfolders
38+ name changes, and some subfolders
3939moved to the `writable ` folder
4040- There is no longer a nested `application/core ` folder, as we have
4141a different mechanism for extending framework components (see below)
@@ -55,8 +55,8 @@ you are most comfortable with, including the "HMVC" style
5555
5656**Controllers **
5757- Controllers extend \C odeIgniter\C ontroller instead of CI_Controller
58- - They don't use a constructor any more (to invoke CI "magic"); they
59- instead call ` initController `
58+ - They don't use a constructor any more (to invoke CI "magic") unless
59+ that is part of a bvase controller you make
6060- CI provides `Request ` and `Response ` objects for you to work with -
6161more powerful than the CI3-way
6262- If you want a base controller (MY_Controller in CI3), make it
@@ -76,7 +76,7 @@ of your component
7676
7777**Views **
7878- Your views look much like before, but they are invoked differently ...
79- instead of CI3's `$this->load->view(x); ` you can use `view(x); `
79+ instead of CI3's `$this->load->view(x); ` you can use `echo view(x); `
8080- CI4 supports view "cells", to build your response in pieces
8181- The template parser is still there, but substantially
8282enhanced
@@ -89,8 +89,7 @@ don't have to
8989component
9090
9191**Helpers **
92- - Helpers are pretty much the same as before, except that instead
93- of `$this->load->helper(x); ` you would now use `helper(x); `
92+ - Helpers are pretty much the same as before, though some have been simplified
9493
9594**Extending the framework **
9695- You don't need a `core ` folder to hold `MY_... ` framework
0 commit comments