URI DEV: Difference between revisions

748 bytes added ,  29 January 2008
Line 38: Line 38:
===Design idea 1===
===Design idea 1===
* http://anidb.net/<page>(/<id|name>/<action>/)/<paratemer>
* http://anidb.net/<page>(/<id|name>/<action>/)/<paratemer>
<id|name> and <action> are only needed for specific entries hence why those pages should not use plural for the pagename i.e. anime instead of animes
the plural version should be reserved for lists. so instead of animelist we just use animes. that simpler and more logic. aside shorter.
actions could be:
:* /show/ (could be used by default, but we should really just leave that out. unneccessary clutter. accepting it anyway would be fine though. accepting is fine. forcing is bad.)
:* /edit/
:* /history/
:* /vote/
:* /delete/
...
parameter could be something like
parameter could be something like
:* /h&mylist&noalias&wishlist&orderby.name.desc
:* /h&mylist&noalias&wishlist&orderby.name.desc


in full example this:
====Examples====
this:
:*http://anidb.net/perl-bin/animedb.pl?h=1&mylist=1&noalias=1&orderby=name&orderdir=0&show=animelist&wishlist=1
:*http://anidb.net/perl-bin/animedb.pl?h=1&mylist=1&noalias=1&orderby=name&orderdir=0&show=animelist&wishlist=1
could look like this:
could look like this:
Line 55: Line 68:
becomes:
becomes:
:*http://anidb.net/anime/1/edit
:*http://anidb.net/anime/1/edit
==Reference Material==
*http://miscoranda.com/159
*http://www.w3.org/Provider/Style/URI.html
*http://www.alistapart.com/stories/urls/
*http://www.ibm.com/developerworks/library/us-cranky8.html?dwzone=usability
MediaWiki spam blocked by CleanTalk.
MediaWiki spam blocked by CleanTalk.