Modern Router
Pattern params {slug}, constrained {id:\d+}, optional
{x?}, and catch-all {path:.*} at any depth. Verb
helpers (GET/POST/PUT/PATCH/DELETE/ANY) with a clean 405 on
method mismatch — and HTML forms reach PUT/PATCH/DELETE via a POST-gated
_method field or X-HTTP-Method-Override header.
Named routes give reverse route() URLs.