ããã«ã¡ã¯ãæè¡é¨ã®å¤§ç³ã§ããéçºåºç¤ã°ã«ã¼ãã§èª²éã·ã¹ãã ã®æ å½ããã¦ãã¾ãã
ã¤ã³ã¿ã¼ããããµã¼ãã¹ã®æ±ºæ¸ã»èª²éã·ã¹ãã ã®éçºãéç¨ã¯ããµã¼ãã¹ã®æ ¹å¹¹ãæ¯ããããã«æ£ç¢ºæ§ã¨æ©è½æ§ãæºãããªãã¦ã¯ãªãã¾ãããã¾ãåæã«ãä¾¡æ ¼ãæéä½ç³»ã決æ¸æ段ã®ããªã¨ã¼ã·ã§ã³ã§ã¦ã¼ã¶ã¼ã«å©ä¾¿æ§ãæä¾ããå¿ è¦ãããã¾ãããå ç¢æ§ããä¿¡é ¼æ§ãã¨ãæè»æ§ããéçºã¹ãã¼ããã¨ããç¸åããè¦ç´ ã®ä¸¡ç«ãæ±ãããã¾ãã
ãã®çµæã決æ¸ã»èª²éã·ã¹ãã ã¯é©åãªè¨è¨ãéç¨ãæèããªãã¨è¤éã«ãªã£ã¦ãã¾ããã¡ã§ãã
課éã·ã¹ãã ã®éçºãéç¨ã§ããããåé¡
è¤æ°ã®æ±ºæ¸æ¹æ³ãåããµã¼ãã¹ã®ä¸ã§å ±åãããé£ãã
ä¾ãã°ãæåã«ã¯ã¬ã¸ããã«ã¼ã決æ¸ãå°å ¥ãã¦ããã®å¾ã«ã³ã³ãã決æ¸ããã£ãªã¢æ±ºæ¸ãã¢ããªå 決æ¸ã¨æ±ºæ¸æ¹æ³ãå¢ãã¦ãããã¨ã¯ãããããã¨ã§ãã æåã®å°å ¥ã®éã«ã¯ã¬ã¸ããã«ã¼ã決æ¸ã¸ã®è¨è¨ã ãã§ãªãããã®å¾ã«å¢ãã¦ãã決æ¸ãè¦æ®ããé©åãªè¨è¨ãè¡ãªããªãã¨ãã³ã³ãã決æ¸ããã£ãªã¢æ±ºæ¸ãã¢ããªå 決æ¸ãã¯ã¬ã¸ããã«ã¼ã決æ¸ã®æµãã«ç¡çç¢çæ¼ãè¾¼ãã¦ãã¾ããããªå®è£ ã«ãªã£ã¦ãã¾ãã¾ãã
å°å ¥å½åã®æ®µéã§è¤æ°ã®æ±ºæ¸ã®æµããææ¡ããä¸ã§ã®è¨è¨ãè¡ãªãã®ã¯ã決æ¸å°å ¥ã®äºå®ãããããã¤ãã®æ±ºæ¸ã®ã¤ã³ã¿ã¼ãã§ã¼ã¹ãä»æ§ã®ç¥èãªã©ãå¿ è¦ã«ãªã£ãããããããéå»ã«å°å ¥ãè¡ãªã£ããã¨ãããçµé¨ãç¥è¦ãå¿ è¦ã¨ãªã£ãããã¾ãã ã¾ãä¸åº¦èµ°ãå§ããã¨æ ¹æ¬çãªè¨è¨ãè¦ç´ãã¨ããã®ã¯é£ãããªã£ã¦ãã¾ãã¾ãã
å²å¼ãã£ã³ãã¼ã³ã¨ãã£ãæ½çã®æ®éª¸ãæ®ã£ã¦ãã¾ã
ã¦ã¼ã¶ã¼ã«ãµã¼ãã¹ã®é åãä¼ããããã«ãå²å¼ãã£ã³ãã¼ã³ãç¡æãã£ã³ãã¼ã³ãªã©ã®ä¾¡æ ¼é¢ã§ã®æ½çã¯å¿ ãã¨ãã£ã¦ããã»ã©è¡ãªãã¾ãã æééå®ã§ãã£ãããç´æã®çãããã®ãå¤ãã®ã§ãé·ãéç¨ãããã¨ãã®ãããªæ½çã®æ®éª¸ãæ®ã£ã¦ãã¾ããã¨ãèµ·ããã¡ã§ãã ãã®ãããªæ®éª¸ãã³ã¼ãã®å質ãä½ä¸ããã¦ãããã¨ã«ãªãã¾ãã
è¤æ°ãµã¼ãã¹éã§ã®éç¨
ã¯ãã¯ãããã§ãããã¬ãã¢ã ãµã¼ãã¹ã®ä»ã«ããããã®ã¬ã·ããç£å°ç´é便ãªã©ã®ã¦ã¼ã¶ã¼èª²éãè¡ãªããµã¼ãã¹ãããã¾ãã è¤æ°ã®ãµã¼ãã¹ã§æ±ºæ¸ãå°å ¥ããå ´åã課éæ©è½ãããããã®é¨ç½²ã§éçºããã¨å¤é¨ã®æ±ºæ¸ãµã¼ãã¹ã¨ã®é£æºãªã©ã¯å¤§åãåããããªã³ã¼ãã«ãªã£ãããéç¨ã®ç¥è¦ãé¨ç½²æ¯ã«åæ£ãã¦ãã¾ããã¨ãèµ·ãã¦ãã¾ãã¾ãã
ã¯ãã¯ãããã®è§£æ±ºæ¹æ³
以ä¸ã®ãããªåé¡ã解決ããããã«ãã¯ãã¯ãããã§ã¯å ±é決æ¸åºç¤ãéçºããã¨ããã¢ããã¼ããåãã¾ããã
å ±é決æ¸åºç¤ã¨ã¯
ã¯ãã¯ããããèµ·ç¹ã¨ããå ¨ã¦ã®ãµã¼ãã¹ããå種決æ¸ã®å°å ¥ãã§ããããã«ããã社å åãã®ç¬ç«ããWEBãµã¼ãã¹ã§ãã主ãªæ©è½ã¨ãã¦ã¯ã
- å種決æ¸ãµã¼ãã¹ã¨ã®é£æº
- æ¥ç¶å ã¨ã®å·®ç°ãå¸åãçµ±ä¸çãªAPI
- 決æ¸æ å ±ãå±¥æ´ã®ç®¡ç
- 決æ¸æ å ±ã®çªåãæå¹æ§ã®ç¢ºèª
- 決æ¸ã«å¿ è¦ãªã¦ã¼ã¶ã¼æ å ±ã®ç®¡ç
- çµçå¦çã«ãããéè¨æ©è½
- ã«ã¹ã¿ãã¼ãµãã¼ããå±¥æ´ã確èªããããã£ã³ã»ã«ãªã©ãè¡ãã管çç»é¢
ãããã¾ãã
ãªãWEBãµã¼ãã¹ã¨ãã¦ç¬ç«ãããã®ã
ãã¨ãã°ããã¸ãã¯ãgemã¨ãã¦åãåºããããRails Engineã使ããªã©å ±éã®ã©ã¤ãã©ãªã使ç¨ãã¦ç®¡çããæ¹æ³ãèãããã¾ãã ãããããªãç§éã¯å ±é決æ¸åºç¤ãWEBãµã¼ãã¹ã¨ãã¦ç¬ç«ãããã®ã§ããããã
ããã¯ãWEBãµã¼ãã¹ã¨ãã¦ç¬ç«ããããã¨ã«ãããå ±é決æ¸åºç¤ãå©ç¨ãããµã¼ãã¹ã¸ã®è¨èªãç°å¢çãªä¾åãç¡ããªãã¨ããã®ãçç±ã®1ã¤ã§ãããã以ä¸ã«å¤§ããªçç±ã¨ãã¦ãã¯ãã¯ãããã®ãµã¼ãã¹ã¯ããã¬ãã¢ã ãµã¼ãã¹ããå§ããç¶ç¶èª²éã¢ãã«ãæ¡ç¨ãã¦ãããµã¼ãã¹ãå¤ãã¨ãããã¨ã大ããªåæ©ã§ãã
ç¶ç¶èª²éã¯ããã®åã®éã課éç¶æ ãç¶ç¶ããã¦ãããã®ãªã®ã§èª²éã®ç¶æ ã常ã«ç¢ºèªããå¿ è¦ããããé½åº¦èª²éã«æ¯ã¹è³¼å ¥å¾ã®ç®¡çãè¤éã«ãªãã¾ãã éç¨ã®ç ©éãã軽æ¸ãããã¨ãèããå ´åã«ããã¦ãã¦ãéç´ããããã©ãããã©ã¼ã ä¸ã§ç®¡çãããã¨ãå¿ è¦ã ã£ãããã§ãã
ãµã¼ãã¹é£æºã®æµã
ããã§ã¯ãå ·ä½çã«å ±é決æ¸åºç¤ãè¡ãªã£ã¦ããç¶ç¶èª²éã®å©ç¨éå§ããã決æ¸æ å ±ã®çªåããµã¼ãã¹ã¨ã®é£æºã追ã£ã¦ã¿ããã¨ã«ãã¾ãã
ç¶ç¶èª²éã®å©ç¨éå§
- ã¦ã¼ã¶ã¼ãå©ç¨éå§ã®ã¢ã¯ã·ã§ã³ãã¨ã
- 決æ¸éå§ã®æç¶ãã決æ¸APIã¸ãªã¯ã¨ã¹ããã
- ã¦ã¼ã¶ã¼ã決æ¸ã®æç¶ããè¡ã
- å ±é決æ¸åºç¤ããµã¼ãã¹ã¸æ±ºæ¸ã®çµæãAPIã³ã¼ã«ããã¯ãã
- ã¦ã¼ã¶ã¼ããµã¼ãã¹ãå©ç¨ã§ãã
ãµã¼ãã¹å´ã§ã®ä»ä¸ã失æããå ´åã¯ãé©åã«å ±é決æ¸åºç¤ã®æ å ±ããã¼ã«ããã¯ãã¾ãã
決æ¸æ å ±ã®çªå
çªåã¨ã¯ãããããã®ãµã¼ãã¹ãæã¤ç¶ç¶æ±ºæ¸ã®ä¸è¦§å士ãæ¯è¼ãå·®åãæ¤åºãããã¨ã§ãã
- å ±é決æ¸åºç¤ã決æ¸ãµã¼ãã¹ã®ã¹ãã¼ã¿ã¹ã¨åæãã
- å ±é決æ¸åºç¤ãããµã¼ãã¹ã¸å·®åæ å ±ãéä¿¡ãããµã¼ãã¹ã¯å©ç¨ã§ããªãã¦ã¼ã¶ã¼ã®æææ©è½å©ç¨ã解é¤ãã
- å ±é決æ¸åºç¤ã¨ãµã¼ãã¹å´ã§ã®å·®åããªããããã§ãã¯ããå·®ãããã°æ¤ç¥ãã
ä¸è¨ã®å¦çããå種決æ¸ãµã¼ãã¹ã®æ å ±ã¨å ±é決æ¸åºç¤ã¨ã®ç¶ç¶å¥ç´ã®å·®ã¨å ±é決æ¸åºç¤ã¨ãµã¼ãã¹ã¨ã®å·®ãç¡ãããã«æ¯æ¥è¡ãªãã¾ãã
以ä¸ã®ãããªå¦çã決æ¸æ段ãã¨ã«åå¨ãããããããåãµã¼ãã¹ã®ç®¡çã®æéãçãã¨åæã«ãã¦ãã¦ãéç©ããã確å®ãªéç¨ãè¡ãªãããWEBãµã¼ãã¹ã¨ãã¦ç¬ç«ããã¾ããã
å ±é決æ¸åºç¤ã¨å©ç¨ãµã¼ãã¹ã¨ã®è²¬åã®åæ
次ã«å ±é決æ¸åºç¤ã¨ãããå©ç¨ãããµã¼ãã¹ã¨ã®è²¬åã®åæ ã«ã¤ãã¦èª¬æãã¾ãã
課éã«é¢é£ããã¹ãã¼ãªã¼ã¨ãã¦ãã¯ãã¯ãããã§ã®ä»£è¡¨çãªä¾ãèãã¦ã¿ã¾ãã
- ã¦ã¼ã¶ã¼ã280åã®ãã¬ãã¢ã ãµã¼ãã¹(åå)ãã¯ã¬ã¸ããã«ã¼ã決æ¸(決æ¸æ¹æ³)ã§ãç¶ç¶èª²éãå¥ç´(注æ)ããæ¯æ280åã課é(è«æ±)ããã
- 課éã¦ã¼ã¶ã¼ããã¬ãã¢ã ãµã¼ãã¹ã®å©ç¨ãã§ããããã«ãã(èªå¯)
- æ¯æã¦ã¼ã¶ã¼ã«280åãè«æ±ããçµæãæ¤è¨¼ãã
å ±é決æ¸åºç¤ã¯ã注æãããè«æ±ãã®ç®¡çãå¤é¨APIã¨ã®é£æºãæ ãããµã¼ãã¹å´ã¯ãååãã¨ã決æ¸æ¹æ³ãã®é¸æããµã¼ãã¹å©ç¨ãèªå¯ããæ ãããã«è²¬åãåæ ãã¦ãã¾ãã
ãã®ããã«ã
- å©ç¨ãµã¼ãã¹å´ã§ã¯ååãå²å¼ããã¯ã¼ãã³ã®çºè¡ãè¡ãªããªã©ãååã«é¢ããæ§ã ãªæ½çãå®æ½
- 注æãè«æ±ã®ç®¡çãå¤é¨ã®æ±ºæ¸ãµã¼ãã¹ã¨ã®é£æºã決æ¸æ å ±ã®çªåãªã©ã¯å ±é決æ¸åºç¤ã®ãã¦ãã¦ãéç´ããããã©ãããã©ã¼ã ä¸ã§ç®¡ç
ãããã¨ã§ãæ確ãªè²¬åã®åæ ãè¡ãªã£ã¦ãã¾ãã
é½åº¦èª²éã対å¿
WEBãµã¼ãã¹ã¨ãã¦ç¬ç«ãããçç±ã¨ãã¦ç¶ç¶èª²éã®ä¾ã示ãã¾ããããé½åº¦èª²éã¸ã®å¯¾å¿ãè¡ã£ã¦ãã¾ãã ããã«ããããµã¼ãã¹éçºè ã¯é½åº¦èª²éã¨ç¶ç¶èª²éã®ã©ã¡ãã«ã対å¿ã§ããã¦ã¼ã¶ã¼ã¯ç¶ç¶èª²éã§å©ç¨ãã¦ãããã®ã¨åãã¯ã¬ã¸ããã«ã¼ãæ å ±ã使ã£ã¦é½åº¦èª²éãè¡ãªããã¨ãã§ãã¾ãã
å ±é決æ¸åºç¤ãå°å ¥ããçµæ
åãµã¼ãã¹ããå ±é決æ¸åºç¤ãå©ç¨ãããã¨ã§ãåé ã«æããããããåé¡ã解決ãããã¨ãã§ãã¾ããã
ãè¤æ°ã®æ±ºæ¸æ¹æ³ãåããµã¼ãã¹ã¨ãã¦å ±åãããé£ãããã¯1ç®æã«ç¥è¦ãéç´ãããã¨ã§ããè¨è¨ã®ä¸ã§åä½ããããã¨ãã§ãã¦ãã¾ããã¾ãããå²å¼ãã£ã³ãã¼ã³ã¨ãã£ãæ½çã®æ®éª¸ãæ®ã£ã¦ãã¾ãããã¨ã¯è²¬åã®åæ ãæ確ã«è¡ãªããã¨ã§å©ç¨ãµã¼ãã¹ã§ã®æè»æ§ã¨å ±é決æ¸åºç¤ã®ä¿¡é ¼æ§ãæ ä¿ã§ãã¦ãã¾ãããè¤æ°ãµã¼ãã¹éã§ã®éç¨ããæ°è¦ãµã¼ãã¹ãªã©ã§ã®æ±ºæ¸å°å ¥ã³ã¹ãã®åæ¸ãéç¨ã®è² è·è»½æ¸ã«ç¹ãã£ã¦ãã¾ãã
ãã®ããã«ãå ±é決æ¸åºç¤ãå°å ¥ãããã¨ã§ãå ç¢æ§ããä¿¡é ¼æ§ãã¨ãæè»æ§ããéçºã¹ãã¼ããã®ä¸¡ç«ãã§ããããã«ãªãã¾ããã
ã¾ã¨ã
決æ¸ã課éã«é¢ããéçºãéç¨ã¯ãå¤é¨ç°å¢ã®å½±é¿ã大ãããéç¨ã³ã¹ããé«ããªããã¡ãªã®ã§é ãæ©ã¾ããã¨ãå¤ãé¨åãã¨æãã¾ããã¯ãã¯ãããã®ä¾ããããã£ãéçºãéç¨ã®ãåèã«ãªãã°å¹¸ãã§ãã
決æ¸ã«é¢ããç°å¢ã¯ä»å¾ãã¯ããã¸ã¼ã®é²åãæ°ãã決æ¸æ¹æ³ã®ç»å ´ãªã©ã«ãã£ã¦ãããããé²åãã¦ããåéã§ãã ãããã£ãå¤é¨è¦å ã¨ãããã¦ã¯ãã¯ãããã®ãµã¼ãã¹ã®çºå±ã«å¯¾å¿ãã¦ããããã«ããå ±é決æ¸åºç¤ãããè¯ããã®ã«é²åããã¦ããããã¨æã£ã¦ãã¾ãã
ã¯ãã¯ãããã§ã¯ããã®ãããªèª²é¡ã«åãçµãã§ã¿ããã¨ããã¨ã³ã¸ãã¢ãåéãã¦ãã¾ãã