[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: URI design
From: |
MJ Ray |
Subject: |
Re: URI design |
Date: |
Fri, 06 Jul 2007 13:43:15 +0100 |
User-agent: |
Heirloom mailx 12.2 01/07/07 |
Davi Leal <address@hidden> wrote:
> Davi Leal wrote:
> > It seems the PATH_INFO design is more clean!. Are there any other reason
> > because you prefer PATH_INFO?. I am not sure what we must do.
> >
> > /resume?pag=1
> > /resume/pag/1
> >
> > /offers?action=edit&id=12&pag=N
> > /offers/action/edit/id/12/pag/N
If I have understood it correctly, I'd usually have those two examples
as /resume/1 and /offers/12/edit/N - that is, I would usually not
include the parameter keys in the path and decide which value is which
by its position, similar to how a function call works.
Hope that explains,
--
MJ Ray - see/vidu http://mjr.towers.org.uk/email.html
Experienced webmaster-developers for hire http://www.ttllp.co.uk/
Also: statistician, sysadmin, online shop builder, workers co-op.
Writing on koha, debian, sat TV, Kewstoke http://mjr.towers.org.uk/
- Re: URI design,
MJ Ray <=