A better way to understand what you’re doing in most of the modern web app frameworks in PHP, Python and Ruby is just to build your own simple framework based on the same MVC code organization paradigm.
Below is a really good tutorial for PHP I used to do this — if you’re working with Laravel or CodeIgnitor or the like.
https://www.youtube.com/embed/Aw28-krO7ZM
It takes less than an hour to hack something like this together in any language and it’s instructive to remember this level of simplicity when you feel overwhelmed by a mountain of code within some of the more feature-rich frameworks.