2016/10/12 社å åå¼·ä¼ã§ä½¿ã£ãã¹ã©ã¤ãã社å¤åãã«ä¸é¨å çè¨æ£ãããã®
æã社å åå¼·ä¼ã§RESTã«ã¤ãã¦çºè¡¨ããæã«ä½ã£ãè³æã§ããPCã®ãã¡ã¤ã«æ´çãã¦ããçºæãããã®ã§ãå 容ãã¡ãã£ã¨ä¿®æ£ãã¦ã¢ãããã¾ããã ãWebãæ¯ããæè¡ - HTTPãURIãHTMLãããã¦RESTã ããã¼ã¹ã«ããã話ã§ããRead less
ã¨ããã¤ã¤ãã²ã¨ã¤ã ãç解ã§ããªãã¨ããããç´å¾ã§ããªãã¨ãããããã©ã³ã¶ã¯ã·ã§ã³ã®ã¨ããããªãã ãRESTã£ã½ããªãã®ããããæ°ã«ãªã Webãæ¯ããæè¡ -HTTPãURIãHTMLãããã¦REST (WEB+DB PRESSãã©ã¹ã·ãªã¼ãº)(å±±æ¬ é½å¹³) - ãã ã®ã«ã£ã(2010-04-23) ãWeb ãæ¯ããæè¡ãã¯èªåãã¨ã¦ãããæ¬ã ã¨æã (æç§æ¸ã¨ãã¦ãã°ãããã復ç¿ç¨ã¨ãã¦ãèªã¿ãããã®ã§ã¤ã¤) ã®ã§ããããã©ã³ã¶ã¯ã·ã§ã³ã®æã ãã¯åããã¥ãããªã¨æãã¾ããããã®åå ã¯ãatomic transaction ã§è§£æ±ºã§ãã課é¡ãä¾ã¨ãã¦ä½¿ã£ã¦ããã¨ããç¹ã¨ããã©ã³ã¶ã¯ã·ã§ã³ã¨æ´æ°ã¯ã¨ãªã®ã¬ã¤ã¤åå²ãããã¦ããªããã¨ããï¼ã¤ã®ç¹ã«ãããã®ã§ã¯ãªãã§ããããã HTTP ä¸ã§ãã©ã³ã¶ã¯ã·ã§ã³ã表ç¾ããå¿ è¦ãããã±ã¼ã¹ã®ã»ã¨ãã©ã¯ãatomic transaction ã§ã¯ãªã
mozaic.fm #7 RESTã#mozaicfm REST ãè´ãã¦ã®ææ³ããããããWeb+DB vol82ã®WebAPIãã¶ã¤ã³ã®éåãã«è§¦çºãããã®ã§æ¸ããã¨æãã RESTè¨è¨ã«ã¤ã㦠WebAPIãè¨è¨ããããã§RESTãéè¦ã§ãããã¨ã¯å¨ç¥ã®ã¨ããã§ããã âConstraints are liberatingâãå¶ç´ã¯èªç±ãããããã @t_wadaããããã£ããã£ã¦ããããã«ãRESTãåæã«ããã°ããã¢ã¼ããã¯ãã£ã¨ãã¦ãããã ããã¢ããªã±ã¼ã·ã§ã³ãã¬ã¼ã ã¯ã¼ã¯ããé©åãªå¶ç´ããè¨ãããã¨ã§è¨è¨ã®ã³ã¹ããä¸ãããã¨ãã大ããªã¡ãªãããçã¾ããã ããããç¸å¤ããããªã½ã¼ã¹è¨è¨ããã¤ã³ã¿ã¼ãã§ã¼ã¹è¨è¨ããã§æ©ãã§ããããæ¹ãå¤ãã¨èãã ãã®ä¸æ¹ã§å人çã«ã¯é©åãªãã¬ã¼ã ã¯ã¼ã¯ã使ãã°RESTè¨è¨ã§æ©ã¾ãªãã¦ãããã¯ã(â»3)ã¨ããæããããã ã¤ã³ã¿ã¼ãã§ã¼ã¹è¨è¨ãª
Theme 第 7 åã®ãã¼ã㯠REST ã§ãã ä»å㯠@yohei ããã¨ã @t_wada ããããè¿ããã REST ããã¼ãã« ããããã¡ã© REST ã¨ã¯ä½ããã¡ããã¨è©±ãããã¨ããè°è«ãç®åãã«ãä»ãªã«ãèµ·ãã£ã¦ããã®ã?ããããããã©ããªã£ã¦ããã®ã?ãã¾ãããWeb ãæ¯ããæè¡ãæ¹è¨ããã¨ããã?ãããã£ã·ãè°è«ãã¾ããã ã¨ãã½ã¼ãä¸ã«ãåºã¦ãã¾ãããã ãWeb ãæ¯ããæè¡ããæ¹è¨ããéã«ããããããã¨ãè¼ãã¦æ¬²ããã ã¨ãã @yohei ããã¸ã®è¦æãããã° #mozaicfm ãã¤ãã¦ãæ¯éã¤ã¶ããã¦ãã ããã ä»åã¯ãå± é å±ãã¼ã¯ã®é²é³ãªã®ã§å¨å²ã®éé³ãå¤ãã§ãããäºæ¿ãã ããã Show Note Representational State Transfer (REST) Web ãæ¯ããæè¡ - - HTTP, URI, HTML, ãã㦠RES
ã·ã³ã°ã«ãã¼ã¸ã¢ããªã±ã¼ã·ã§ã³ãã¢ãã¤ã«ã¢ããªãªã©ã®æ®åã«ããããµã¼ããµã¤ãã§ã¯JSONãåºåããWeb APIã®å¿ è¦æ§ãé«ããªã£ã¦ãã¦ãã¾ããã¿ãªããã¯ã©ã®ããã«Web APIãä½ã£ã¦ããã§ããããã JSONã¯ãã¥ã¼ Railsã§JSON APIãå®ç¾©ããæãç´ ã®ã¾ã¾ã§ãããã¨ãã㨠ã³ã³ãã¼ã©ã§to_jsonãå¼ãã ããã¢ãã«ã«as_jsonãå®ç¾©ããããããã¨ã«ãªããã¨æãã¾ãã ã¢ãã«ã«æ¸ãã¨APIã«ãã£ã¦åºåå 容ãå¤ãããå ´åã«ã¨ã¦ãè¦å´ãã¾ãã APIæ°ãå¢ããã°å¢ããã»ã©ã¢ãã«ãè¤éã«ãªã£ã¦ããã¾ãã APIã¬ã¹ãã³ã¹ã¨ãã¦ã®JSONã¯ã³ã³ããã¼ã©ãã¢ãã«ã«æ¸ãã¹ãã§ããããï¼ ãã¥ã¼ã«æ¸ããæ¹ãèªç¶ã§ã¯ãªãã§ããããï¼ ããã¯Railsã§ã®è©±ã§ãããRailsã«éããããã¬ã¼ã ã¯ã¼ã¯ã使ã£ã¦Web APIãä½ãã¨ãã«ä¸è¬çã«ãã¦ã¯ã¾ããã¨ã ã¨æãã¾ãã å¤åã«å¼·ããåå©ç¨
ãªã㧠html ã® from 㯠PUT / DELETE ãã§ããªãã®ãããã»ãã¥ãªãã£ççç±ãã¨ããæ´å²ççµç·¯ãã¨ããããã£ããããªåãããªããããªèª¬æã¯ããèããã©ãå®éãªãã§ãªã®ã調ã¹ã¦ããè²ã æãã¦ããã£ã話ã ããã¾ã§ããã£ããã¨ã blog ã«ã¾ã¨ãã¾ããã / âãªã html ã® form 㯠PUT / DELETE ããµãã¼ãããªãã®ãï¼ - Block Rockinâ Codesâ http://jxck.hatenablog.com/entry/why-form-dosent-support-put-delete
UNIVERSITY OF CALIFORNIA, IRVINE Architectural Styles and the Design of Network-based Software Architectures DISSERTATION submitted in partial satisfaction of the requirements for the degree of DOCTOR OF PHILOSOPHY in Information and Computer Science by Roy Thomas Fielding 2000 Dissertation Committee: Professor Richard N. Taylor, Chair Professor Mark S. Ackerman Professor David S. Rosenblum
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}