“Proper” separation/difference between index.php and front controller
问题 For a PHP MVC application, what is the difference of the job of the index.php file and front-controller? Is the front-controller in the index.php , or is it in a separate file? How do I separate the two and let them work together? Is the front-controller supposed to be a class (or like its own entity)? (If that's the case, then index.php will instantiate the front-controller?) I know that they have to "set up the environment," which includes defining some constants and etc, but what does what