noto's blog
This document provides guidance on designing RESTful APIs. It recommends using nouns instead of verbs, keeping URLs simple with only two endpoints per resource, and following conventions from leading APIs. Complex variations and optional parameters should be "swept behind the '?'." The document emphasizes designing for application developers by making APIs intuitive, consistent and complete while
2018å¹´1æ10æ¥ã«éå¬ããã DCI Tokyo 1 ã«ç¶ãã2018å¹´3æ27æ¥ã« DCI Tokyo 2 ãéå¬ããã¾ãããä»åã James Coplien @jcoplien ããããæããã¦ã®ãã¼ã¯ã»ãã·ã§ã³ã¨ãªãã¾ãããä¼å ´ã¯ æ ªå¼ä¼ç¤¾ã´ã¡ã«ç 究æ æ§ã«æä¾ãã¦ããã ãã¾ããã ã»ãã·ã§ã³ã¯ãåååæ§ @remore ãã㨠@ganchiku ããã«ããåæé訳ã¨ã¨ãã«é²ãããã¾ããã ä»åã®ãã¼ãã¯ãã«ããã©ãã¤ã ãã¶ã¤ã³ï¼Multi-Paradigm Design: MPDï¼ã®ä¸æ ¸ãæããDCI / ãªã¼ã³ã¢ã¼ããã¯ãã£ï¼Lean Architectureï¼ã¨ãæ·±ãé¢ä¿ãã å ±éæ§ï¼å¯å¤æ§åæ ã§ããã ã¬ãã¼ã㯠@smori1983 ãæ å½ããã¦ããã ãã¾ãã å½æ¥ã®æ§å㯠Coplien ããã®è¨±å¯ãå¾ã¦ YouTube ã® DCI Tokyo å ¬å¼ã¢ã«ã¦ã³ãã«
cdto - Google Codeããã¦ã³ãã¼ããã¦ãã¦ã解åå¾ãã¢ããªã±ã¼ã·ã§ã³ãã£ã¬ã¯ããªã«ã»ããããã ãµã¤ããã¼ã®ãå ´æããããã«ã¢ããªã±ã¼ã·ã§ã³ãã£ã¬ã¯ããªãããã©ãã°&ãããã ãã¨ã¯ã¿ã¼ããã«ã«ç§»åããããªã£ãããµã¤ããã¼ã® cdto ãã¯ãªãã¯ããã°OK
PHPUnitã®ãã¹ãã±ã¼ã¹ã§æ¸ãæããå¤ã®å¾©å¸°ã«ã¤ãã¦ã ãã¹ãã±ã¼ã¹ã§ãã¹ããè¨è¿°ããéã«ãã¹ã¼ãã¼ã°ãã¼ãã«ãã¯ã©ã¹å¤æ°ãæ¸ãæãããã¨ãããã®ã§ããããããã®å¤ãæ¸ãæããã¾ã¾ãå¥ã®ãã¹ããå®è¡ããã¨æ¸ãæããããç¶æ ã§ãã¹ããå®è¡ãããã®ã§ããããã®å¤ã«ä¾åããå¦çãããã¨ãã¹ããéããªããã¨ãããã¾ãã PHPUnitã§ã¯ããããã£ããã¹ããã¾ããã£ã¦å½±é¿ãåã¼ãã§ãããå¤ã®ä¿åã復帰ãèªåã§è¡ãªã£ã¦ãããæ©è½ãããã¾ãã ã¹ã¼ãã¼ã°ãã¼ãã« ããã©ã«ãã§ã¯ãåãã¹ãã¡ã½ãããå®è¡ããåã«ãã¹ã¼ãã¼ã°ãã¼ãã«å¤æ°ï¼$_ENV, $_POST, $_GET, $_COOKIE, $_SERVER, $_FILES, $_REQUESTï¼ã®å¤ããä¿åããã¦ããããã¹ãã¡ã½ããçµäºå¾ã«ãããã®å¤ãã¹ã¼ãã¼ã°ãã¼ãã«å¤æ°ã¸å¾©å¸°ããã¾ãã ãããã®å¦çã¯setUp()/tearDown(
ã¿ãªããããã«ã¡ã¯ã@ryuzeeã§ãã Rubyã§ããã°RSpecãCucumberã¨ã使ã£ã¦ããããBDDãã¦ããã±ã¼ã¹ã®æ¹ãå¤ãããã§ãããPHPã§ãã£ã¦ããäºä¾ã¯ãã¾ãèãã¾ããã ã¨ããããPHPã§ãBDDã§ãããã¨ã¯ç¢ºèªã§ããã®ã§ããã®æ¹æ³ããç´¹ä»ãã¾ãã â»å®æ¦æå ¥ã«ã¯ããã¡ãã£ã¨æ¤è¨¼ã¯å¿ è¦ããããã¾ããã BDDã¨ã¯ï¼BDDã¨ã¯ããã¤ãã¢é§åéçºï¼Behavior Driven Developmentï¼ã§ãã¹ãé§åéçºããæ´¾çãããã®ã§ãã ãã¹ãé§åéçºã¨ãã¡ã¤ã³é§åè¨è¨ãçµ±åãããããªã¤ã¡ã¼ã¸ã«ãªãã¾ãã 対象ã«ããããæ¯ãèããããå¶ç´æ¡ä»¶ãã®æ¤è¨¼ã®ããã«ãèªç¶è¨èªçãªè¨è¿°ã§ãã¹ãã³ã¼ããè¨è¿°ãã¾ãã ã¹ããã¯ãã¡ã¼ã¹ãã§ä»æ§ãä½ã£ã¦ããå®è£ ããã¨ããæµãã«ãªãã¾ãï¼ã³ã¼ããæ¸ãåã«æ¯ãèãã決ããï¼ã ã¨ãããã¨ã§ã以ä¸ã§ã¯PHPã§BDDãè¡ãæ¹æ³ã«ã¤ãã¦è§£èª¬ãã¦ã
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}