Hi Jonathan and Anthony

Thanks for your comments.  I appreciate the work you have done to try and 
simplify this tricky subject.  However,  for me,  the parametric router and 
other ideas,  such as the autoroutes.py and some other recipes I have 
seen,  are not a good idea,  at all.

Now I know you may be thinking,  'Hmm poor soul doesn't seem to know that 
autoroutes and the other recipes are all just based on the pattern-matching 
and parametric routers'.  Well,  I do know -- now!  Yes now that I have 
spent an entire day looking through regex expressions and source code.

It is usually a good thing that we have choices,  but not choices of blind 
alleys.  IMO  there should be one comprehensive way for web2py to do 
routes. If regex patterns are the only way to solve all situations then so 
be it - we should just get used to it.  All our efforts can then go in 
building up a comprehensive list of recipes and off-the-shelf regex 
patterns that we can all just use.

The fact that there doesn't seem to be a clear answer to my easy question 
already says it all,  but the idea of renaming plugin_wiki as a work-around 
puts the issue beyond doubt  :)   

BTW plugin_wiki is one of my favourite things and it really surprises me 
that no one seems to have expressed an interest in wanting to give it 
better URLs.

Best regards,  David

-- 



Reply via email to