mirror of
https://github.com/codeguy/php-the-right-way.git
synced 2025-08-08 15:06:30 +02:00
typo fixed
This commit is contained in:
@@ -249,7 +249,7 @@ $data = $client->loadOutput();
|
|||||||
|
|
||||||
## Front Controller
|
## Front Controller
|
||||||
|
|
||||||
The front controller pattern is where you have a single entrance point for you web application (e.g. index.php) that
|
The front controller pattern is where you have a single entrance point for your web application (e.g. index.php) that
|
||||||
handles all of the requests. This code is responsible for loading all of the dependencies, processing the request and
|
handles all of the requests. This code is responsible for loading all of the dependencies, processing the request and
|
||||||
sending the response to the browser. The front controller pattern can be beneficial because it encourages modular code
|
sending the response to the browser. The front controller pattern can be beneficial because it encourages modular code
|
||||||
and gives you a central place to hook in code that should be run for every request (such as input sanitization).
|
and gives you a central place to hook in code that should be run for every request (such as input sanitization).
|
||||||
|
Reference in New Issue
Block a user