å€ãã®å Žåãæè¯ã®æ±ºå®ã¯ããŸã£ããäºæ³ãããŠããªãå Žæããè¡ãããŸãã ãæèã©ã³ãããé ã®äžã§ç¹ç¯ãããããã«ãæ®éã®ç©ããããã«ç°ãªãè§åºŠããèŠãã ãã§ãã
ç§ãã¡ã®ããŒã ã§ããã¯ã©ã¹ã®ã¹ã±ãžã¥ãŒã«ã管çãã倧åŠçã®äŒèšã管çããã·ã¹ãã ãéçºããã¿ã¹ã¯ãåãåã£ããšãã«ããŸã£ããåã話ãèµ·ãããŸããã
çµæãšããŠãã¯ã©ãŠãCRM Bitrix 24çšã®ã¢ããªã±ãŒã·ã§ã³ãéçºããããšã§åé¡ã解決ããããšãã§ããŸããã
ãã®ã±ãŒã¹ã®äŸã§ã¯ããã®crmãã©ã®ããã«äœ¿çšãããããäžèŠããã ãã§ç€ºããŸãããæšæºçãªç®çã§ã¯ãããŸããã ç§ãã¡ã®çµéšããbitrix24ã®ã«ã¹ã¿ã çµ±åã®ã¿ã¹ã¯ã«çŽé¢ããå°ãªããšããã®ãããªãœãªã¥ãŒã·ã§ã³ã«åºæ¿ãäžããããšã«åœ¹ç«ã€ããšãé¡ã£ãŠããŸãã
ææŠãã
ãã®ãããžã§ã¯ãã¯ã以åã«ã¯ã©ã€ã¢ã³ãã®ããã«ç«ã¡äžãããµã€ãã®è«ççãªç¶ç¶ãšãªããŸããã
ãã®ãµã€ãã«ã¯ãã§ã«ã¹ã±ãžã¥ãŒã«ããããŸãããã䟿å©ãªç®¡çãšãåŠç¿ããã»ã¹ã®åå è
ïŒæåž«ãšçåŸïŒã®ããã®å
éšã®ããŒãœãã©ã€ãºãããã¹ããŒã¹ããããŸããã§ããã
åºæ¬çãªèŠä»¶ãåéããåŸãããã次ã®ãªã¹ããååŸããŸããã
- ã¹ã±ãžã¥ãŒã«ç®¡çã·ã¹ãã
- éä¿¡ã¹ã±ãžã¥ãŒã«å€æŽSMS
- å€æ äŒèšãããã©ãŒãã³ã¹ãžã£ãŒãã«
- ææžã®äº€æãå«ããçåŸãšæåž«éã®ã³ãã¥ãã±ãŒã·ã§ã³
ççŽã«èšã£ãŠãBitrix24ã¯äœæ¥ç°å¢ã§ãã ç§ãã¡ã¯ãŠãŒã¶ãŒã®èŠ³ç¹ãããããããç¥ã£ãŠããŸãã ããã§ã¯ããããžã§ã¯ãã®å®æœãããã¥ã¡ã³ãã®äº€æã顧客ãšã®ã³ãã¥ãã±ãŒã·ã§ã³ããã©ãã«ãŒã§ã®ã¿ã¹ã¯ã®å®æœãè¡ã£ãŠããŸãã
ãŸããã¿ã¹ã¯ãå°çãããŸã§ã«ãb24ã®ã¢ããªã±ãŒã·ã§ã³ã®éçºã§ããã€ãã®çµéšããããŸããã
- ãã¯ãã«ã«ãµããŒãã®è² è·ãç£èŠããã¿ã¹ã¯ã解決ããã¢ããªã±ãŒã·ã§ã³ãäœæããŸãã
- b24åãã®æåã®åçšãã£ãããããããªãªãŒã¹
- Googleã¢ããªãã£ã¯ã¹ãšã³ãŒã«ãã©ãã«ãŒã䜿çšããŠããšã³ãããŒãšã³ãã®åæãœãªã¥ãŒã·ã§ã³ããŸãšãã
ããããSibiriks瀟ã®ããã°ãããŒããé€ããŠãå€ããå°ãªããæ·±å»ãªçµ±åã¯ããã®æç¹ã§ã¯ããããŸããã§ããã
bitrix24ã®ã¢ããªã±ãŒã·ã§ã³ã¯ããªãã®éçºã§ããããµã€ãã§ãã¹ãããã³å®è¡ã§ããŸãããiframeãä»ããŠbitrix24ããŒã¿ã«ã«çµã¿èŸŒãŸããŸãã ãã®çµ±åã«ãããOauth 2.0æ¿èªã®äœ¿çšãå¯èœã«ãªããAPIãä»ããŠããŒã¿ã«ããŒã¿ã®åŠçãæäŸãããŸãã
ãã®å Žåã
Bitrix24ã¯ããã©ãã¯ããã¯ã¹ãã«ãªããå¿
èŠã«å¿ããŠãœãªã¥ãŒã·ã§ã³ãå®è£
ã§ããŸãã ããšãã°ãèšäºã®çµããè¿ãã§ãReact + Laravelãã¹ã¿ãã¯ã«è¿œå ããŸããã
bitrix24ã®ã¢ããªã±ãŒã·ã§ã³ã¯ ããµãŒãã¹ã«ååšããæ©èœã§ã¯è§£æ±ºã§ããªãåé¡ã®è§£æ±ºçã§ãã
ã€ãŸããããšãã°ãã¿ã¹ã¯ãŸãã¯ä»ã®ãšã³ãã£ãã£ã®ãªã¹ãã®ãåºæ¬ã衚瀺ã«æºè¶³ã§ããªãå Žåãå¿
èŠã«å¿ããŠã¿ã¹ã¯ã®ãªã¹ãã衚瀺ã§ããç¬èªã®ã¢ããªã±ãŒã·ã§ã³ãå®è£
ã§ããŸãã Bitrixãšã³ãã£ãã£ã®ããŒã¿ãŸãã¯ãã®ç¹æ§ã䜿çšããŠæäœãèªåçã«å®è¡ããå¿
èŠãããå Žåã¯ãã«ã¹ã¿ã ãœãªã¥ãŒã·ã§ã³ã䜿çšããŠè§£æ±ºããããšãã§ããŸãã
ããããbitrix24ã¯ãŸãCRMã·ã¹ãã ã§ãããæè²ããã»ã¹ãèªååããããã®ããŒã¿ã«ã¯ã©ãããæ¥ãã®ã§ããããïŒå®éãbitrix24ãã¿ã¹ã¯ã®ãã©ãããã©ãŒã ãšããŠäœ¿çšããããšã¯é
åçã«èŠããŸããã
ã»ãŒãç®±ããåºããŠãããã«ãæ©èœçãª
ã¯ãŒãã³ã°ã°ã«ãŒãã䜿çšããããšã§ãçåŸãšæåž«ã®éã®ã³ãã¥ãã±ãŒã·ã§ã³ã®åé¡ã解決ããŸããã ã¯ãŒãã³ã°ã°ã«ãŒããæ£ããè§åºŠããèŠãå¿
èŠããããŸããã
ã°ã«ãŒãã¯æè²çã§ããããšãã§ããŸã-åŠèžå¡ãšæåž«ãšåŠçãçµã³ã€ããŠãã°ã«ãŒãã®ããã«å°å
ã®æ
å ±ã®äº€æãå¯èœã«ããŸãã
ç©çãååŠãªã©ã®ã°ã«ãŒããäž»é¡ã«ããããšãã§ããŸããb24ã®æ©èœã®ãããã§ããã®ãããªã°ã«ãŒãã§ã¯ãäž»é¡ã«é¢ããæ
å ±ã®ãç¥èé åããç°¡åã«æŽçã§ããŸãã ããã«ã¯ãå¿
èŠãªãã¹ãŠã®æ©èœããããŸãã
- ãã¡ã€ã«ã¹ãã¬ãŒãž
- ãã¥ãŒã¹ãã£ãŒã
- ãŠã£ã
- ãã£ãã
ã¢ãã€ã«ããŒãžã§ã³ã®ããŒã¿ã«ã§èªåçã«å©çšã§ãããã£ããããããéçºããããã®ãã©ãããã©ãŒã ã®ååšã¯ãSMSéç¥ã«å ããŠãã¯ã©ã¹ã®ã¹ã±ãžã¥ãŒã«ã«é¢ããæ
å ±ãæäŸãããã®å€æŽã«ã€ããŠéç¥ããå°ãªããšã1ã€ã®ãããã®äœæãããã«ææ¡ããŸããã
ãã©ãããã©ãŒã ã®æ©èœã«ãã£ãŠæããã«ããããããã®èŠä»¶ã®äžã§ãiframeã¢ããªã±ãŒã·ã§ã³ãéçºããããšã«ããŸããã
ããã®ãããªãã®ã«ãªãã ããããšç€ºããããªå®è£
ã®å®çšäŸã¯ãããŸããã§ããã ãããã£ãŠãã³ã³ã»ããã®å°ããªã¹ã±ãããäœæãããŸããã bitrix24ã§ã®ãããžã§ã¯ãã®å®è£
ãã©ã®ããã«èŠãããç°¡åã«èª¬æãã
ããã¥ã¡ã³ãããŸãšããŸããã ããã¯éçºã®æ±ºå®ã«éèŠãªåœ¹å²ãæãããŸããã
ä»é²24
èŠä»¶ãšããŒã«ãå®çŸ©ããã®ã§ãéçºããã»ã¹èªäœãæ€èšã§ããŸãã
説æã®é åºã¯æ¬¡ã®ãšããã§ãã
- ãšã³ãã£ãã£ã®èª¬æ
- ã¢ããªã±ãŒã·ã§ã³æ§é ã®èª¬æ
- 管çã€ã³ã¿ãŒãã§ãŒã¹
- æåž«ã€ã³ã¿ãŒãã§ãŒã¹
- åŠçã€ã³ã¿ãŒãã§ãŒã¹
- 䜿çšãããæè¡ãšããã»ã¹ã®ã¹ã¿ãã¯
ãããè¡ããïŒ
ããŒãšã³ãã£ãã£
åã«èšã£ãããã«ã3ã€ã®åå¥ã®ãšã³ãã£ãã£ããããŸãã æ©èœãããŠã§ããµã€ããbitrix CRMã·ã¹ãã ãããã³éçºäºå®ã®iframeã¢ããªã±ãŒã·ã§ã³ã ãããã®ãšã³ãã£ãã£ã«å«ãŸããããŒã¿ã¯ã次ã®ãã€ã³ãããããšããŠæŠç¥çã«è¡šãããšãã§ããŸãã
ãããã®ç°çš®ãšã³ãã£ãã£ããåéã«ãããããŒã¿ã®æŽåæ§ã®åé¡ã解決ããå¿
èŠããããŸããã
ãã¹ãŠã®ãã£ã¬ã¯ããªã®ããŒã¿ããŒã¹ãšã¹ã±ãžã¥ãŒã«èªäœã¯æ¢ã«ãµã€ãã§äœæããã³æäœãããŠããããããã®ããŒã¿ãbitrix24ã¢ããªã±ãŒã·ã§ã³ã§ååŸã§ããããã«ãREST APIãåçŽã«å®è£
ããããšã«ããŸããã
Bitrix24ãµã€ããœãªã¥ãŒã·ã§ã³æ§é
ãŠãŒã¶ãŒããŒã«ããšã«åå¥ã®ã¢ããªã±ãŒã·ã§ã³ãå®è£
ãããŸããã ã¹ããŒã ã®äžã§ããããè¡ãããçç±ã説æããŸãã
ã¢ããªã±ãŒã·ã§ã³ã1ã€ã®å Žåãã¢ã¯ã»ã¹åæ£ããžãã¯ãå®è£
ããå¿
èŠãããããããã®æ¹æ³ã§æ©èœãåæ£ããããšã«ããŸããã åŠçã¯æ瞟ã®ãããžã£ãŒãã«ã«ã¢ã¯ã»ã¹ããå¿
èŠã¯ãããŸãããæåž«ã¯ã¹ã±ãžã¥ãŒã«ã管çããå¿
èŠã¯ãããŸããã äžè¬ã«ãããã¯ã²ã©ãã¿ã¹ã¯ã§ã¯ãããŸããããããã«äœ¿çšã§ãããŠãŒã¶ãŒã°ã«ãŒãã®ã¬ãã«ã§ã¢ããªã±ãŒã·ã§ã³ã®ã¢ã¯ã»ã¹ããªã·ãŒãæ§æã§ããç°å¢ã䜿çšããŸãã ããã«ãbitrix24ãéçºãã©ãããã©ãŒã ãšèŠãªããŸããæ¢åã®æ©èœã䜿çšããªãã§ãã ããã
çŸåšãã¢ããªã±ãŒã·ã§ã³ã«ã¯4ã€ã®éšéããããŸãïŒããŒã¿ã«ç®¡çè
ãæåž«ãçåŸããã£ãããããã
ããã¯ãšã³ãæ§é
ããã¯ãšã³ãã¬ãã«ã§3ã€ã®ã¢ããªã±ãŒã·ã§ã³ã®ã¹ããŒã ãå®è£
ããããã«ã次ã®èŠä»¶ãäœæããŸããã
- åã¢ããªã±ãŒã·ã§ã³ã«ã¯ãç¬èªã®äžæã®URLïŒãšã³ããªãã€ã³ãïŒãå¿
èŠã§ã
- åã¢ããªã±ãŒã·ã§ã³ã«ã¯äžæã®èå¥åãšã¢ã¯ã»ã¹ããŒãå¿
èŠã§ãïŒã¢ããªã±ãŒã·ã§ã³ã®äœææã«bitrix24ã«ãã£ãŠçæãããäœæ¥æã«å¿
èŠã§ãïŒ
- åäžã®Gitãªããžããªã䜿çšãã
- 3ã€ã®ã¢ããªã±ãŒã·ã§ã³ãã¹ãŠã«å
±éã®ããŒã¿ããŒã¹ãå¿
èŠã§ãïŒ3ã€ã®ã¢ããªã±ãŒã·ã§ã³ã¯ãã¹ãŠåããšã³ãã£ãã£ã§åäœããŸãïŒ
ãã®çµæã次ã®ãã®ãåŸãããŸããã
- åã¢ããªã±ãŒã·ã§ã³ã®ã³ãŒãã¯ãåå¥ã®ä»®æ³ãã¹ããã£ã¬ã¯ããªã«ãããŸã
- ãã¹ãŠã®ç¹åŸŽçãªæ§ææ
å ±ã¯ãåã¢ããªã±ãŒã·ã§ã³ã®.envãã¡ã€ã«ã«ä¿åãããŸã
- gitã§ã¯ã管çã¢ããªã±ãŒã·ã§ã³ã®ã¿ããã¹ãããŠããŸãã åŠçããã³æåž«ã®ã¢ããªã±ãŒã·ã§ã³ãã¹ãã«ã¯ãããã¯ãšã³ãã®ãã¬ãŒã ã¯ãŒã¯ãšããŠäœ¿çšãããlaravelããååŸãããããã®æå°éã®ãšã³ãã£ãã£ãå«ãŸããŸãã åæã«ãã¡ã€ã³ãã¹ãã«æ ŒçŽããããã¹ãŠã®ã¢ããªã±ãŒã·ã§ã³ã®äœæ¥ã«å¿
èŠãªãšã³ãã£ãã£ã¯ãã·ã³ããªãã¯ãªã³ã¯ã«ãã£ãŠåã«ãªã³ã¯ãããŸãã åã¢ããªã±ãŒã·ã§ã³ã«ã¯ç¬èªã®ãã³ãã«jsãšcssããããããã管çã¢ããªã±ãŒã·ã§ã³ãã£ã¬ã¯ããªã«ããã察å¿ããã¢ããªã±ãŒã·ã§ã³ã®ãšã³ããªãã€ã³ããä»ããŠæ¥ç¶ãããŠããŸãã
- 3ã€ã®ã¢ããªã±ãŒã·ã§ã³ãã¹ãŠã«1ã€ã®ããŒã¿ããŒã¹ããããŸãã 移è¡ãšã·ãŒããšã®ç«¶åãçºçããªãããã«ãããŒã¿ããŒã¹ãã£ã¬ã¯ããªã¯ãçåŸããã³æåž«ã®ãã¹ããã管çè
ã¢ããªã±ãŒã·ã§ã³ã®gitã®äžã®ãã£ã¬ã¯ããªã«ãªã³ã¯ãããŸãã
管çã€ã³ã¿ãŒãã§ãŒã¹
ã¹ã±ãžã¥ãŒã«ãæäœãã
æåã«ãèŠä»¶ã詳述ããåã«ãæ¬æ Œçãªã¢ããªã±ãŒã·ã§ã³ã®å®è£
ã決å®ããåã«ãã¿ã¹ã¯ã¯ã¹ã±ãžã¥ãŒã«ç®¡çã·ã¹ãã ãå€æŽããããšã§ããããµã€ãåŽã®å®è£
ã«ãããã¹ã±ãžã¥ãŒãªã³ã°ã®äœæ¥ãå°çã®ãããªèŠçã«ãªããå€ãã®æéãããããŸããã
å®éãããã¯bitrixæ
å ±ãããã¯ã€ã³ã¿ãŒãã§ã€ã¹ãä»ããŠããŒã¿ããŒã¹ã«ã¬ã³ãŒããè¿œå /ç·šéããŠããŸã
ã€ãŸããã¢ã¯ãã£ããã£ãã¹ã±ãžã¥ãŒã«ããã«ã¯ãããŒãã«ã€ã³ã¿ãŒãã§ã€ã¹ã§èŠçŽ ãäœæããå¿
èŠããããŸããã
ãã䟿å©ãªè§£æ±ºçãæ¢ãéçšã§ãç§ãã¡ã¯èããŸãã-ã¹ã±ãžã¥ãŒã«ã®ããã«èŠããã€ã³ã¿ãŒãã§ãŒã¹ã§ã¹ã±ãžã¥ãŒã«ãç·šéãããããäœã䟿å©ã ãããïŒ
æ©èœçãªãããã¿ã€ããéçºããŸãã
ãããŠãè²ããã©ãã°ã¢ã³ãããããããµã€ãããŒãéç¥ãè¿œå ããŸããã ãããŠåœŒã
ã¯ãã¯ããŠã
æããŸãã ã
ã¢ããªã±ãŒã·ã§ã³ã®ãã詳现ãªãã¥ãŒã®ããã«ããœãªã¥ãŒã·ã§ã³ã®æ©èœã®äžéšã衚瀺ããå°ããª
ã¹ã¯ãªãŒã³ãã£ã¹ããèšé²ããŸããã
å®è£
ãããŠããæ©èœïŒ
- äœæ\ç·šé\åé€ã¬ãã¹ã³
- ã¹ã±ãžã¥ãŒã«ã°ãªããã§ã®å€åå°ã®å€æŽ
- 1ãã¢ã®ãã¬ãŒã ã¯ãŒã¯ã§ã®ãã¢ã¯ã©ã¹ã®äœæ
èŠä»¶ã«ã¯ãã¹ã±ãžã¥ãŒã«ãå€æŽãããå Žåã®éç¥ã®éä¿¡ãå«ãŸããŠããŸããã ãšèšãããŠããŸã-å®è£
ãããŠããŸãã éç¥ã¯ãã£ãããããïŒã¢ãã€ã«ã¢ããªã±ãŒã·ã§ã³ã§ãå©çšå¯èœïŒã«ãã£ãŠsmsã²ãŒããŠã§ã€çµç±ã§é
ä¿¡ãããã°ã«ãŒãã®ãã¥ãŒã¹ãã£ãŒãã«æçš¿ãããŸãïŒãã¡ããïŒã
ããã©ã«ãã§ã¯ãã°ã«ãŒããå€æŽãããçåŸãšæåž«ã«éç¥ãéä¿¡ãããŸããã管çè
ã¯åä¿¡è
ã®ãªã¹ããéžæããããšãã§ããŸãã éç¥èªäœã®ããã¹ãã¯ãã³ãã¬ãŒãã«åŸã£ãŠçæãããŸãããç°¡åã«å€æŽã§ããŸãã
ä»çµã¿
倧éã®ã¡ãã»ãŒãžãéä¿¡ããããã»ã¹ã¯é
延ããå¯èœæ§ãããããã ã®ã¢ãã³ã¿ã¹ã¯ãããŒãžã£ãŒã«åºã¥ããŠéç¥ãéä¿¡ããå®è£
ãã³ã³ãã€ã«ããŸããã ã€ãŸããããã¯ã°ã©ãŠã³ãã§èµ·åãããè€æ°ã®ã¯ãŒã«ãŒãããŠãSMSã§ããã£ãããããã¡ãã»ãŒãžã§ããéä¿¡ã¿ã¹ã¯ãåãå
¥ããæºåãåžžã«æŽã£ãç¶æ
ã«ãããŸãã
ã ããæã
ã¯åŸãïŒ
- ãªãœãŒã¹ã®å¶åŸ¡ -ãªãœãŒã¹ãšã¿ã¹ã¯ã®é¢ã§äœè£ãããéããã¶ãã¶ããããŠãã
- äœæ¥é床 -ããã©ã¬ã«ãå®è¡ã«ããã倧éã®ã¡ãã»ãŒãžãè¿
éã«åŠçã§ããŸãã
- ã¡ãã»ãŒãžéä¿¡ã®å¶åŸ¡ -é
ä¿¡ãšã©ãŒã®å Žåãã¿ã¹ã¯ã®ã¹ããŒã¿ã¹ã远跡ããããšãã°åéãéå§ã§ããŸã
CRUDæ¥ç¶
管çã€ã³ã¿ãŒãã§ã€ã¹ã§è§£æ±ºãããã1ã€ã®åé¡ã¯ãBitrixã®æåž«ãšã°ã«ãŒããå«ãæåž«ãšãµã€ãã®ã°ã«ãŒãã®ãããã³ã°ã§ãã ããã¯ç€ŸäŒçã§ãã bitrix24ã°ã«ãŒãã¯ãçåŸãèŠãŠãããã®ãæåž«ã«è¡šç€ºããã¹ã±ãžã¥ãŒã«ã«ãã£ãŠæ±ºå®ãããŸãã ã€ãŸããAPIã®ããŒã¿ã§ãããbitrix24ããã®ããŒã¿ã«åŸã£ãŠãã£ã«ã¿ãŒããŸãã ãããè¡ãããã«ããããã®äŸåé¢ä¿ãä»å ãããç¹å¥ãªCRUDã€ã³ã¿ãŒãã§ã€ã¹ãå®è£
ããŸããã
管çè
ã¯ãæ¥ç¶ãäœæããããã«ããµã€ãã§æ¢ã«å©çšå¯èœãªæåž«ããæåž«ãéžæã§ããŸã
ãŸãã¯ãã¡ãŒã«éç¥ãéä¿¡ããŠæ°ãã人ãæåŸ
ããŸã
ãã£ã¬ã¯ããªãæäœãã
ãŸãã管çè
ã®ã¿ã¹ã¯ã«ã¯åç
§ããŒã¿ã®ç®¡çãå«ãŸããããããã¹ã±ãžã¥ãŒã«ããåéããããŸã-ç§ç®ãæåž«ãæ宀ã äžè¬ã«ããã®äœæ¥ã¯ãµã€ãã®ç®¡çã€ã³ã¿ãŒãã§ã€ã¹ã§å®è¡ã§ããŸããã管çè
ãåäžã®ç°å¢ã«ããããã«ãã€ã³ã¿ãŒãã§ã€ã¹ãã¢ããªã±ãŒã·ã§ã³ã«çŽæ¥å®è£
ããŸããã
éç¥
ããŸããŸãªã€ãã³ãã«ã€ããŠãŠãŒã¶ãŒã«éç¥ããããã«ãã¢ããªã±ãŒã·ã§ã³ã¯4çš®é¡ã®çŽ25ã®éç¥ã䜿çšããŸãã
- æå
- èŠå
- ä¿çäž
- ãšã©ãŒ
éç¥ã衚瀺ãã1ã€ã®ãé
眮ã-å³äžé
ã«å¶éããããšãã§ããŸãããæ®å¿µãªããïŒãŸãã¯å¹žéã«ãïŒçµã¿èŸŒã¿iframeã¢ããªã±ãŒã·ã§ã³ã®å¶éã«ééããŸããã
bitrixããŒã¿ã«ã®Iframeãããã¯ã®æšæºã®é«ãã¯çŽ800pxã§ããããã®ãããªã¹ã¯ã©ããã«é©åãªãã®ãåããããšã¯ã§ããŸããã§ããã ãã®å€ãè¶
ãããšãiframeãããã¯ã«ã¯ç¬èªã®åçŽã¹ã¯ããŒã«ããŒããããŸãã 1ããŒãžã«2ã€ã®ã¹ã¯ããŒã«ããŒããããŸããïŒ -ãå€ãããïŒãã 幞ããªããšã«ãbitrixã©ã€ãã©ãªã«ã¯çµã¿èŸŒã¿ã®fitWindowã¡ãœããããããã³ã³ãã³ãã®ãµã€ãºã«å¿ããŠiframeãããã¯ãæ¡å€§ããŸãã
2çªç®ã®ã¹ã¯ããŒã«ãåãé€ããŸããããåºå®äœçœ®ã䜿çšããå¯èœæ§ããããŸããã ãã®ãããéå§ã®ãœãŒã¹ã®æšªã«éç¥ãè¿œå ããŸããã
ãããŠããããã¯æ¬¡ã®ããã«ãªããŸãã
æåž«ã¬ã³ãŒãã®ä¿åãšã©ãŒ
ã¢ã€ãã åãä¿åããŸãã
éèŠãªãã®ãåé€ããããšããŠããŸã
é·ããªã¯ãšã¹ãã§ã¯ããã¿ã³ã¯ä¿çç¶æ
ã衚瀺ããŸã
ãã®ãããªéç¥ã䜿çšãããšãã¢ããªã±ãŒã·ã§ã³ããã掻çºã«ãªããå¿çæ§ãåäžããããããŠãŒã¶ãŒã®ç¥èŠã«éåžžã«è¯ãå¹æããããŸãã
æåž«ã€ã³ã¿ãŒãã§ãŒã¹
æåž«ã®ããã«ã3ã€ã®äž»èŠãªéšåã§æ§æãããã¢ããªã±ãŒã·ã§ã³ãéçºããŸããïŒã¯ã©ã¹ã®ã¹ã±ãžã¥ãŒã«ããžã£ãŒãã«ãããã³åŠçã®æ瞟ã
[ã¯ã©ã¹ã¹ã±ãžã¥ãŒã«]ããŒãžã§ãæåž«ã¯èªåã®ã¹ã±ãžã¥ãŒã«ã衚瀺ããèªåãæããŠããã°ã«ãŒãã«ãããã£ã«ã¿ãŒã䜿çšã§ããŸãã ããã«ãæåž«ã¯ã¹ã±ãžã¥ãŒã«ãšã³ããªïŒè¬çŸ©ãã»ãããŒãå®éšå®€äœæ¥ãç·Žç¿ã宿é¡ãªã©ïŒã«åºã¥ããŠãç¹å®ã®ã¿ã€ãã®ãžã£ãŒãã«ãšã³ããªãç¡å¶éã«äœæã§ããŸãã
ãžã£ãŒãã«ã§ã¯ãæåž«ã¯æ瞟ãçåŸã®åºåžã宿é¡ã«é¢ããæ
å ±ãèšé²ã§ããŸãã
ã¯ã©ã¹ã®äœæãåé€ãç·šéãããã³åŠçãšã®ãã£ããã¯æ¬¡ã®ããã«ãªããŸãã
åŠçã€ã³ã¿ãŒãã§ãŒã¹
åŠçãç¥ãå¿
èŠãããæãéèŠãªããšã¯ãææ¥ã®ã¹ã±ãžã¥ãŒã«ãåŠæ¥æ瞟ã宿é¡ã§ãã 管çè
ããã³æåž«ã®ã€ã³ã¿ãŒãã§ãŒã¹ãšã®é¡æšã«ãããã¯ã©ã¹ã®ã¹ã±ãžã¥ãŒã«ã衚瀺ããããŒãžãäœæãããŸããã å€èŠ³ããããã«å€æŽãããäœåãªæ©èœãåé€ãããŸããã
ããã©ãŒãã³ã¹ããŒãžã§ãåŠçã¯çŸåšã®æ瞟ãšç§ç®ã®å¹³åç¹ãèŠãŸãã ã»ã¡ã¹ã¿ãŒãã£ã«ã¿ãŒããããŸãã
ãã£ããããã
åœåã®éãã¹ã±ãžã¥ãŒã«ã®å€æŽã«é¢ããã¡ãã»ãŒãžãéä¿¡ããèŠæ±ã«å¿ããŠã¹ã±ãžã¥ãŒã«ã°ãªãããéä¿¡ãããšããç°¡åãªä»»åããã£ãããããã«å²ãåœãŠãŸããã ç¹å®ã®æ¥ãŸãã¯é±å
šäœã®ã¹ã±ãžã¥ãŒã«ããªã¯ãšã¹ãã§ããŸãã ããŒã¿ã«ã®ãã£ããã«ãŒã ã§å©çšå¯èœãªãµãŒãã¹ãšããŠã®ãã£ãããããã¯ãã¢ãã€ã«ããŒãžã§ã³ã®ããŒã¿ã«ã§èªåçã«å©çšå¯èœã§ã-éåžžã«äŸ¿å©ã§ãã ãããã£ãŠãã¢ãã€ã«ããã€ã¹ããã¹ã±ãžã¥ãŒã«ã«ç°¡åã«ã¢ã¯ã»ã¹ã§ããŸãã
ãã®ãããªç»åããã£ãããããã¢ã€ã³ã³ãšããŠäœ¿çšããããšã¯éåžžã«é
åçã§ãã
ããããç®èãªããšãèããŠãããããŸããã§ããã
å質管ç
ã¢ããªã±ãŒã·ã§ã³ã䜿çšããŠäœæ¥ãããšããäœæ¥ã®çµæãã¢ããªã±ãŒã·ã§ã³ãšã©ãŒãããã³ãŠãŒã¶ãŒã®åé¡ã«jeããŸãã
ã«ãŒãã£ãªã»ãã¥ãªãã£ãšã¢ããªã±ãŒã·ã§ã³ã®é«å質ãªåäœã確ä¿ããããã«ãäžé£ã®å¯Ÿçãé©çšããŸãã
çµã¿ç«ãŠãšãã¹ã
éçºãã¹ããšéçšã«ã¯3ã€ã®ç¬ç«ãããµãŒããŒã䜿çšããŸãã
éçºäžã®
git-flowã¢ãã«ããããŸãã
èªåãã¹ãã§ã¯ã
codeceptionã䜿çšãããµã€ããããŠãŒã¶ãŒã¹ã¯ãªãããšAPIããŒã¿ããã¹ãããŸãã
ã¹ããŒãžã³ã°ãšãããã¯ã·ã§ã³ã§ã¢ããªã±ãŒã·ã§ã³ããã«ãããã«ã¯ãgitlab-ciã䜿çšããŠãå¿
èŠãªã¢ããªã±ãŒã·ã§ã³ãã£ã¬ã¯ããªã«ãã¡ã€ã«ãé
眮ãïŒå®éã«ã¯ãããã®ããã€ããååŸããŸãããäžèšãåç
§ïŒãããã³ããšã³ãnpm run buildãcomposerãããã³auto testsã¢ã»ã³ããªãéå§ããŸãã
ãšã©ãŒå¶åŸ¡
ã©ã®ããã«ãã¹ãŠããã¹ãã§ã«ããŒããããšããŠããããã¯äžå¯èœã§ããåžžã«äŸå€çãªç¶æ³ããããŸãã ãããã«ããŠããééãã¯é¿ããããŸããã åé¿ã§ããªãå Žåã¯ãã©ãã«ãããŠå¶åŸ¡ã§ããŸããïŒ
ããããããµãŒããŒã§ãšã©ãŒãçªç¶çºçããå Žåããã°ã«æžã蟌ãŸãããã®åŸèšºæã§ãããšããäºå®ã«æ
£ããŠããã§ãããã ããããããã³ããšã³ãã§çºçããééããã©ããããïŒ ã¯ã©ã€ã¢ã³ãã§èµ·ããããšã¯ãã¹ãŠåœŒã«ãããŸãã ãšã©ãŒãååã«é倧ã§ããå Žåãæã£ãŠãã顧客ã®ãã£ãŒãããã¯ãéããŠããã«ã€ããŠç¥ãããšãã§ããŸãã ããã¯æããã«ç§ãã¡ã®æ¹æ³ã§ã¯ãããŸããã
ã¢ããªã±ãŒã·ã§ã³ã®çç£ããã»ã¹äžã«çºçããå¯èœæ§ã®ãããšã©ãŒããã£ããããããã«ããã®ãµãŒãã¹
https://sentry.ioã䜿çšããã²ã©ã楜ããã§ã
ãŸã ã ãã®ãµãŒãã¹ã¯ãã¯ã©ã€ã¢ã³ããšã©ãŒãšãµãŒããŒãšã©ãŒã®äž¡æ¹ãæ§ç¯ããŸãã ãã¹ãŠã®ãšã©ãŒã远跡ããã解決ããå¿
èŠããããŸãã
ããŒãã¹ãšããŠãã¹ã©ãã¯ã®çµ±åãèšå®ããŠãå
äŸã®ç¬éã«ãããžã§ã¯ããã£ãã«ã«éç¥ã衚瀺ãããããã«ããŸãã ããã«ãããã客æ§ããµããŒãã·ã¹ãã ã§ãã±ãããäœæããåã«ãšã©ãŒãæ€åºããç¶æ³ãé倧ãªå Žåã¯è¿
éã«å¯Ÿå¿ã§ããŸãã
ã¢ãã¿ãªã³ã°
Zabbix㯠ããã·ã³ã®çç£ã¹ããŒã¿ã¹ã远跡ããããã«äœ¿çšãããŸãã ãã¹ãŠã®åºæ¬çãªãã·ã³ãã©ã¡ãŒã¿ã¯ãå¯çšæ§ãããªãœãŒã¹äœ¿çšãŸã§ç£èŠãããŸãã
蚺æ
ãµã€ãããŒã¿ã«ãªã³ã¯ã圢æããã¹ã±ãžã¥ãŒã«ãäœæãããšãããŒã¿ã®æŽåæ§ã«éåãã競åãçºçããå¯èœæ§ããããŸãã ããšãã°ã1人ã®æåž«ã誀ã£ãŠåãæ¥ã«ãåãã«ããã«ã«è€æ°ã®ã¯ã©ã¹ãå²ãåœãŠãããŠããå ŽåããããŸãã
人éã¯ããããã§ã¯ãããŸããã ããªãã¯ééããªããã¹ãŠã远跡ããããšã¯ã§ããŸããã ãã®ãããªåé¡ã解決ããããã«ããã³ã³ãããŒã«ã蚺æç»é¢ãåéããŸããããã®ç»é¢ã§ã¯ããã§ãã¯ã®ãªã¹ããšãã®çµæããã§ãã¯ãªã¹ãã®åœ¢åŒã§é
眮ããŸããã
蚺æã®ä»çµã¿
ã¹ã±ãžã¥ãŒã«ãäœæãããšããªã©ãåé¡ãåŒãèµ·ããå¯èœæ§ãããç¶æ³ã§èšºæãå®è¡ãããšäŸ¿å©ã§ãã ããã«ç¢ºèªããããšã¯å¯èœã§ãããããæè»ã§ã¹ã±ãŒã©ãã«ãªãœãªã¥ãŒã·ã§ã³ãé©çšããŸããã
ãã§ãã¯ãªã¹ããæ¡åŒµå¯èœãšããŠèšç»ããŸããã äžéšã®æäœã¯ãéåžžã«ãªãœãŒã¹ãæ¶è²»ããŸãã gearmanã䜿çšããŠã蚺æã§ã¢ããªã±ãŒã·ã§ã³ã®åäœããããã¯ããªãããã«ããæœåšçã«å±éºãªãã€ãã³ããçºçãã管çè
ã¢ããªã±ãŒã·ã§ã³ãæåã«èµ·åããããšãã«ãæ€èšŒã¿ã¹ã¯ããã¥ãŒã«éä¿¡ããŸãã
ãã§ãã¯ã®1ã€ã§ãšã©ãŒãçºçããå Žåãå¶åŸ¡ã»ã¯ã·ã§ã³ã«ç§»åããããšã匷ãæšå¥šããŠãæªã®ããããããèµ·åããŸãã
éçºè
ãã¹ã±ãžã¥ãŒã«ã®ç«¶åãªã©ã解決ã§ããªãå Žåãããããããã¢ã»ã³ããªããã¹ãã§èšºæãéå§ããŸããã§ããã
ä»äºã§äœ¿çšãããã®
æè¡çãªèŠ³ç¹ããèŠããšããããžã§ã¯ãå
šäœãéåžžã«è€éã§ããããããã¯ãããžãŒã®éžæã«åŸ¹åºçã«åãçµã¿ãŸããã ãµãŒããŒããã°ã©ãã³ã°èšèªãšããŠãMySQL DBMSãšçµã¿åãããŠPHPã䜿çšããããšã«ããŸããã ãã®ãã³ãã«ã¯ããŠã§ãéçºã®äžçã§éåžžã«äººæ°ããããããã«ç§ãã¡ã®ããŒã ã«ããç¥ãããŠããŸãã
ãã®ãããžã§ã¯ãã¯CRM Bitrix 24ã®äœ¿çšã«åºã¥ããŠãããããå€ãã¯ããŒã¿ã«APIã®äœ¿çšã«é¢ä¿ããŠããŸãã å€ãã®å ŽåãããŸããŸãªã¡ãœããã®åŒã³åºãã䜿çšãããããããã®éšåãæ倧éã«ç°¡çŽ åããå¿
èŠããããŸãã ãã®ç®çã®ããã«ã䟿å©ãªãªããžã§ã¯ãã¢ãããŒããæäŸãã
bitrix24-php-sdkã䜿çšããããšã«ããŸããã åæã«ããã®ã©ã€ãã©ãªã®éçºã«ãå°ãåå ããŠããŸãã
2017幎ã«ãã€ãã£ãPHPãäœæããããšã¯ãç¹ã«ãã®ãµã€ãºã®ãããžã§ã¯ãã«ãšã£ãŠæè¯ã®éžæè¢ãšã¯ã»ã©é ããã®ã§ãã ãããã£ãŠããã¬ãŒã ã¯ãŒã¯ãéžæããå¿
èŠããããŸããã èŠä»¶ã®ãã¡ãMVCãORMã移è¡ããã³ã·ãŒãã®ååšã¯ããã¥ãŒãæäœããŸãã å€ãã®LaravelãYII2ãZendãPhalconãªã©ãã»ãšãã©ç¥ãããŠããªããã¬ãŒã ã¯ãŒã¯ããããã®èŠä»¶ã«é©ããŠããŸãã ç§ãã¡ã®ããŒã ã¯åœŒãšä»äºãããçµéšãè±å¯ã ã£ãã®ã§ãLaravelãéžæããããšã«ããŸããã
ããã³ããšã³ãã®èŠ³ç¹ããã¯ãåªããæ©åšãéžæããããšãéèŠã§ããã React / Redux / React Routerãã³ãã«ã«æ³šç®ããŸããã
Reactã®äžå¿ã«ã¯ã³ã³ããŒãã³ãã¢ãããŒãããããããã¯ç§ãã¡ã«éåžžã«é©ããŠããŸãã 1ã€ã®ã³ã³ããŒãã³ããå®è£
ããŠãããã¢ããªã±ãŒã·ã§ã³ã®è€æ°ã®å Žæã§åå©çšãããšäŸ¿å©ã§ãã
ãããã£ãŠãããšãã°ãã¯ã©ã¹ã¹ã±ãžã¥ãŒã«ã衚瀺ããããã®ã³ã³ããŒãã³ãã䜿çšããŠããŸããã äžè¬çã«ã¯ãçåŸãšç®¡çè
ããã³æåž«ã®äž¡æ¹ã§åãã§ãã ãã¹ãŠã®ç¹åŸŽçãªæ©èœã¯ãã³ã³ããŒãã³ãã®ããããã£ãéããŠé©åã«æ§æãããŸãã
ãŸããReactã«ã¯å·šå€§ãªã³ãã¥ããã£ãšå€æ°ã®ç°ãªãå®è£
ã³ã³ããŒãã³ãããããŸãã
react dndã³ã³ããŒãã³ãã¯ãã¯ã©ã¹è»¢éã¡ã«ããºã ã®å®è£
ã«å€§ãã«åœ¹ç«ã¡ãŸããã
ã¹ã¿ã€ã«ãèšè¿°ããããã«ãLessããªããã»ããµã䜿çšããŸãããããã¯ãéå±€æ§é ãäžçŽç©ãããã³å€æ°ã䜿çšããããšã§CSSã³ãŒãã®è¡æ°ã倧å¹
ã«åæžããŸãã
ãããžã§ã¯ãWebpackã®ã¢ã»ã³ããªãæ
åœããŸãã å®éãã³ã¬ã¯ã¿ãŒã®éžæã¯ããã»ã©åºæ¬çã§ã¯ãããŸããã§ãããç¹å¥ãªç¬éãèŠä»¶ã¯ãªãã£ãããã§ãã
ãããã«
ãããžã§ã¯ãã«åãçµãã§ã1ã€ã®æçš¿ã§èª¬æããã®ãé£ããçµéšãåŸãŸããã åå¥ã®åé¡ã®é瀺ã¯ãå¥ã
ã®åºçç©ã§è¡ãæ¹ãåççã§ãã
è¿ãå°æ¥ã®ã³ã³ãã³ããã©ã³ããããŸããç¹ã«ãäœæ¥ã®éçšã§åœ¢æããlaravel-react-bitrix24 APIãã³ãã®å®åæãäŒããå
±æããããšèããŠããŸãã ããã€ãã®ãã€ã³ããã³ãã¥ããã£ãžã®é¢å¿ãåèµ·ããã³ã¡ã³ãã®äžéšãšããŠæããã«ã§ããªãå Žåã¯ãæ°ããè³æã«é¢ããç¥èãšçµéšãåãã§å
±æããŸãã