This page contains a simple demonstation for the "Url Routing with PHP - Part Two"
article. It shows a live example
of how the code talked about in the article works. A download of sample code that you can use to experiment is included at the end of this page.
The incoming URL is parsed by the Axial_UrlInterpreter to obtain an Axial_Command object.
The following command array is obtained.
[parameters] => Array
The command object is then passed to the Axial_CommandDispatcher for execution based on the command object.
Click on the following links to see the results of various commands or type some into the address bar after '.../part_2/'.
Command Two with parameters