CodeIgniter Forums
Does the CI3 Application Flowchart also apply to CI4? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28)
+--- Forum: CodeIgniter 4 Support (https://forum.codeigniter.com/forumdisplay.php?fid=30)
+--- Thread: Does the CI3 Application Flowchart also apply to CI4? (/showthread.php?tid=80072)



Does the CI3 Application Flowchart also apply to CI4? - John_Betong - 09-09-2021

CI3 Application Flowchart
I found the above link to the image ideal for visualising the CI3 Application Flow and especially when comparing with the maximum log threshold results.
Is there a separate CI4 version or is the flow exactly the same?


RE: Does the CI3 Application Flowchart also apply to CI4? - kenjis - 09-09-2021

> Is there a separate CI4 version or is the flow exactly the same?

Probably no CI4 version.
The flow is not the same.


RE: Does the CI3 Application Flowchart also apply to CI4? - InsiteFX - 10-03-2021

No it does not, I creatred the last CI 3 flow chart, will see about creating a new one for CI4 when I find the time.


RE: Does the CI3 Application Flowchart also apply to CI4? - kenjis - 12-13-2021

How about this?
[Image: pub?w=957&h=220]


RE: Does the CI3 Application Flowchart also apply to CI4? - InsiteFX - 12-14-2021

@kenjis , Where does the Events fall into this flow before or after the Controller?


RE: Does the CI3 Application Flowchart also apply to CI4? - kenjis - 12-14-2021

Events have many points.
https://codeigniter4.github.io/CodeIgniter4/extending/events.html#event-points

post_controller_constructor is executed after a controller construction,
precisely after initController() is called.

A controller is constructed after before filters executions.


RE: Does the CI3 Application Flowchart also apply to CI4? - InsiteFX - 12-15-2021

@kenjis , Thank you for clareifing that for us.