2023/6/22 AWS Dev Day 2023 Tokyo ç»å£è³æ
JJUG CCC 2017 Springã§ãããã¼ã¿å±¥æ´ç®¡çã®ããã®ãã³ãã©ã«ãã¼ã¿ã¢ãã«ã¨Reladomoã®ç´¹ä»ãã¨ãã話ããã¦ãã¾ããã ãã¼ã¿å±¥æ´ç®¡çã®ããã®ãã³ãã©ã«ãã¼ã¿ã¢ãã«ã¨Reladomoã®ç´¹ä» #jjug_ccc #ccc_g3 from Hiroshi Ito ä»åã®ç»å£ã¯ãæ ªå¼ä¼ç¤¾FOLIOã®ã¹ãã³ãµã¼ã»ãã·ã§ã³ã§ãï¼FOLIOã«ã¤ãã¦ã¯ãã¡ãã®å ¥ç¤¾ã¨ã³ããªã¼è¨äºããåèãã ãããToggetterã¯ä¸ã®ãªã³ã¯ããã togetter.com ä¸ã®ä¸ã®ã¿ãªããããè«çåé¤ãã©ã°ãã使ããããªãã¢ããã¼ã·ã§ã³ã¨ãã¦ã¯ãå®ã¯ãåé¤ãã§ã¯ãªãå¥ã®ãã¸ãã¹ãã¸ãã¯ãå®è£ ãããã ãã§ãããã¨ãã»ã¨ãã©ã ã¨æãã¾ãã ãã¨ãã°è«çåé¤ãã©ã°ã¨ããåã®æ»äº¡ãã©ã° - @ledsun blogã¨ããã¨ã³ããªãåèã«ããã¦ããã ãã¨ãä¸è¨ã®ãããªè¦ä»¶ã®ä¾ãããã¾ãã ã»ç¤¾å¡ãéè·ï¼ã»è»¢
Amazon ã§æ§ç¯ãããµã¼ãã¹ã«ããã¦ã¯ãé常ã«é«ãç®æ¨ã§å¯ç¨æ§ãéæããå¿ è¦ãããã¾ããããã¯ã¤ã¾ããã·ã¹ãã ãåãä¾åé¢ä¿ã«ã¤ãã¦ãæ éã«æ¤è¨ããå¿ è¦ããããã¨ãæå³ãã¾ãããããã®ä¾åé¢ä¿ãæãªãããå ´åã§ã復å åãç¶æããããã«ã·ã¹ãã ãè¨è¨ãã¾ãããã®è¨äºã§ã¯ããã®ã¬ãã«ã®å¾©å åãå®ç¾ããããã«éçå®å®æ§ã¨å¼ã°ãããã¿ã¼ã³ãå®ç¾©ãã¾ãããã®æ¦å¿µããAWS ã®éè¦ãªã¤ã³ãã©ã¹ãã©ã¯ãã£ãã«ãã£ã³ã°ãããã¯ã§ããã¢ãã¤ã©ããªãã£ã¼ã¾ã¼ã³ã«é©ç¨ããæ¹æ³ã示ãã¾ãããããã£ã¦ããã¹ã¦ã®ãµã¼ãã¹ãæ§ç¯ãããåºç¤ã«ãªãã¾ãã éçã«å®å®ããè¨è¨ã§ã¯ãä¾åé¢ä¿ãæãªããã¦ãã·ã¹ãã å ¨ä½ãåä½ãç¶ãã¾ãããããããã·ã¹ãã ã¯ãä¾åé¢ä¿ãæä¾ããã¯ãã ã£ãæ´æ°ãããæ å ±ï¼æ°ãããã®ãåé¤ããããã®ãå¤æ´ããããã®ãªã©ï¼ã確èªãã¾ãããããããä¾åé¢ä¿ãæãªãããåã«è¡ããã¦ãããã¹ã¦ã®å¦çã¯ãä¾
http://qiita.com/kbaba1001/items/e265ad1e40f238931468 㧠Rails ã®ã¢ã¼ããã¯ãã£ãæ¹åãã話ãæ¸ãã¾ããããçå±ã£ã½ã話ã«ãªã£ã¦ããã®ã§ãä»åã¯å ·ä½ä¾ã¨ãã¦å®éã«ç§ãä»äºã§å®è·µãã¦ãããã¨ã«ã¤ãã¦æ¸ãã¾ãã åå¹´ã»ã©ãµã¼ãã¹å±¤ãä½ãã¾ãã£ã¦ãã¾ãããæé«ã¨ããè¨ããããããã¾ããã Modelã¨ãã¸ãã¯ãåãé¢ããã¦ããã®ã§ãæ¬çªéç¨ãã¯ãããå¾ãããªãæè»ã«éçºãç¶ãããã¦ãã¾ãã (ãããã«ERã«å½±é¿ãããå¤æ´ã«ã¯æãç¼ãã¾ãã...) ãµã¼ãã¹å±¤ãä½ã£ã¦ Fat Model 対çããããã¨ã¯ Rails éçºã«ããã¦æå¹ãªè¨è¨ã ã¨æãã¦ãã¾ãã Rails ã«ãµã¼ãã¹å±¤ãå°å ¥ããæãç°¡åã§ãã¯ãã«ãªæ段㯠Trailblazer ã使ããã¨ã§ãã ããããæ¬è¨äºã§ã¯ Reform ã使ã£ã¦ãµã¼ãã¹å±¤ãèªä½ããæ¹æ³ã«ã¤ãã¦æ¸ã
1å¹´åãããã«Railsã®è¨è¨ã«DDD(ãã¡ã¤ã³é§åè¨è¨)ã®Service層ãå°å ¥ããModelã®è¥å¤§å対çããã¾ããã ãã®è¨äºã§ã¯ãã¾ãã©ã®ãããªã«ã¼ã«ã§Service層ãçµã¿è¾¼ã¾ãã¦ãããã¨ã1å¹´ééç¨ãã¦ã¿ã¦è¯ãã£ãã¨ãããæªãã£ãã¨ããã®ææ³ãæ¸ãã¾ãã [2018/05追è¨] æè¿ã§ã¯ãµã¼ãã¹å±¤ã®å°å ¥ã¯è³å¦ä¸¡è«ãããããªã®ã§ãå°å ¥ããéã¯èªåã®ããã¸ã§ã¯ãã«åã£ã¦ãããã©ãããååã«ãæ¤è¨ãã ããï¼ Service層ãå°å ¥ãããã£ããã«ãªã£ãåé¡ç¹ Modelã®è¥å¤§å Modeléã®è¤éãªä¾åé¢ä¿ å¤æ°ã®ããã«ã¦ã§ã¢ã®å°å ¥ã«ããè¤éãã®åå¢ ãããã«ãã.. ã¡ã³ããã³ã¹ããã¹ãããã«ãã ã³ã¼ããæ´çããã¦ããªãã®ã§ã¨ã«ããèªã¿ã¥ãã Modelè¤éåã®ä¾ <ã¦ã¼ã¶ãECãµã¤ãã®ååããæ°ã«å ¥ã(like)ã«ããã¡ã½ãããæ¸ãå ´å> å¦çã«é¢é£ãããã¼ãã« my_itemsã
Railsã§ã¢ããªãä½ã£ã¦ããã¨ãæåã®ç«ã¡ä¸ããã¯éããã®ã®ãã³ã¼ããå¤ããªã£ã¦ããã¨çµæ§æ£ããã£ã¦ãã¾ãããããããªä¸ã5 ARCHIRECTURE ANTI-PATTERNS AND SOLUTIONS FOR LARGE RAILS APPSã¨ããè¨äºãè¦ã¤ããã®ã§ããç´¹ä»ãã¾ãã 1. è¤æ°ã®è²¬åãæã¤ãµã¼ãã¹ã¯ã©ã¹ããã æ¥åå¥ã®å¦çããµã¼ãã¹ã¯ã©ã¹ã¨ããå½¢ã§åå²ããã¨ãã®è©±ã§ãããActiveRecordã®ã¯ã©ã¹ã«ç´æ¥ä»äºããããã®ã§ã¯ãªãããã¬ã¼ã³ãªã¯ã©ã¹ã«æ¥åå¦çãã¾ã¨ãã¦ãããããã ãActiveRecordã®ã¯ã©ã¹ã®ãªãã¸ã§ã¯ãã«ã¢ã¯ã»ã¹ããã¨ããèãæ¹ã§ãã ã§ãæ¥åå¥ã®å¦çããµã¼ãã¹ã¯ã©ã¹ã«ã¾ã¨ããã®ã¯è¯ããã ãã©ããããããã®æ¥åã ãããã¨ããæãã§ãã©ãã©ããµã¼ãã¹ã¯ã©ã¹ã«å¦çã追å ãã¦ããã¨ãåä¸è²¬ä»»ã®ååã«éåãã¦ãã¾ãããæ··æ²ã¨ããã®ã§ãè¯ããªãããã¨ã
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}