ã¯ã¼ã«ãªURIã¨ã¯ï¼ ã¯ã¼ã«ãªURIã¨ã¯å¤ãããªããã®ã®ãã¨ã ã©ããªURIãå¤ãã£ã¦ãã¾ãï¼ URIã¯å¤ãããªãï¼äººããããå¤æ´ããã®ã ã çå±ã®ä¸ã§ã¯ã人ã ãURIãå¤æ´ããã¹ãï¼ãããã¯ããã¥ã¡ã³ãã®ã¡ã³ããã³ã¹ãããã¦ãã¾ãï¼çç±ã¯å ¨ãããã¾ãããããããç¾å®ã«ã¯å±±ã»ã©çç±ãããã¾ãã çè«ä¸ã§ã¯ããã¡ã¤ã³å空éã®ææè ã¯ãã®ç©ºéãææãã¦ããããããã£ã¦ãã®ä¸ã«å«ã¾ããURIãææ権ãæã¡ã¾ãããã¡ã¤ã³ç¶ææãæ¯æããªãå ´åãé¤ãã¦ããã®ååãä¿æãç¶ãããã¨ã妨ãããã®ã¯ããã¾ãããããã¦çè«ä¸ã¯ãããªãã®ãã¡ã¤ã³åã®ãã¨ã«ããURIã¯ãå®å ¨ã«ããªãã®ç®¡çä¸ã«ãããæãéããããå®å®çã«ä¿ã¤ãã¨ãã§ããã®ã§ãã ã¦ã§ãããããããã¥ã¡ã³ããæ¶ãã¦ãã¾ãå¯ä¸ã®ç´å¾ã§ããçç±ã¯ããã®ãã¡ã¤ã³åãä¿æãã¦ããä¼ç¤¾ãå»æ¥ãã¦ãã¾ããããµã¼ãã¼ãç¶æã§ããªããªã£ãã¨ããå ´åãããã§ããã
ä»åã¯ç´æ¥Railsã¨ã¯é¢ä¿ãªãã®ã§ãããå æ¥ãããããã¼ã¸ãè¦ã¤ãã¾ããã http://redrata.com/restful-uri-design/ ããã¯2009å¹´ã«æ¸ããããã®ã®ããã§ãããURLè¨è¨ã«é¢ããéè¦ãªèãæ¹ãããããæ¸ããã¦ãã¾ãã ãã®ä¸ã«ããã®ããã°ã®ã·ãªã¼ãºã®(4) ã¹ã©ãã·ã¥ã¨ãæã£ã¦ãããé¢ä¿ã(5) Railsã®ãªã½ã¼ã¹ãã¿ã¼ã³ã®å段éã«ãªããããªâChoosing a URI schemes for resource hierarchiesâã¨ãã話ããã£ãã®ã§ãããã¤ã¾ãã§ç´¹ä»ãããã¨æãã¾ãã ãªã½ã¼ã¹ã®é層ã«å¯¾ãã¦ãã©ãããURLãè¨è¨ãããï¼ åæã¨ãã¦ãè¨è¨ããWebãµã¤ãã«ã¯ãconversationï¼ä¼è©±ï¼ã¨ãããªã½ã¼ã¹ãè¤æ°ãããããããã®ãªã½ã¼ã¹ã¯ã¦ãã¼ã¯ãªIDã§åºå¥ãããã¨ãã¾ããï¼IDã¯æ°åã¨ã¯éããªãèå¥åï¼ /conversa
UUIDãTag URIã¹ãã¼ã ã使ãã¨ãæ°¸ä¹ ä¸æ» ã®èªåå°ç¨URIãä½ããã urn:uuid:f81d4fae-7dec-11d0-a765-00a0c91e6bf6 tag:[email protected],2010:foo/bar ã¾ãããããã®URIãAtomã§å©ç¨ããæ¹æ³ã«ã¤ãã¦æ¤è¨ããã <atom:link rel="tag:[email protected],2010:myself" href="tag:[email protected],2010:myself" /> èªå·±è¨åãªã³ã¯ UUID UUIDã«ã¯ããªã¨ã¼ã·ã§ã³ãåå¨ããã以ä¸ã¯RFC4122ã®è©±ãä»ã¯èª¿ã¹ã¦ãªãããã¤ã¯ãã½ããã®GUIDãRFC4122ã«é©åãã¦ããããã§ã¯ãªã(ããã )ã RFC 4122 - A Universally Unique IDentifier (UUID) URN Names
Tim Brayæ°ã®ããã°è¨äºã解説ãããã®ã§ããTim Brayæ°ã¯XMLã®çã¿ã®è¦ªã§ãããæè¿ã¯Google Developer Advocateã¨ãã¦Androidã®æ®åã«åãã¦ãã¾ããTwitterãã¯ãããæè¿ã®Webãµã¼ãã¹ã«ã¦ãtwitter.com/#!/timbrayãã®ããã«URLã«ã#!ãã¨ããhash-bangï¼shebangï¼ãå«ã¾ããã®ãããç®ã«ãã¾ãããTimæ°ã¯ãã®æµè¡ã«æ¹å¤ã®æã示ãã¦ãã¾ãã hash-bangãå«ãURLã¯Ajaxãå©ç¨ããããã«èããããããã¿ã§ãã#以éã¯åãªããã©ã°ã¡ã³ãã¨ãã¦å¦çãããããããµã¼ãã¯#ããåã®URLã解éãã³ã³ãã³ããåºåãã¾ããããã¦ãã©ã¦ã¶ã«ã¦JavaScriptã#以éã解éãã以éã®ãã¹ã«ç¸å½ããã³ã³ãã³ããAjaxã«ã¦åå¾ãã³ã³ãã³ããæ¸ãæãã¾ãããã®ããã¿ãã§ããèæ¯ã¯ãAjaxå¾ã®ã³ã³ãã³ããSE
URL Design [ad#ad-2] ä¸è¨ã¯åãã¤ã³ããæ訳ãããã®ã§ãã ã¯ããã« URLãè¨è¨ããçç± ãããã¬ãã«ã®ã»ã¯ã·ã§ã³ã¯éè¦ URLæ§é ãå¢å¼·ããæ¹æ³ ã¯ã¨ãªã®æåå URLã«ã¯ASCIIã URLã¯æ¤ç´¢ã¨ã³ã¸ã³ã®ããã«ã§ã¯ãªã URLã¯åæ å ¨ã¦ãURLãæã£ã¦ããã¹ã ãªã³ã¯ã¯ãªã³ã¯ããã åå©ç¨ã§ããªãURL ç´ æ´ãããURLã®ä¾ ãããã« ã¯ããã« ããªãã¯ãURLã®æ§é ãè¨è¨ããã®ã«æéããããã¹ãã§ãããã®è¨äºãèªãã å¾ã§ãããªãã«ä¸ã¤ã ãè¦ãã¦ããã¦ã»ãããã¨ã¯ãURLã®æ§é ãè¨è¨ããã®ã«æéãããããã¨ãããã¨ã§ãã URLãã¶ã¤ã³ã¯ç°¡åã§ã¯ãªããæ£ãã解決æ¹æ³ãããã¨è¨ããã¨ã¯ã§ãã¾ããããããããã¯ãä»ã®ãã¶ã¤ã³ã¨åãã§ããè¯ãURLãã¶ã¤ã³ããããè¯ããªãURLãã¶ã¤ã³ããããããã¦ãã®ä¸éãããã¾ãã ããããããã¯ç´ æ´ãããURLãã¶ã¤ã³ãä½ãã
é¢å¿äºãªãã¸ã§ã¯ãã®ãç¾å¨ã®ç¶æ ããå©ç¨è ã«æä¾ãããã¿ã¼ã³ã®ã²ã¨ã¤ããREST ã¹ã¿ã¤ã«ã® GETãæ¹å¼ã GET /ãªã½ã¼ã¹ã®èå¥å(URI) ããµã¼ãã¼ã«ãªã¯ã¨ã¹ãããã¨ããç¾å¨ã®ç¶æ ( current state )ãã®è¡¨ç¾ ( Representation ) ãããã£ã¦ãããã¨ãããã¤ã§ããã ãã¡ã¤ã³ã¢ããªã³ã°ã®ãã¿ã¼ã³ã¨ãã¦ãç§ã¯ãããªã½ã¼ã¹ãããé¢å¿äºãªãã¸ã§ã¯ããããURIãããèå¥ãã¼ãã¨ããè¨èã«ãã¦ããã å®éã«ãHTTP ã使ããã©ããã¯å¥ã¨ãã¦ã âããªã½ã¼ã¹ï¼ï¼é¢å¿äºãªãã¸ã§ã¯ãï¼ã® âãURI (ï¼èå¥ãã¼) ãæå®ã㦠âãç¾å¨ã®ç¶æ (current state)ãå ¥æãã ã¨ããã®ã¯ãã¨ã³ã¿ã¼ãã©ã¤ãºã¢ããªã±ã¼ã·ã§ã³ã®åºæ¬ä¾¡å¤ã®ã²ã¨ã¤ã§ããã ãé¢å¿ã®ãããã¨ãç¥ããã¨ããæ¥åã®åºæ¬ãã¼ãºã ãã®ãã¼ãºã«å¿ããããã® GET æ¹å¼ã®ã¢ããªã³ã°ã»è¨è¨ã¯
ã¯ã¦ãªã°ã«ã¼ãã®çµäºæ¥ã2020å¹´1æ31æ¥(é)ã«æ±ºå®ãã¾ãã 以ä¸ã®ã¨ã³ããªã®éããä»å¹´æ«ãç®å¦ã«ã¯ã¦ãªã°ã«ã¼ããçµäºäºå®ã§ããæ¨ããç¥ãããã¦ããã¾ããã 2019å¹´æ«ãç®å¦ã«ãã¯ã¦ãªã°ã«ã¼ãã®æä¾ãçµäºããäºå®ã§ã - ã¯ã¦ãªã°ã«ã¼ãæ¥è¨ ãã®ãã³ãæ£å¼ã«çµäºæ¥ã決å®ãããã¾ããã®ã§ã以ä¸ã®éãã確èªãã ããã çµäºæ¥: 2020å¹´1æ31æ¥(é) ã¨ã¯ã¹ãã¼ãå¸æç³è«æé:2020å¹´1æ31æ¥(é) çµäºæ¥ä»¥éã¯ãã¯ã¦ãªã°ã«ã¼ãã®é²è¦§ããã³æ稿ã¯è¡ãã¾ãããæ¥è¨ã®ã¨ã¯ã¹ãã¼ããå¿ è¦ãªæ¹ã¯ä»¥ä¸ã®è¨äºã«ãããã£ã¦æç¶ãããã¦ãã ããã ã¯ã¦ãªã°ã«ã¼ãã«æ稿ãããæ¥è¨ãã¼ã¿ã®ã¨ã¯ã¹ãã¼ãã«ã¤ã㦠- ã¯ã¦ãªã°ã«ã¼ãæ¥è¨ ãå©ç¨ã®ã¿ãªãã¾ã«ã¯ãè¿·æãããããããã¾ãããã©ãããããããé¡ããããã¾ãã 2020-06-25 è¿½è¨ ã¯ã¦ãªã°ã«ã¼ãæ¥è¨ã®ã¨ã¯ã¹ãã¼ããã¼ã¿ã¯2020å¹´2æ28
Cool URIs for the Semantic Web W3C Interest Group Note 03 December 2008 This version: http://www.w3.org/TR/2008/NOTE-cooluris-20081203/ Latest version: http://www.w3.org/TR/cooluris/ Previous version: http://www.w3.org/TR/2008/NOTE-cooluris-20080331/ Editors: Leo Sauermann (DFKI GmbH) Richard Cyganiak (DERI, NUI Galway and Freie Universität Berlin) Contributors: Danny Ayers (Talis Information Ltd.
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}