Closed
Description
as discussed on twitter a while ago, i am looking into writing a cookbook article on additional things / alternatives to the standard symfony router. i post a sketch for the article here and hope we can discuss it a bit before i write it out in detail:
- Review routing component documentation clarify the routing component documentation a bit #6023
- Routing is not complicated: RequestMatcherInterface: Request => array with routing information
- Review http://symfony.com/doc/current/cookbook/routing/custom_route_loader.html (those routes are still cached in prod environment) clarify custom route loader documentation #6022
- Translating routes for multilanguage sites
- i18n routers to translate URLs (https://packagist.org/search/?q=i18n-routing => jms, besimple, any others to mention?)
- Integrating a custom router with symfony mention CMF ChainRouter, restructure documentation for extending routing #6020
- CMF ChainRouter when you write your own router. e.g. legacy application
- Looking up routes dynamically from a database (fix linking to the cmf routing component #2186) mention routing from the database #6021
- Routes from a database: CMF DynamicRouter. do not need to clear route cache on each edit. if the URL has an index, matching should be almost O(1) even for large number of routes
/cc @weaverryan @wouterj