An isomorphic routing based on the Symfony2 router component, allows for both the matching as well as the generation of urls.