The front controller is the unique entry point to the application.
To change the environment in which you're browsing your application, just choose another front controller.
Para ejecutar la aplicación en otro entorno, solamente es necesario cambiar de controlador frontal.
Phar::webPhar() implements a front controller that routes HTTP calls to the correct location within the phar archive.
Phar::webPhar() implementa un controlador principal que direcciona llamadas HTTP a la ubicación correcta dentro del archivo phar.
mapPhar for web-based phars. front controller for web applications
But, you also saw page controller, front controller.
Web tests have to use a front controller, and as such can use a specific environment (i.e. configuration).
Las pruebas de webs tienen que usar un controlador frontal, y pueden usar un entorno específico (es decir, una configuración).
When all is done, the front controller returns a response.
This will instantiate and dispatch the front controller, which will route requests to action controllers.
Esto instanciará y hará un dispatch del front controller, que redigirá las peticiones a los action controllers.
It then scans it and adds them as controller directories to the front controller.
A continuación lo analiza y los añade como directorios de controladores al front controller.
In the introduction, we indicated that the front controller also acts as a registry for the various controller components.
En la introducción, se indicó que el front controller también actúa como un registro de los distintos componentes del controlador.
In most cases, this gives the developer the opportunity to tailor the dispatch process to the site without the need to extend the front controller to add functionality.
En muchos casos, esto da el desarrollador la oportunidad de adaptar el proceso de dispatch al sitio sin la necesidad de ampliar el Front Controller para añadir funcionalidad.
If you open the front controller files, you will see that their content is the same except for the environment setting
The above rules will route requests to existing resources (existing symlinks, non-empty files, or non-empty directories) accordingly, and all other requests to the front controller.
La regla de arriba redirigirá las peticiones a recuros existentes (enlaces simbólicos existentes, archivos no vacíos, o directorios no vacíos) en consecuencia, y todas las otras peticiones al front controller.