2 messages in com.googlegroups.pylons-discusssites integration by routes
FromSent OnAttachments
climbus29 Sep 2006 03:41 
Ben Bangert12 Oct 2006 10:09 
Subject:sites integration by routes
From:climbus (clim@gmail.com)
Date:09/29/2006 03:41:29 AM
List:com.googlegroups.pylons-discuss

I'm thinking on integration links form one site to another. One service has urls like: http://domain/product/?ProductId=123. Because i dont know will this link format change in future, i dont what use static links or parameters in html. I tried map.connect('product', 'http://domain/product/?ProductId=:product_id") but with http i think it didnt work. When i put _static=True, i must put ProductId in url_for function. Because i dont know it will be always ProductId i want alias or something.

Maybe change this in routes, that map.connect('product', 'http://domain/product/?ProductId=:product_id') will work. And url_for("product", product_id=123) will generate: http://domain/product/?ProductId=123.

Is this interesting or not?