Speaker Deck This deck requires a password Password
Speaker Deck This deck requires a password Password
ã¯ããã« æè¿Laravelã®æ å ±åéç¨ã«Twitterã¢ã«ã¦ã³ããä½ã£ã¦ã¿ã¾ãããçµæãæµ·å¤ã«æ¯ã¹ã¦æ¥æ¬ã¯æ å ±ãæ£é¸ãã¦ãã¦ã¡ãã£ã¨è¾ããã¨ããæ°æã¡ã«ãªãã¾ããããã®ããLaravelã®æ å ±ãéç´ããããã®ãªã³ã¯éãä½ããã¨ã«ãã¾ããããã®ãªã³ã¯éããæ¥åãå¦ç¿ã®æå©ãã«ãªãã°ã¨æãã¾ãããã追å ããæ¹ãè¯ããªã³ã¯ãããã°ãã³ã¡ã³ãæ¬ã§æãã¦ãã ããã åºæ¬ Laravelå¦ç¿ã®æããå®æ¥åã§ä½¿ãæãä¸è²«ãã¦ãä¸è©±ã«ãªãã§ããããªã³ã¯ãéãã¦ãã¾ãã Laravelå ¬å¼ ä¸»ã«Laravelã®æ©è½ã調æ»ãããã¨ãã«åç §ãã¾ãã https://laravel.com/ https://readouble.com/laravel/ (éå ¬å¼å訳) ã¢ããã°ã¬ã¼ãã¬ã¤ã ãã¼ã¸ã§ã³ã¢ããæã®å·®åã¨å¯¾å¿æ¹æ³ãç¥ãããã¨ãã«åç §ãã¾ãã https://laravel.com/docs/6.x/
ã¿ã°ï¼ Laravel4 IoCã³ã³ããã«ã¤ãã¦ã¯æ¢ã«ãããããè¨äºãæ¸ãã¦ãã¾ãããä»åã¯ã³ã³ã¹ãã©ã¯ã¿ã¼ã«ããä¾åã®è§£æ±ºãä¸å¿ã«ããã¹ããå®éã«è¡ããªãããåºç¤ã®åºç¤ã«ã¤ãã¦å¦ãã§ããããã¨æãã¾ãã åå¿è ã®ããã¯å®éã«ãæãåãããç解ãã¦ä¸ãããããããã°ãç°¡åã«ç解ã§ãã¾ãã 追è¨ï¼Laravelã¯ã³ã³ãããå¼·è¦ããã®ã§ãèªç±ãå°ãªããªããããªãæããã¶ããªãã¤ã¼ããããã¾ããã®ã§ãç°¡åã«ç´¹ä»ãã¾ãããIoC(DI)ã³ã³ããã¯Laravelãªãªã¸ãã«ã®æ©è½ã§ã¯ããã¾ããã大ããªPHPãã¬ã¼ã ã¯ã¼ã¯ãæã£ã¦ãã¾ãããç¬ç«ããããã±ã¼ã¸ãåå¨ãã¾ããJavaã«ç®ã移ãã°ããããããªä¸»ç¾©ããããããããã«ããã±ã¼ã¸ãåå¨ãã¾ããç¬èªãªé¨åã¯ã¿ã¤ããã³ããå©ç¨ããä¾åã®è§£æ±ºã®é¨åã§ããããæ©è½ã®ãã¤ã©ã¤ãã¯ã¿ã¤ããã³ãã«ã¤ã³ã¿ã¼ãã§ã¤ã¹ãæå®ãã¦ãããããã«å¯¾ãå ·è±¡ã¯ã©ã¹ãæå®ã§ããã³
ããã«ã¡ã¯ã¼ããã¡ã¬ã¤ã§ãã ä»æ¥ã¯ç¥è¦çãªãã®ã®å ±æããããããªã¨æãã¾ãã ãã®è¨äºãè¦ã¦ãã¨ãããã¨ã¯Laravelã«èå³ããã£ãããå®éã«ä½¿ã£ã¦ããæ¹ã ã¨æãã¾ããLaravelã®ã³ã¢ã§å©ç¨ããã¦ãããµã¼ãã¹ã³ã³ãã(DIã³ã³ãã)ãã©ã®ããã«ä½ç¨ãã¦ããã®ããææ¡ããã¦ãªãæ¹ãããã¨æãã¾ãã ãã®ãããããã®è¨äºã§ã¯æ¸ãã¦ãããã¨æãã¾ãã(ããè¨ãã¤ã¤ãããªããè²ã ç¶²ç¾ ããæ°ããã¾ãã»ã»ã») ã¯ããã« ãã®è¨äºãçµæ§é·ãã§ãã解説ã«ã¯å¿ è¦ä¸å¯æ¬ ãªæ å ±ã°ããå«ã¾ãã¦ã¾ãã ãããç解ãã¦èªãã§ããã ããã°ã¨æãã¾ãããã 対象è Laravelãå°ã触ã£ã¦ãã人 DIã³ã³ããããªãã¨ãªãåãã人 Laravelã®DIã®ä»çµã¿ãéæ³ã ã¨æã£ã¦ã人 ç°å¢ Laravel5.3ãæ³å®ããã ãLaravel5.1ã§ãã»ã¨ãã©åãã½ã¼ã¹ãªã®ã§æ°ã«ããã«ã ã¾ãDIã£ã¦ä½ãï¼ Depend
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}