Actions dispatcher helps you to write clean PHP code, allowing an environment on wich all PHP script calls are made trough the same script (normally index.php). Actions dispatcher takes the petition from index.php and performs any operation related to that petition, according to the previously defined actions. It's very useful if you are habituated to work with lots of classes. You'll also find that is a perfect way to keep your code clean, because every block of code is just in the place it has to be, and not fragmentated in a big index.php. |