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
TL;DR JSON Schemaã使ã£ã¦ãããããã¨ãå®ç¾å¯è½ã«ãªã£ãã ããã¼APIãµã¼ãã®æä¾ ããã¥ã¡ã³ãã®èªåçæ APIã¯ã©ã¤ã¢ã³ãã®åçå®ç¾© APIãµã¼ãã®ããªãã¼ã¿ã®åçå®ç¾© APIãµã¼ãã®ã¬ã¹ãã³ã¹ã®èªåãã¹ã JSON Schemaã¨ã¯ JSON Schemaã¨ããã®ã¯ããJSONã®ãã¼ã¿æ§é ãè¨è¿°ããããã®æ¹æ³ããã³æ¸å¼ã®ä»æ§ã§ã JSON SchemaãJSONã§è¨è¿°ãããã ãããå©ç¨ããã°ããªã½ã¼ã¹ãã¼ã¹ã®(=RESTfulã©ã¤ã¯ãª)APIã®ä»æ§ã簡便ã«è¨è¿°ã§ããã ä¾ãã°ãæã ã®APIã¯ã¬ã·ãã¨ã¦ã¼ã¶ã¨ãããªã½ã¼ã¹ãæ±ã£ã¦ãã¦ã ããããCRUDã®APIãåãã¦ãããã¬ã·ãã¯idã¨titleã¨descriptionã¨ããå±æ§ãæã¤ã ã¨ããæ¨ãJSON Schemaã§è¡¨ç¾ã§ããã ãªãã§æè¿ã¡ãã£ã¨æµè¡ã£ã¦ãã® Mobile Firstã Service Or
Webã¢ããªã¨åãããã»ã¹ã«workerå ¥ãã¦ãéãç¯ç´ã§ããã Webã¢ããªã¯ âãªã¯ã¨ã¹ãæ¥ãâãµã¼ãã¼ã§å¦çâã¬ã¹ãã³ã¹è¿ãâ ã¨ããã®ãç¹°ãè¿ãããã ãããµã¼ãã¼ã§ã®å¦çã«æéããããå ´åã«ãããå¥ã®ããã»ã¹ã«ä»»ãã¦ãå ã«ã¬ã¹ãã³ã¹ãè¿ãã¦ããã¦ããã¨ã§çµæã¯åãã«æ¥ã¦ããã¨ããå®è£ ãããäºãããã æéããããå¦çã¯2ã¤ã«å¤§å¥ã§ããã åç»ãã¨ã³ã³ã¼ãããã¨ããCPUè² è·ãé«ãã¦æéããããã®ã§Webãµã¼ãã¼ã¨ã¯å¥ã®å ´æã§åãããã Twitter APIã10åããã使ã£ãçµæãã¾ã¨ãã¦è¿ãã¨ããCPUè² è·ã¯ä½ããã©IOå¾ ã¡ãé·ã 2ã®æ¹ã«ã¤ãã¦ãHerokuã®Rubyç°å¢ã§å®ãä¸ããæ¹æ³ãã¾ã¨ããã ææ³ Herokuã®cedarã¹ã¿ãã¯ã§Ruby使ãæã¯webãµã¼ãã¼ã¨ãã¦Thinãèµ·åããã Thinã¯EventMachineã®ä¸ã§åãã¦ãã®ã§ãEM::deferçã使ã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}