15 messages in com.googlegroups.pylons-discussRe: Routes user survey
FromSent OnAttachments
Mike Orr23 Nov 2007 01:36 
Marcin Kasperski23 Nov 2007 04:30 
Paweł Stradomski23 Nov 2007 05:46 
Mike Orr23 Nov 2007 05:50 
Mike Orr23 Nov 2007 06:06 
Paweł Stradomski23 Nov 2007 06:18 
Mike Orr23 Nov 2007 07:31 
Paweł Stradomski23 Nov 2007 07:34 
Mike Orr23 Nov 2007 08:37 
Jose Galvez23 Nov 2007 10:34 
Ben Bangert23 Nov 2007 15:34 
Ian Bicking23 Nov 2007 21:56 
Andrew Smart24 Nov 2007 11:04 
Ian Bicking24 Nov 2007 13:59 
Mike Orr26 Nov 2007 16:16 
Subject:Re: Routes user survey
From:Marcin Kasperski (Marc@public.gmane.org)
Date:11/23/2007 04:30:01 AM
List:com.googlegroups.pylons-discuss

redirect routes need some detailed design.

a) There should be an easy way to define internal redirects. Important thing here is that the destination url should be defined using routes by itself. I am not sure about the syntax, but url_for need not be available at the moment (for example, if redirects need to be defined earlier than the destination routes)

b) There should be some explicit way of selecting which kind of redirect is to be performed (permanent, temporary, ...).

c) In case of internal redirects it may make sense to handle 'invisible redirect' (just picking the destination object using the redirected-to route without generating any redirect to the browser) as one of the methods.