#625: Pattern "templates" for routes
-------------------------+--------------------------------------------------
Reporter: dominik | Owner: dominik
Type: enhancement | Status: new
Priority: normal | Milestone: 1.0
Component: routing | Version: HEAD
Severity: normal | Keywords: pattern template routing
-------------------------+--------------------------------------------------
When a site has specific scheme of ids (alphanumeric, x characters)
writing the regexp which matches the id all over again doesn't fit the
DRY.
Invent some nice syntax which would allow things similar to
<pattern_template name="id" pattern="[a-z0-9_-]+" />
<route pattern="(id:#id#)" />
--
Ticket URL: <http://trac.agavi.org/ticket/625>
Agavi <http://www.agavi.org/>
An MVC Framework for PHP5
_______________________________________________
Agavi Tickets Mailing List
[email protected]
http://lists.agavi.org/mailman/listinfo/tickets