Hi everyone,

Not sure its the best way here to describe this feature request
anyway...

Can we imagine some kind of polymorphic route for Symfony2?
I mean of course we can determine the dynamic syntax for a route
but can we imagine configure several routes for a same route?

I mean, for example:


Lets say we have a site of classifed ads, with some some kind of
Faceted-Search where we could "code" the search directly into the url
a bit like a REST web app:

domain.com/filter?price/500
to search article with price =500

domain.com/filter?ville/paris
to search article with ville =paris

(ok right now, we could do that in 2 different routes)

but let says that:
domain.com/filter?price/500/ville/paris
is equal to
domain.com/filter?ville/paris/price/500

Could it be possible to have a this feature (or special route
definition syntax ) to have many routes in only one.
The goal is to have the parameters not mandatory AND ALSO their order
of appearance in url may change...!


Could we expect this functionality  some day?

Thx by advance for your response!

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en

Reply via email to