2020/2/7 Amazon Elasticsearch Service & Open Distro for Elasticsearch Meetupã§ã®ãæ¥æ¯éã®è¬æ¼è³æã«ãªãã¾ã
2020/2/7 Amazon Elasticsearch Service & Open Distro for Elasticsearch Meetupã§ã®ãæ¥æ¯éã®è¬æ¼è³æã«ãªãã¾ã
DTO ã¨ã¯ä½ãï¼DTO ã¯ãã¼ã¿è»¢éãªãã¸ã§ã¯ãã表ãããªã¢ã¼ã ã¤ã³ã¿ã¼ãã§ã¤ã¹ã§ä½æ¥ãã¦ããã¨ãã«ãå¼ã³åºãæ°ãæ¸ãããã¨ãæãã¤ããè¨è¨ãã¿ã¼ã³ã§ããMartin Fowler ãããã°ã§å®ç¾©ããããã«ããã¼ã¿è»¢éãªãã¸ã§ã¯ãã使ç¨ãã主ãªçç±ã¯è¤æ°ã®ãªã¢ã¼ãé話ãï¼ã¤ã®ãããã«ãããã¨ã§ãã ä¾ãã°ãéè¡ã¢ã«ã¦ã³ãã®ãã¼ã¿ãå ¬éãã RESTful API ã§éä¿¡ãã¦ããã¨ãã¾ãããããã®å ´åãç¾ç¶ãææ°ã®ã¢ã«ã¦ã³ãåå¼ããã§ãã¯ããããã«è¤æ°ã®è¦æ±ãçºãã代ããã«ãéè¡ã¯ DTO ãè¿ãã¨ã³ããã¤ã³ããå ¬éãã¦ãã¹ã¦ãè¦ç´ãããã¨ãã§ãã¾ãããªã¢ã¼ã ã¢ããªã±ã¼ã·ã§ã³ã®æä½ã§æãé«ä¾¡ãªãã®ã®ã²ã¨ã¤ã¯ã¯ã©ã¤ã¢ã³ãã¨ãµã¼ãã¼ã®éã®å¾å¾©æéãªã®ã§ããã®ç²åº¦ã®ç²ãã¤ã³ã¿ã¼ãã§ã¤ã¹ã¯ããã©ã¼ãã³ã¹ã®æ¹åã«å¤§ããå½¹ç«ã¡ã¾ãã DTO ããã³ Spring Boot APIJavaï¼ã¨ Sp
è¥ãç·å¥³ã®å ±åçæ´»ã«å¯çããã¤ã³ã¿ã¼ãããã®äººæ°çªçµã«åºæ¼ãã¦ãã23æ³ã®å¥³æ§ãæ±äº¬é½å ã§äº¡ããªã£ã¦ãããã¨ãåããã¾ãããé¢ä¿è ã«ããã¾ãã¨ãç¾å ´ã®ç¶æ³ãªã©ããèªæ®ºã¨ã¿ãããã¨ãããã¨ã§ãã é¢ä¿è ã«ããã¾ãã¨ãç¾å ´ã®æ§åãªã©ããèªæ®ºã¨ã¿ãããè¦è¦åºãå½æã®ç¶æ³ã確èªãã¦ãã¾ãã ãã®çªçµã¯ãç·å¥³ãçµå©å¼ãè¡ãããã®å¾30æ¥éä¸ç·ã«çæ´»ãã¦çµå©ãããå¥ãããã決ããæ§åã«å¯çãããã®ã§è¥ãä¸ä»£ãä¸å¿ã«äººæ°ãããã¾ãã 濱å´ããã¯çªçµã®é ä¿¡åããä»åº¦ããã¯çµå©ãããã¨æãçå£ã«åå ãã¦ç·æ§é£ã¨åãåãã¾ãããè¦ã¦ããã ãã¦ãçãããä½ãåèã«ãªããã¨ãããã°å¬ããã§ãããªã©ã¨ãèªåã®ãã¼ã ãã¼ã¸ã«æ¸ãè¾¼ãã§ãã¾ããã çªçµãå¶ä½ãã¦ããABEï¼ï¼¡ã¯ãé ä¿¡ãåããããã¨ããããã§ããã家æã®çæ§ãé¢ä¿è ã®çæ§ã¸ãã¹ã¿ããä¸åå¿ãããæãã¿ç³ãä¸ãã¾ããç¾å¨ãç¶æ³ã確èªä¸ã§ã¯ãããã¾ãããåºæ¼
Subway Tooterã®æ¦è¦ Subway Tooter ã¯åæ£ãã¤ã¯ãããã°ãµã¼ãã¹ã§ããMastodonã®APIãå©ç¨ããã¯ã©ã¤ã¢ã³ãã¢ããªã±ã¼ã·ã§ã³ã§ãã ãã®ã¢ããªã¯Mastodon APIã¨ååãªäºææ§ã®ããä»»æã®ãµã¼ãã«ã¢ã¯ã»ã¹ã§ãã¾ããæ¥ç¶å ã®ãµã¼ããéå¶ãã¦ããã®ã¯Subway Tooterã§ã¯ãªããã¨ã«æ³¨æãã¦ãã ããã Mastodonã®æ¦è¦ Mastodonã¯åæ£ãã¤ã¯ãããã°ã®è£½ååã§ããWebãã¡ã¼ã«ã¨åæ§ã«ãä¸çä¸ã«ä½åãã®ãµã¼ããåå¨ãã¾ãããããã®ãµã¼ãã¯ããããç°ãªãããªã·ã¼ãæã¡ãå ¨ä½ãç·©ãé£åãã¦ãã¾ãããµã¼ããã¦ã¼ã¶ã¯ä»ã®ãµã¼ããã¦ã¼ã¶ãèªç±ã«ãããã¯ã§ãã¾ãã Googleããã®ã¡ã¼ã« Subway Tooter ã ãã§ãªããFedilab, Husky, MastoPane ãªã©ãåæ§ã®åé¤è¦åãåãåã£ã¦ãã¾ãã From: Google
ã²ããã¶ãã®ãã¿ãå®åç·çè¾ä»»ã¨ããã®ã¯ã©ããªã®ããã¨ã¯æãã¾ããããã£ããã®ä»»ææé·æ¿æ¨©ãªã®ã ãé æ ®ãã¦ããªãã ããèªåã®æ´çãã¦ãæ¸ãã¾ãããã â çæ³ã¨ç¾å®ã®ã®ã£ããããã¾ãã«å¤§ãããåãããã¨ãã§ããªãã£ãé¦ç¸ã§ããã ãæ¥æ¬ãåãæ»ãããæ¿æ²»ã¯çµæ責任ãã主張ããä¿å®ã§ãã·ã§ããªã¹ãã§ã¿ããªæå°è ããããè¦ããã姿ã ã£ãã®ã§ããããåãæ¬å½ã«ç®æãç®æ¨ã«ã¤ãã¦ã¯ãããããªããæ²¹æãªãã¬å·å¿µæ·±ããæã£ã¦ããã¨ããè©ä¾¡ã§ããã ã©ã£ãããæ¯ãè¿ã£ã¦ã¿ãã°èª¿æ´åããããèªåã¨å©å®³ã¨ä¸ç観ã®ä¸è´ããçããµã¼ã¯ã«ã好ãå®å®å¿åã®äººç©ã ã£ãããã«æãã¾ããç¹ç´°ã§æ°é ããã§ããã¨ãããã¨ã§ãããã¾ãããæ®å¿µãªãã度éããããããçãã£ããèªåã«èªä¿¡ãæã£ã¦çªç ´ããã¿ã¤ãã§ã¯ãªãã®ã§ãããã 財æ¿åºåã«ããç¨åº¦ç©æ¥µçã ã£ããã¨ãããã¡æ©ããã©ã³ã大統é ã«ä»ç¾©ãåãã«è¡ã£ãã®ã¯å¤§çã§ã¯è¯ãã£ãã¨
ãã®ã¬ã¤ãã§ã¯ããã¤ãã¼ã¡ãã£ã¢ãã¼ã¹ã® RESTful ããã³ãã¨ã³ããéãã¦ããã¥ã¡ã³ããã¼ã¹ã®ãã¼ã¿ã«ã¢ã¯ã»ã¹ããã¢ããªã±ã¼ã·ã§ã³ãä½æããããã»ã¹ãé ã追ã£ã¦èª¬æãã¾ãã Spring Data REST ã使ç¨ãã¦ãMongoDB (è±èª) NoSQL ãã¼ã¿ãã¼ã¹ã«æ ¼ç´ããã¦ãã Person ãªãã¸ã§ã¯ããä½æããã³åå¾ã§ãã Spring ã¢ããªã±ã¼ã·ã§ã³ãæ§ç¯ãã¾ããSpring Data REST 㯠Spring HATEOAS 㨠Spring Data MongoDB ã®æ©è½ãåããèªåçã«çµã¿åããã¾ãã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}