I read that the / was used for name/value pairs because so that some of the
older search engines would index all the pages since some thought that
?name=value meant it was a dynamic page and shouldn't be indexed.

-----Original Message-----
From: Konstantin Priblouda [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 19, 2001 9:53 AM
To: Turbine Users List
Subject: Re: Advanced newbie questions



> This will allow one to use / in the templates, the
> urls will still
> contain , (comma)
> Turbine treats pathinfo as name/value pairs. 
> Therefore you cannot use /
> in template paths as it will mess up the name value
> pairing.
> 
> template/store,Department.vm/id/1 =>
> template=store,Department.vm and
> id=1
> template/store/Department.vm/id/1 => template=store
> and Department.vm=id
> and 1=


Well, I see. But why to choose / as separator?
What was wrong with classical way of parameter
passing?
( ?&= ) If it would be used there will be no
need to write parameter parsing. It would be done by
servlet container. 


BTW, am I wrong that turbine is meant too be used
with path mapping only?


> comma was chosen as the separator as it 1. works, 2.
> is/was used by a
> major web publishing tool (I think Vignette, but
> could be mistaken).  My
> irc client forces me to c/p links containing commas,
> but other than that
> i have never noticed much problem with using them.

There is only one problem -> it looks ugly
"template/user%2CFluxUserList.vm"

regards,

=====
Konstantin Priblouda ( ko5tik )    Freelance Software developer
< http://www.pribluda.de > < play java games -> http://www.yook.de >
< render charts online -> http://www.pribluda.de/povray/ >

__________________________________________________
Do You Yahoo!?
Find the one for you at Yahoo! Personals
http://personals.yahoo.com

--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to