4. Herokuâs HTTP API Design Guide Herokuã®APIãã¶ã¤ã³ããå¾ãç¥è¦ãã¾ã¨ãã APIè¨è¨ã®ã¬ã¤ãã©ã¤ã³ devcenter.heroku.com/categories/platform-api github.com/interagent/http-api-design Heroku Platform API
ä»äºæãå¥å¦ãªDBæ§é ãç®ã«ãããã¨ãå¤ããã©ãããçºæ³ãããããªè¨è¨ããããã®ããç解ãããã¨æã£ã¦ããã®ã ããã¢ãã©ã¼ä»²éã®ç§éãããå æ¥ãã¾ãææããããã主ãã¼ãã¤ã³ããã¯ã¹ã¿ãããªãã®ã¨åéããã¦ããããã§ã¯ãªãã§ããããããã¤ã³ããã¯ã¹ï¼ãã¼ï¼ã¨ããã®ã¯ãã¬ã³ã¼ãã®ä¸¦ã³é ãè¦å®ãããã¼ã®ãã¨ã ã ãããã«æãå½ããç¯ããããããããªé ã«ã¬ã³ã¼ãã並ãã§ããã°å¦çä¸é½åãããããã ãã¨ããèãã§ä¸»ãã¼ãè¨å®ããããããã«ä¸»ãã¼ã¯ã¦ãã¼ã¯å¶ç´ã§ãããã®ã§ãéè¤ãèµ·ãããªãããã«ãå¤ããã«é ç®ãçªã£è¾¼ãã§ãããã¤ã¾ããã¦ãã¼ã¯å¶ç´ãã¨ããªã代表çã¤ã³ããã¯ã¹ãç¨åº¦ã«ä¸»ãã¼ãç解ãããçµæã¨ãã¦ãã°ãã°ããªDBæ§é ãåºæ¥ä¸ããã®ã§ã¯ãªããã ãã£ãããæãããªãã¨ããã£ãã{a,b,c,d}ã®è¤å主ãã¼ããã¤ãã¼ãã«ï¼¸ããããã¨ããããå¥ã®ãã¼ãã«ï¼¹ãããã¼ãã«ï¼¸ã®ç¹å®ã¬ã³ã¼ãã«ã¢ã¯ã»
APIãã¶ã¤ã³ã®æ¥µæ Java/NetBeansã¢ã¼ããã¯ãæ¢ç©¶ãã¼ã ä½è : Jaroslav Tulach,æ´ç°è³æ¨¹åºç社/ã¡ã¼ã«ã¼: ã¤ã³ãã¬ã¹ã¸ã£ãã³çºå£²æ¥: 2014/05/23ã¡ãã£ã¢: åè¡æ¬ï¼ã½ããã«ãã¼ï¼ãã®ååãå«ãããã° (4件) ãè¦ã APIè¨è¨ã¯é£ãã "è¯ã"APIãè¨è¨ããã®ã¯é£ãããAPIã®è¯ãæªããå®éçã«è¦³æ¸¬ãããã¨ã¯é£ããã¨ããã¦ãããå¾æ¹äºææ§ãæ¡å¼µæ§ãä¸å ·åã®çºççãªã©ã§ææ§ã«æ¨ãéããã¨ã¯ã§ããããããã¯è¯ããããã¯æªããã¨ã¯ã£ãã決ãä»ãããã¨ã¯åºæ¥ãªããããããAPIããããããã¨å¼ã¹ãããå´é¢ãåãåºããã¨ãé£ããã¨è¨ãããã¾ããAPIã®è¨è¨ææ³ãå¦ã¹ãæ©ä¼ã¯å¤ããªãã¨ãã¦ãããç©äºãæè¦ã¨ãã¦èªèãããã¨ã¯ã§ãã¦ããããã表ç¾ãä»äººã«ä¼ãä¿¡ãã¦ãããæ¹æ³ãæããªãå ´åãåå¨ããã APIè¨è¨ãè¸è¡çåãçµã¿ã«ãã¦ã¯ãããªã APIè¨è¨ã®
SQLã¯ãã¼ã¿ãã¼ã¹ãããã¼ã¿ãæ½åºãããããããã®è¨èªã§ãã ãã®ææ¸ã¯ãErogameScapeã®ãã¼ã¿ãã¼ã¹ããSELECTã使ã£ã¦èªç±èªå¨ã«ãã¼ã¿ãåå¾ã§ããããã«ãªããã¨ãç®æ¨ã«ãã¾ãã ã¨ãã²ã¼ãããã¯ããã大å¦çãããã®ã¨ãã«ã大å¦ã®è¬ç¾©ã§ãã¼ã¿ãã¼ã¹ãå¦ãã§ãéå±ã ãªã¼ã¨æã£ãæã«ãErogameScapeã§SQLãå¦ã¶ãã¨ã§ãå°ãã§ãSQLã«èå³ãæã£ã¦ãèªèº«ã§ãã¼ã¿ãå å·¥ãããã¨ãå¦ç¿ãã¦é ããã¨å¹¸ãã§ãã â»ç§ã®å¤§å¦ã®ãªã¬ã¼ã·ã§ãã«ãã¼ã¿ãã¼ã¹ã®ææ¥ã§ã¯ãèªåã®èº«ã®åãã®ä½ããERå³ã«è½ã¨ãè¾¼ãã§ãDBãè¨è¨ããPostgreSQLã«å®è£ ããå®éã«ãã¼ã¿ãå ¥åãã¦SELECTãã¦ã¿ãã¨ããã¾ã§ãããã¾ããã ERå³ã¨ããæ¦å¿µãå¦ãã ã¨ãããããããã¯é¢ç½ããã¨æãã¾ããã å çã¯ããè¨ã£ãã®ã§ãã ãERå³ã«è½ã¨ãè¾¼ãã¨ãæãããããªãã£ããã¨ãåããããã¨ã å½æã
ç§ã¯IEã®ä¸ã®äººã§ã¯ãªãã®ã§ãIEéçºè ãã©ãããèããæã£ã¦ãããã¯ãããã¾ãããããããæè¨ãã¦è¨ãããã¨ãããã¾ããæè¿ã®IEã¯åãã¼ã¸ã§ã³ã§æããã«æå³ãããã¼ããæã¡ããªãªã¼ã¹ããã¦ãã¾ãã åãã¼ã¸ã§ã³ã®ãã¼ãããéç¨ããã·ã¹ãã ã®ç®çã¨ç §ããåãããã°ãå®éçã«ã©ã®ãã¼ã¸ã§ã³ãé¸æãã¹ãããå°åºã§ããã§ãããã æ¬è¨äºã¯ãããããä¼æ¥ã·ã¹ãã ã§æ±ãIEã®ãã¼ã¸ã§ã³ãä¸ããªãã¦ã¯ãããªãå ´åãã¾ã誰ãã«IEã®ãã¼ã¸ã§ã³ãã¨ã®éãã説æããªãã¦ã¯ãããªãå ´åãè²»ç¨é¢ã»æè¡é¢ã®å¶ç´ã説æããªãã¦ã¯ãããªãå ´åã«ããã³ããä¸ãã¦ãããããããã¾ããã ãã¼ã¸ã§ã³å¥è©ä¾¡ãµã㪠ãã¼ã¸ã§ã³å¥è©ä¾¡ãµããªã§ã¯ãæ¥åã·ã¹ãã ã®ã¯ã©ã¤ã¢ã³ãã¨ãã¦æ±ãããIEããåãã¼ã¸ã§ã³ãã¨ã«ã©ã®ãããªç¹æ§ãæã¤ããè¶ æ¦ç®ã¬ãã«ã§å¯è¦åãã¦ãã¾ãã é ç®ã¯ãé·ãç®ã§è¦ãè²»ç¨å¹æã表ããã³ã¹ãããã©ã¼ãã³ã¹ãã
ä»æ¥ãååã«å¼ãç¶ããã¼ã¿ãã¼ã¹è¨è¨ã®è©±ããããä»åã®è©±ã§ä¸æ¦ãã¼ã¿ãã¼ã¹è¨è¨ã«ã¤ãã¦ã¯çãç½®ãã¤ããï¼ããã°æ¸ãã¦ãªãã§å稿æ¸ããï¼ä¿ºï¼ã§ãããããã®åã«è©±ããã£ããããã¦ç½®ãããã¨æããæå¾ã飾ããã¼ãã¯IDã®è¨è¨ã§ããã æ°åãããªãã®ã«æå³ãå«ãã IDååã®ã¨ã³ããªãè¦ã¦ããã ããæ¹ããã次ã®ãããªæ§é ãæã£ãå¦ç±çªå·ãããã¨ãããã£ã¼ãããã¯ãé ããã å ¨é¨æ°å¤ã§"å ¥å¦å¹´åº¦ä¸2æ¡"+"å¦ç§ã³ã¼ã"+"å¦ç§å ã®ãããããé ã®é ä½" ãã®ãããªã«ã¼ã«ã§å²ãå½ã¦ãå¦ç±çªå·ããåãªãæ°å¤ã¨ãã¦æ±ãã®ã§ããã°å¤§ããªåé¡ã¯ãªããããã¯æ°å¤ããå«ã¾ãã¦ããªãã®ã§ãSQLã®ãã¼ã¿åã¨ãã¦ã¯åã«æ°å¤åã使ãã°è¯ãã ãããã ããå¦ç±çªå·ããå ¥å¦å¹´åº¦ãå¤æããããããã¯å¦ç§ãå¤æããã¨ãã£ãç¨éã§ä½¿ãããã®ã§ããã°ãã¯ãé©åã§ã¯ãªãã¨ãããããªã¬ã¼ã·ã§ãã«ã¢ãã«ã®è¦³ç¹ã ãããã§ã¯ãªããIDã¨ãã¦é©åã§
2. ã¨ãªãã¯ã»ã¨ã´ã¡ã³ã¹ã®ãã¡ã¤ã³é§åè¨è¨ ã¨ãªãã¯ã»ã¨ã´ã¡ã³ã¹ (è), ä»é¢ å (ç£ä¿®), åæº å³æ¡ (翻訳), ç§é ç¥å (翻訳) åºçç¤¾ï¼ ç¿æ³³ç¤¾ çºå£²æ¥ï¼ 2011/4/9 åæ¸çºå£²æ¥ï¼ 2003/8/22 http://www.amazon.co.jp/ã¨ãªãã¯ã»ã¨ã´ã¡ã³ã¹ã®ãã¡ã¤ã³é§åè¨è¨ -IT-ArchitectsâArchive-ã½ããã¦ã§ã¢éçº ã®å®è·µ-ã¨ãªãã¯ã»ã¨ã´ã¡ã³ã¹ /dp/4798121967/
ãªã¬ã¼ã·ã§ãã«ã¢ãã«ãå®è·µããã«ã¯ããã¡ã¤ã³ï¼âãã¼ã¿åï¼ãå¦ä½ã«æ£ããè¨è¨ãããã¨ãããã¨ã極ãã¦éè¦ã«ãªããããããªããããã¡ã¤ã³ãã©ãè¨è¨ãã¹ããã¨ããè°è«ã¯ãã¾ãããã¦ããªãããã«æãããã®çµæããã¡ã¤ã³ã«ã¤ãã¦ã®ç解ã¯ãã¾ãé²ã¾ãããã¼ã¿ãã¼ã¹è¨è¨ã«å¤±æãã¦ãããã¿ã¼ã³ãå¤ãããã«æãããã ã¨ããããã§ä»æ¥ã®ãã¼ãã¯ãã¡ã¤ã³ã§ããã éåãå®ç¾©ãããªã¬ã¼ã·ã§ãã«ã¢ãã«ã«ããããã¼ã¿åã¨ã¯ä½ãããªã¬ã¼ã·ã§ãã«ã¢ãã«ãå®è·µããã«ã¯ã¾ããã®ç¹ããç解ããå¿ è¦ãããã ãªã¬ã¼ã·ã§ãã«ã¢ãã«ã§ã¯ããã¼ã¿åã¯ãã¡ã¤ã³ã¨å¼ã°ããããã¡ã¤ã³ã¨ã¯ããã®å±æ§ï¼âã«ã©ã ï¼ã«å ¥ãã¹ãå¤ã¯ã©ããã£ããã®ããéåã¨ãã¦å®ç¾©ãããã®ã ãè¨ãæããã¨ãå±æ§å¤ã¨ã¯ããéåã®è¦ç´ ã®ä¸ã¤ã§ããã¨è¨ãããå¾ã£ã¦ããã¡ã¤ã³ãè¨è¨ããéã«ã¯ãSQLã§è¨ãã¨ããã®ãã¼ã¿åãã¤ã¾ãINTãCHARã¨ãã£ããã®ã ãã§ãªãããã®
æè¿ãã©ããå®æã«ãNoSQLã«ããã°åä»ãªDBè¨è¨ããéæ¾ããããã¨èãã¦ãã人ãå¤ãããã«æãã¦ä»æ¹ããªããã ãå¾ ã£ã¦æ¬²ãããæ¬å½ã«NoSQLã¨å¼ã°ãããã¼ã¿ãã¼ã¹ã使ãã°ã¢ããªã±ã¼ã·ã§ã³ã®éçºã»éç¨ã®è¦ãã¿ããéããããã®ã ãããããã¡ããããããªãã¨ã¯ç¡ãï¼ï¼çµ¶å¯¾ã«ã ï¼ï¼ãã¨ç§ã¯èãããä»æ¥ã¯ãã®çç±ã«ã¤ãã¦èªããã¨æãã ãã©ã³ã¶ã¯ã·ã§ã³å æ¥ããªã¬ã¼ã·ã§ãã«ãã¼ã¿ãã¼ã¹ã«ãããDBè¨è¨ã«ã¤ãã¦ã»ããã¼ã§è§£èª¬ããã°ããã ãããªã¬ã¼ã·ã§ãã«ãã¼ã¿ãã¼ã¹ã«ããããã¼ã¿ã®æ´åæ§ã¯ä½ãDBè¨è¨ã ããæ ä¿ãã¦ããããã§ã¯ãªãããªã¬ã¼ã·ã§ãã«ã¢ãã«ã¨åãããã以ä¸ã«æ¬ ãããªãã®ããã©ã³ã¶ã¯ã·ã§ã³ã ã ãã©ã³ã¶ã¯ã·ã§ã³ããããããã§ããã©ã³ã¶ã¯ã·ã§ã³çµäºå¾ã®ã¹ãã¼ã¿ã¹ã¯ãæåããã失æãã®2ã¤ãããªãã¨ãããã¨ãä¿è¨¼ããããããªãã¡ãªã¼ã«ã»ãªã¢ã»ããã·ã³ã°ã ããããã©ã³ã¶ã¯ã·ã§ã³ã®éä¸ã§ä½ããã®
DBã¨ã³ã¸ãã¢ã®ããã®æè¡åå¼·ä¼ï¼ç¬¬3åï¼ã§ä½¿ç¨ããè³æã§ãã主ã«ãªã¬ã¼ã·ã§ãã«ã¢ãã«ã¨æ£è¦åã«ã¤ãã¦è§£èª¬ãã¦ãã¾ãããªã¬ã¼ã·ã§ãã«ã¢ãã«ã®éçã«ã¤ãã¦æ£ããèªèãã¦ããããªã¬ã¼ã·ã§ãã«ã¢ãã«ãç解ããã¨è¨ããã¨æãã¾ãã
æ¯åº¦ããªãã¿ãã¯ã¦ãã®ãããã¨ã³ããªã«ãSIããã¡ã«ããè² ã®ã¹ãã¤ã©ã«ãã¨ããã¿ã¤ãã«ã®ã¾ã¨ããæ²è¼ããããããã æ°ã¨ã¯ããªãè¦ç¹ã¯éããã®ã®ãéçºç¾å ´ã®åé¡ç¹ã«ã¤ãã¦ã¯å°ãæãã¨ãããããã®ã§æè¦ãæ¸ãã¦ã¿ããã¨æããã¨è¨ã£ã¦ãã以ä¸ã®è©±ã®å 容ã¯ãã¼ã¿ãã¼ã¹ã¢ããªã±ã¼ã·ã§ã³ã«éå®ãã話ã§ãããã¾ãSIerã ãã«éã£ã話ã§ã¯ãªãã®ã§ãã®ç¹ã¯ã容赦é ãããããã¡ããSIeråä½ã®æ¡ä»¶ã¯ãã¼ã¿ãã¼ã¹ã¯å¿ é ãªã®ã§ãæ¬ã¨ã³ããªã§è§¦ããåé¡ç¹ã«ã¯è©²å½ããã ããã Q.ãªãçä¸ããã®ãï¼ A.æ£ãããã¼ã¿ãã¼ã¹è¨è¨ãã§ãã¦ããªãããçµè«ããè¨ããããã¼ã¿ãã¼ã¹ã¢ããªã±ã¼ã·ã§ã³ã®éçºãçä¸ããã®ã¯æ£ãããã¼ã¿ãã¼ã¹è¨è¨ãã§ãã¦ããªãããã ãããã§ãããæ£ãããã¨ã¯ãè«ççã«è¨¼æã§ããæ£ããã¨ããæå³ã§ã¯ãªãããæ¬æ¥ããããã¹ããã¨ãã£ãæå³ã§æãã¦æ¬²ããã ãçä¸ãã¨ããã®ã¯ãä¾ãã°ãã¹ããéããªããã
Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article? ã¡ãã£ã¨æ¸ããããªã£ãã®ã§æ¸ããããã¼ãï¼ ãã®æç« ãèªã¿çµãã£ãæãèªè ããããªããããå質ãªæç« ãåºåã§ããããã«ãªããã©ããã«å¯ç¨¿ããæã«å ¨é¢ãªãã¤ã¯ãé£ãã£ããããªãããã«ãªããã¨ãç®æãã¾ãã mhidaka ã 0æ©ç®ãæ¸ãã¦ããã¾ããï¼ èæ¯ çè ã¯æ®éã®ã¨ã³ã¸ãã¢ã§ãããã®è¾ºã®éçºã¨ããã¦ãä¼ç¤¾ã«å¤ãã¦ãã¾ããæè¡ç³»ã®å稿ãæ¸ãã¾ãã å稿æ¸ãã§ã飯é£ã¹ã¦ãããã§ã¯ããã¾ãã(æ©ã飯ã豪è¯ã«ãªããã¨ã¯ç¨ã«ããã¾ã)ã ä»ã¾ã§æè½ãªã¬ãã¥ã¼ã¯ã¼(muãªãã¨ãããã¨ã)ç·¨éããã¨ã(æ社ã®å®è¤ããã¨ã)ã¨ãã¨ãã«éãã¦ããã
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}