ãµã¤ã³ã¤ã³ããç¶æ ã§ããããããæ¼ãã¨ããã¤ãã¼ã¸ã® ããããå±¥æ´ãã«ä¸è¦§ã¨ãã¦ä¿åããã¦ããã®ã§ã å度èªã¿ãããªã£ãæãããã¨ã§ãã£ããèªã¿ããã¨ãã«ä¾¿å©ã§ãã
http://www.infoq.com/jp/news/2009/08/CRUDREST ä¸è¨URLãèªãã§èªåãªãã«ä¾é¡ãèãã¦ã¿ãã(todo:ãã¨ã§ç¶æ é·ç§»å³ã追å ) RestBucks cafe å®å ¨ã«ãªã³ã©ã¤ã³åããã¦ãã¦WebAPIã§æ³¨æã§ããã¨ãããããã«ãã§ãæ³å®ãã¾ãã(ãã®æã®ä¾ã«Starbucksã使ãã®ã¯Gregor Hopeãã以æ¥ã®ä¼çµ±ãããã§ã) 客å´ããè¦ãã¦ã¼ã¹ã±ã¼ã¹ã¯ãããªæã 客ã¯ã¬ã¸ã®ãµã¼ãã¹ãå¼ã³åºãã¦ã注æãå ¥åãã¦æ¯æã èªå¸ã§æ³¨æç¶æ³ããã§ãã¯ãåºæ¥ä¸ãã£ã¦ãããåãã«è¡ãã 注æã¨ããã¨ã³ãã£ãã£ã¨ã[注æç·¨é] [æ¯æã] [åãåã] ã¨ãã(ã¢ããªã±ã¼ã·ã§ã³)ç¶æ ã«ãã£ã¦ä¸æã表ç¾ã§ãããã§ãã (RESTfulã ãã©)CRUDãªè¨è¨ CURDãªè¨è¨ã§ã¯ããªã½ã¼ã¹ãURLã«ãããã³ã°ãã¾ããããã«å¯¾ãã¦CRUDããã¨ããã¤ã¡ã¼ã¸ã§ã
ããã°ãæ¸ãä¸ã§ãããã¨ä¾¿å©ãªã®ãããã£ããã£ç»åã®ãµã ãã¤ã«ãä»ãããªã³ã¯ãããã«ä½ããä»çµã¿ãGoogle Chromeæ¡å¼µæ©è½ã使ãã°ãã£ã¨ããéã«åºæ¥ã¾ãã ã¸ã§ãã¬ã¼ã¿ã§ä½ãã¨5ç§ã¯ãããã®ã§ãã£ã¨å¹çåããã ãã£ããã£ç»åã®ãµã ãã¤ã«ãä»ãããªã³ã¯ãä½ãæ¹æ³ã¨ãã¦ãæãããã¥ã©ã¼ãªã®ããã¸ã§ãã¬ã¼ã¿ã¼ã®å©ç¨ã§ãããã 以åã«ãããµããããããã¸ã§ãã¬ã¼ã¿ãå¼·çã«ãå§ãããã¦ãã¾ããã⦠[img-link url=âhttp://laugh-raku.com/archives/4465â³ title=âã¦ã½ã ãã£ï¼ï¼è¨äºãªã³ã¯ã«ãµã ãã¤ã«ç»åã¨ã¯ã¦ãæ°ã追å ãã¦ããããç¥ãã¼ã«ããç¥ããªããªãã¦ï¼ | ããµãã^^ ~ããã°ã§é£¯ãé£ã~â] è¨äºã«ããã¨ã以ä¸ã®æé ã§ãã£ããã£ç»åä»ããªã³ã¯ãçæããã¾ãã ç´¹ä»ãããã¦ã§ããã¼ã¸ãçºè¦ ãã®ã¦ã§ããã¼ã¸ã®URLãã³ãã¼ ã¯ã¦
Webã¢ããªã±ã¼ã·ã§ã³ã«ã¤ãã¦ãRESTfulãªURLã»ãªã½ã¼ã¹è¨è¨ã®ãã¿ã¼ã³ãè¦åºããã¨ã§ã ã©ã®ãã¿ã¼ã³ããå¤æããã ãã§ãæ¢åã® Good Practice ãé©ç¨ã§ãã ååãã¤ãã¦å¼ã¹ãããã«ããã Railsãªã©ã®ãã¬ã¼ã ã¯ã¼ã¯ã§ç°¡åã«é©ç¨ã§ããããã«ããã ã¨ãããã¨ãç®æãã¦ãã¾ãã ã»ãã¨ãã«å½¹ç«ã¤ã ããã¯ãã¿ã¼ã³ã¨è¨ããã®ã ãã£ã¨ä»ã«ããã ã ãã¶ç²åº¦ããã©ãã© ååã®ä»ãæ¹ï¼ãã¿ã¼ã³ã¯ååéè¦ï¼ ãªã©ããã²ãæè¦ããã ããã ãã¿ã¼ã³ Collection & Member Resource ãã¿ã¼ã³ Singular (Singleton) Resource ãã¿ã¼ã³ Filtered Collection ãã¿ã¼ã³ Filtered Subresource ãã¿ã¼ã³ Multi-member Resource ãã¿ã¼ã³ Partial Resource ãã¿ã¼
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}