ã³ãã¥ããã£ã¡ã³ããŒéã®æåçãæéçãæŠå¿µçãããã³ãã®ä»ã®éããèæ ®ããŠããªãŒãã³ãœãŒã¹ãããžã§ã¯ããŠã£ã¶ãŒãã§èªåã®æ©èœãäœæããããŒãžããæ¹æ³ã«ã€ããŠ
ç°¡åãªçŽ¹ä»ããå§ããŸãããã ç¹ã«ãã£ãããã¡ãŒã«ã§ãç¹ã«è±èªã§äººãšã³ãã¥ãã±ãŒã·ã§ã³ããšããšããããªãã®ã¡ãã»ãŒãžã¯ããªããæåŸ ãããã®ãšã¯å šãç°ãªã£ãŠç¥èŠãããå¯èœæ§ãããããšã«åžžã«çæããŠãã ããã 誰ãæçŽãèªããã¯äžæã§ãã 圌ã¯ãã³ãºãŒæåŸãã€ã®ãªã¹äººããŸãã¯ãã ç ã人ã§ããããšãã§ããŸãã ç¹å®ã®åèªã®ç解ã«ã¯åžžã«éãããããŸãããæè¡çãªè©³çŽ°ã«ã¯è§Šããã«ãããããæå°éã«æããæ¹æ³ã説æããŸãã
èŠåïŒã¹ããŒãªãŒã«ã¯ç®èãå«ãŸããŠããŸãã
è²¢ç®è ãžã®æªãã¢ããã€ã¹
誰ãšãæ°æ©èœã«ã€ããŠè°è«ããªãã§ãã ãã
æ°ããæ©èœãå®è£ ãããå Žåã¯ã誰ã«ãä¿®æ£ã«ã€ããŠè©±ãåã£ãŠã¯ãããŸããã 誰ããããªãã®åã§çèŽãããããè¡ãããšãã§ããŸãïŒ ãŸãã¯ã詳现ãèããŠã圌ãã¯ããªããäœããç解ããªãã£ããšèšããããããŸãã-ããªãã®ã¢ã€ãã¢ãæ¹å€ããããã«ã æ¹å€ã¯ãšãŠãçãã ãããããããªãã®ãããªæ©èœã¯ãã§ã«è°è«ãããŠãããå¥ã®ãã®ãå¿ èŠã§ã...äžè¬çã«ã誰ã«ãããªããããããããšãäŒããªãã§ãã ããã 決ããŠã
æè¡ææžãäœæããªã
ã³ãã¥ããã£ã®ã³ããã¿ãŒãçµéšè±å¯ãªäººãã¡ã¯ãåãåã£ããããã®ã³ãŒããç解ããã®ã倧奜ãã§ãã ãããã£ãŠãæè¡ææžãäœæããªãã§ãã ããã WikiãJiraãã¡ãŒã«ãªã¹ãã®ãã£ã¹ã«ãã·ã§ã³-ãããã¯ãã¹ãŠå®å šãªãã³ã»ã³ã¹ã§ãã ã§ãããã¯ããªãã®ããã§ã¯ãããŸããïŒ
ããã¡ã¯ããªãŒã¡ãœããã®æ¹åãšä»ã®ããã€ãã®æ¹åããšãã圢ã§æ¹åã®èª¬æãå«ããããã[+5000ã-3500]ã«éä¿¡ãããšã誰ãããããç解ããŸãããåæã«åœŒãã¯ããªããã©ãã ãè¯ãããç解ããŸãã
ãã¹ããå®è¡ããªã
ãã¹ãã¯äœããå£ãå¯èœæ§ããããããå±éºã§ãã ããã§ããã¹ããå®è¡ã§ããå Žåã¯ãçµæã衚瀺ããªãã§ãã ããã çµæã«ãšã©ãŒããããšãããããæåŠãããå¯èœæ§ããããŸãïŒ ãããŠã絶察ã«æ°ãããã¹ããæžããªãã§ãã ããã [ãã¹ãŠå®è¡]ãé·ããªããCPUæ¶è²»éãå¢å ããŸãã ãšã«ãããåªããéçºè ã¯ãã°ãªãã§ã³ãŒããèšè¿°ããŸããçµéšè±å¯ãªååã¯ããããèŠãŠãããã«ãšã©ãŒããªãããšãç解ããŸãã
䜿ãæ¹ãèªãŸãªã
ãªãŒãã³ãœãŒã¹ãããžã§ã¯ãã«åå ããå Žåã¯ãããŠããŒãèªãã§ã¯ãããŸããã æãè ã®ããã«æžãããŠããŸãããïŒ
ç¬èªã®æ¹æ³ã§ã³ãŒããèšèšããŸãã ãã以å€ã®å Žåãããªãã¯ããªããåªããéçºè ã§ãããçŸæèãçºéããå€ç®çã§åµé çãªäººã§ããããšã誰ããã©ã®ããã«ç解ããŸããïŒ
䟿å©ãªããã«ããããéä¿¡ããŠãã ããã ããšãã°ããããžã§ã¯ãã¯GitHubã€ã³ãã©ã¹ãã©ã¯ãã£ã«é¢é£ä»ããããŠããŸããLinuxã«ãŒãã«ã«éä¿¡ããããšããã«éä¿¡ããŠãã ããã æ·»ä»ãã¡ã€ã«ã§ã¯ãªããçŽæ¥ããã¹ãã«å«ããããšãã§ããŸãã çµå±ãLinus Torvaldsã¯æªãã¢ããã€ã¹ãããªãã§ãããïŒ ãããžã§ã¯ãã®æ¡çšæ¹æ³ãç°ãªãå Žåããããã¯ãããžã§ã¯ãã®åé¡ã§ãã
Public APIãèªç±ã«è€éã«ããŠãã ãã
æ°ãããããªãã¯APIãéçºãããšãã¯ãã§ããã ãæœè±¡çã§è€éãªãã®ã«ããŠãã ããã APIã®éèªæãªåäœã«é¢ãããŠãŒã¶ãŒã®è³ªåã«ã¯ãåžžã«çããããšãã§ããŸãããããã¥ã¢ã«ãèªãã§ããŸãããïŒ 42ããŒãžããã¹ãŠãæ確ã«æžãããŠããŸãïŒ ããäžåºŠèªãã§ãã ããïŒã æ·±å»ãªãããžã§ã¯ãã§ã¯ããã¹ãŠãè€éã«ãªãã¯ãã§ãã æ·±å»ãªãããžã§ã¯ãããããŸããïŒ
åé¡ã«ã€ããŠçžè«ããã話ãããããªãã§ãã ããã
誰ãšãçžè«ãããéçºã§çºçããåé¡ã«ã€ããŠèª°ã«ã話ããªãã§ãã ããã äžã€ã®ããšãç解ããã»ãããã£ãšæ¥œããã§ãã ãšã«ãããåªç§ãªéçºè ã¯åžžã«æåã«æåããåé¡ã¯ãããŸããã ä»ã®äººãããªãã®åé¡ãçºèŠããå Žåã圌ãã¯ããªããããè³¢ããªããã³ãŒããããéãæžãã§ãããã ããã¯èš±å¯ãããã¹ãã§ã¯ãããŸããã å®éãåé¡ã«ã€ããŠè©±ãããšã¯ç¿æ £ã§ã¯ãããŸããã
æçµæ±ºå®ã®å¶éãèšåãã䟡å€ã¯ãããŸããã çµå±ã®ãšããã解決çã®æçµæ±ºå®ãæ±ããããå ŽåããããŸãã 誰ãå¶éãæ°ã«ããŸããïŒ ãŠãŒã¶ãŒã補åã補åã«å°å ¥ãå§ããå¶éã«ééãããšããŠãŒã¶ãŒã¯ããèå³ãæã¡ããã楜ãããªããŸãã 圌ã¯ããªãã®ãšããã«æ¥ãŠãããªãã«ãããçµããããã«é Œã¿ãŸãã ãããŠããã®æç¹ãŸã§ããããªãå Žåã§ãå¶éã«ã€ããŠåœŒã«è©±ããªãã§ãã ãã-圌ãäœãå®è£ ããªãããšã«æ±ºããå Žåã¯ã©ããªããŸããïŒ
æ¬åœã«è¯ãã¬ãã¥ã¢ãŒããã¹ãŠãèŠã€ããŠã詳现ãå°ããŸãã ãããªãå Žåã圌ã«äœãèšããªãã§ãã ããã
質åãããå Žåã¯ãdev-listã«æžããŠãã ãã
ãã®ãã³ãã¯ãåã®ãã³ããè£å®ãããã®ã§ãã 誰ã«ãäœã話ããªãã ãã§ãªãããŸãéçºè ãªã¹ãã§è³ªåãããã®ãæåã§ãã
誰ããåçããã質åã®äŸã以äžã«ç€ºããŸãã äœããã®ãã¹ããäœæããå Žåã¯ãããã®ã³ã¬ã¯ã·ã§ã³ã®nullã確èªããå¿ èŠããããŸããïŒããšå¿ ã確èªããŠãã ããã èªåã§ææ¡ããå¿ èŠã¯ãããŸãããéçºã·ãŒãã§ãã€ã§ã確èªã§ããŸãã çµå±ã®ãšããããã®ãããªè³ªåããããã®ããã åŸ ã£ãŠããå€ãã®äººã ãããŸãã 圌ãã¯ããã«è¿ éã«å¯Ÿå¿ããããšããŸãã
ãã©ãããã°ã¿ã¹ã¯ãå®è¡ã§ããŸããïŒããã1ã€ã®çŽ æŽããã質åã§ãã ãããªãå Žåã詳现ãæå®ããªãã§ãã ãããã¿ã¹ã¯IDã§ååã§ãã ãããå¿ èŠãšãããã¹ãŠã®äººãèªåã§èŠãã§ãããã
ãã©ã®ãã¬ãŒã ã¯ãŒã¯ã䜿çšããã®ãïŒããéåžžã«è¯ã質åã§ãã ããã«çããããšã¯åžžã«èå³æ·±ããã®ã§ãããè°è«ããããšãã§ããŸãã
1åã®ãã«ãªã¯ãšã¹ãã§ãã¹ãŠã®ãããžã§ã¯ãã®åé¡ãä¿®æ£ãã
ããã¯ç§ã®ãæ°ã«å ¥ãã®ãã³ãã§ãã ç¹ã«ãšã³ã¿ãŒãã©ã€ãºã§äœæ¥ããŠããå Žåã¯ã1ã€ã®ãã«ãªã¯ãšã¹ãã§ãããžã§ã¯ãã®ãã¹ãŠã®åé¡ãä¿®æ£ããŸãã ããªãã®åã«ãããžã§ã¯ãã«æãè ã ããããŸããã圌ãã¯ã³ãŒããäžå®å šã«æžããŸããã ãããŠãããªãã¯ããŸãæžãã ãããã£ãŠã次ã®ããšãè¡ãå¿ èŠããããŸãã
- ç解ã§ããªãæ¢åã®ã³ãŒãããã¹ãŠãªãã¡ã¯ã¿ãªã³ã°ããŸãã
- ããªãã®æèŠã§ã¯ãééã£ãååã®å€æ°ããã¹ãŠååå€æŽããŸãã
- æ¢åã®ãã¹ãŠã®javadocã³ã¡ã³ããä¿®æ£ããŸãã
äžè¬ã«ãããã€ãã®ã¯ã©ã¹ããã¡ã¯ããªãªã©ãåãåºããŠåãåºããã³ãŒããæ¹åããããã«ä»ã®å€æãè¡ãããšãã§ããŸãã ããªãã®ä»äºã«é¢ä¿ã®ãªãåéã§ã¯ç¹ã«å°è±¡çã§ãã ãã®ãããæœåšèœåãããå®å šã«æããã«ããããšãã§ããŸãã OOPã®æ å ãžïŒ ã¢ãŒã¡ã³ïŒ
äºåã«ã³ãŒãã¬ãã¥ãŒããªã¯ãšã¹ããã
ã¿ã¹ã¯ãå®è¡ããŠããã³ãŒãã¬ãã¥ãŒã®ãªã¯ãšã¹ããéä¿¡ãããšãããã»ã¹ã«æéããããå ŽåããããŸãã ãã¹ãŠã®å°é家ã¯éåžžå¿ããã§ãã ããªãã¯ã掻çšããŠãã ããïŒããªãã®ã¿ã¹ã¯ã¯ãããªãã®ããã«ãããã«çµäºãããšããäºåã«ã¬ãã¥ãŒããªã¯ãšã¹ãããŠãã ããã çµå±ã®ãšããã圌ãã¯ããã«ã¯èŠããŸãã-ããªãã®æãããªãã«å±ããŸã§ãããªãã¯ããããã¹ãŠçµããããšãã§ããŸãã
ã¬ãã¥ã¢ãŒã«çªç¶æéããããã¿ã¹ã¯ããŸã å®äºããŠããªãå Žåã圌ã¯äžéã§ããã ç¶æ³ã説æããææ¥ã¯ãã¹ãŠæºåãã§ããŠãããšèšããŸãã ããã«ãããããã»ã¹ãïŒå°ãªããšãã¬ãã¥ãŒã«ãã£ãŠïŒã¹ããŒãã¢ããããããŒãžãé«éåã§ããŸãã
ã¿ã¹ã¯ã«ãããã-ããããããã
ãªãŒãã³ãœãŒã¹ã§åããã¹ãŠã®äººã«ã¯å€ãã®æéããããŸãã äœãçµããå¿ èŠã¯ãããŸããã ã³ãŒãã¬ãã¥ãŒã«åæ Œããã³ã¡ã³ããåãåããŸããã ãããããªãäœããç·šéããŠããŒãžããã®ã§ããïŒ æ¬¡ã®ããºã«ãåãããããå®è¡ããŸãã ãããæåãžã®éã§ãïŒ ã¬ãã¥ãŒã¢ã«ã¯å€ãã®æéãããã次ã®ãããã¯çµæãªãã§è¡šç€ºãããŸãïŒ
ã¬ãã¥ã¢ãŒã¯ããªãã®æµã§ã
ãããŠãããªããšãã¹ã¿ãŒã®ã³ãããã¡ã³ãã®éã«ç«ã€äººã®ååã¯ä»ã«äœã§ããïŒ ã³ãŒãã«å¯Ÿããæ¹å€ã¯ãå人çãªæ¹å€ã§ãïŒ åœŒã¯èª°ã ãšæããŸããïŒ å人çãªã³ãã¥ãã±ãŒã·ã§ã³ã§ã¯ãå¯èœãªéããç匟ããïŒ ãã以å€ã®å Žåãã¬ãã¥ã¢ãŒã¯ããªããæ°ã«ããŠããããšãã©ã®ããã«ç¥ã£ãŠããŸããïŒ ãããéçºã®åºæ¬çãªã«ãŒã«ã§ãïŒ
æ¯æ¥ã®éçºã§ãã®ã¢ããã€ã¹ããå§ãããŸãã ããã¯ãçµæãéæããæ£ããå®è¡ããã®ã«åœ¹ç«ã¡ãŸãã
ã¬ãã¥ãŒã¢ãžã®æªãã¢ããã€ã¹
ã«ãŒãã³ãã§ãã¯ãèªååããªã
ã¬ãã¥ãŒçšã®ããããæ¢ã«éä¿¡ãããŠãããšãã«ãããžã§ã¯ãã®ã¬ãã«ã«éããå Žåã¯ã決ããŠå®æçãªãã§ãã¯ãèªååããªãã§ãã ããïŒ ãã©ãã«ã·ã¥ãŒãã£ã³ã°ãšãã£ã¹ã«ãã·ã§ã³ã«2ã3ã®ã¬ãã¥ãŒãµã€ã¯ã«ãè²»ããæ¹ãã¯ããã«æ¥œããã§ãã
- ã³ãŒãã®ãã©ãŒããã;
- å€æ°ã®åœå;
- ãããã®å€æ°ãfinalãšããŒã¯ãããŠãããã©ããã確èªããŸããfinalã¯ãããã«ãã£ãŠããŒã¯ã§ããŸãã
- ...ããã³ãã®ä»ãã¹ãŠã
ã©ã®ãããªå Žåã§ããå®æçãªãã§ãã¯ãèªååããªãã§ãã ããã ã¯ãããããŠäœããªãç¶æ ã«è¿œã蟌ãããã®ãã¹ãã
æåŸãŸã§ã²ãŒã ã®ãã¹ãŠã®ã«ãŒã«ãæããã«ããªãã§ãã ããã
åã€ããã«ã¯ãåžžã«ãã¢ã®ãšãŒã¹ãæå ã«çœ®ãå¿ èŠããããŸãã åŸæ¹äºææ§ã®å¿ èŠæ§ã«ã€ããŠèª°ã«ã話ããªãã§ãã ããã ã³ãããã®çŽåã«èšã£ãæ¹ãè¯ãã§ãããïŒãããã§ãç§ãã¡ã®ã«ãŒã«ã«åŸã£ãŠãäžäœäºææ§ã確ä¿ããå¿ èŠããããŸãã ä¿®æ£ããŠãã ãããã ããã¯ããã§ã«5åã¬ãã¥ãŒããå Žåã«ç¹ã«å¹æçã§ãã 6çªç®ã®äººã¯ãŸã èšãããšãã§ããŸãïŒãç§ã¯å°é家ã§ã¯ãªãã®ã§ãããªãã¯åã³èŠãXæ°ã®ã¬ãã¥ãŒãåŸ ã€å¿ èŠããããŸããã
ãã®ãããªã³ã¡ã³ãã¯ãç¹ã«ã¬ãã¥ãŒã®æçµæ®µéã§ãæçš¿è ã«åžžã«åæ©ä»ããå ããŸãã
ææ ãæš©åšãšæè¬ãªã
ãã®ãã³ãã¯ãææ°ã®å¯çš¿è ã®ãã³ããšéè€ããŠããŸãã å¯èœãªéãææ çã«ãã«ãªã¯ãšã¹ãã«ã³ã¡ã³ããæžããŠãã ããã ã©ããã§ãã«ããã§ãã¯ãããŠããªãå ŽåããŸãã¯å€æ°ã®ååãããã§ãªãå Žåã¯ãçºèšã«æ ç±ãå ããŠãã ããã ããªããæ°ã«ãããŠããããšã圌ãã«èŠããŠãã ããã
çŽäºãçºçããå Žåãæè¡çãªè°è«ãè¡ãããšã¯ãããŸããã æè¡çãªè°è«ã§ã¯ãããªããééã£ãŠããããšãå€æããå ŽåããããŸãã åœå±ãåç §ããŠãã ãã-ããã¯çŽäºã®äžã§æè¯ã®è°è«ã§ããããªãã¯åžžã«åã¡ãŸãã
誰ããããªãã®ã¬ãã¥ãŒãééããå Žåãããªãã¯æ±ºããŠããããšããšèšãã¹ãã§ã¯ãããŸããã ããã§ã圌ãã¯ãªãŒãã³ãœãŒã¹ã«ã³ããããããïŒ æ±ºããŠæè¬ããå¿ èŠã¯ãªãã®ã§ã圌ãã¯åã³æ¥ãŸãïŒ
ä»çå£ã«ïŒã³ãŒãã¬ãã¥ãŒãæºåããŠå®æœãããšããããªãã¯ã©ãèããã¹ãã§ããïŒ
ã¬ãã¥ãŒãå®æœããåæ Œããæ¹æ³ãçãç解ããŠãããããšãé¡ã£ãŠããŸããïŒ ãããã®ãã³ãã®ããããã«ã¯ãç®èã«å ããŠãå®éã«ãã°ãã°èµ·ããçã¿ããããŸãã
ç§ã¯ãšããã³ã¹ã®ãã£ããã³ãšããŠè¡åããã³ãŒãã¬ãã¥ãŒãæºåããã³å®æœããéã«ããªããæ¬åœã«èããå¿ èŠãããããšã説æããŸãã ããã«ãæ©èœãéçºãããã®ãšã¬ãã¥ãŒãããã®ã®äž¡æ¹ã«èæ ®äºé ãé©çšãããŸãã ããã§ãããããã¯åãã³ã€ã³ã®äž¡é¢ã§ãã
ã³ãã¥ãã±ãŒã·ã§ã³ã«ãããã³ã³ã»ã³ãµã¹ã¯ã第äžã«éæå¯èœã§ããã第äºã«ããããžã§ã¯ããåé²ãããããšãå¿ èŠã§ãã çŸåšãåç¬ã§éçºã§ãã補åã¯ã»ãšãã©ãããŸããã éåžžãããã¯ããŒã ã¯ãŒã¯ã§ãã
åžžèã䜿ã
ããã¯æãéèŠãªã¢ããã€ã¹ã§ãã åžžèã䜿çšããŠãããã¯æ瞊ããŸãã ãã®ã¢ããã€ã¹ã¯ãã¹ãŠã®ç掻ç¶æ³ã«åœãŠã¯ãŸãããã«æããŸãã äœããããŠããå Žåã¯ããããåžžèã®åçŽãªã«ãŒã«ãæºãããŠãããã©ãããæ€èšããŠãã ããã
æ³å®...
ããã¯æåã«ã€ããŠã§ãã ç§ã¯ããã€ãã®å€§ããªãªãŒãã³ãœãŒã¹ã³ãã¥ããã£ã«åå ããŸããã ããããã·ã¢ã®ã¡ã³ã¿ãªãã£ã®äžéšã§ãããã©ããã¯ããããŸããããå€ãã®å ŽåãäžåžãšããŠèªèã§ãã人ã¯ã誀ã£ãŠæå®ã®å Žæã«èœã¡ã人ãšããŠåæã«èªèãããŸãã 圌ã¯ããªãã«æªãããšãæãã§ãããšä¿¡ããããŠããŸããããã©ã«ãã§ã¯ã圌ã®ããæèã«çåããããŸãã ãããã£ãŠãã©ã®äœæ¥ã§ããå°ãªããšã1ç§éã¯æ¬¡ã®ããšãæ³å®ããããšãéåžžã«éèŠã§ãã
- æ ¡é²è
ïŒå¯çš¿è
ãäžåžãŸãã¯ååïŒã¯æµã§ã¯ãããŸãã ã 圌ã¯ããªããæªãããšãæãŸãªãã ããã¯åçŽãªä»®å®ã§ããããã°ãã°ååã§ã¯ãããŸããã ç§ã¯åœŒã«ãã¹ãŠåãããšãããããšãå§ããŸãã
- ããªãã«ã³ã¡ã³ããæžããŠããã人ãåªãããšã³ãžãã¢ã§ãã ãã¡ãããããªãã¯è¯ãã§ãããã®ãããªæ©èœãäœããŸããã ããããäžçã«ã¯ä»ã«ãå€ãã®åªç§ãªãšã³ãžãã¢ãããŸãã ãããŠãããªãã«ã³ã¡ã³ããéã£ã人ã圌ãã«é©çšãããŸãã
- ãã®äººã¯ãŸãããªãã®ä»äºãéæãããããšãæãã§ããŸãã
圌ãäœããæ±ãããšãã圌ã¯äœããã®åæ©ãæã£ãŠããŸãã 圌ã«ã¯çç±ããããŸãã ç¹ã«ããã®äººããããžã§ã¯ãã®æåã®æ¥ã§ãªãå Žåã 確ãã«äœããã®çç±ããããŸãã ããªãã¯ãã®çç±ã«ã€ããŠå°ããããšãã§ããŸãïŒãªãããªãã¯ã¡ããã©ãããããå¿ èŠãããã®ã§ããïŒ ããã§åŸæ¹äºææ§ãå¿ èŠãªã®ã¯ãªãã§ããïŒ ç°¡åãªè³ªåãå·éã«ãåççã«å°ããçãã«è³ãåŸããã°ãããå€ããéæã§ããŸãã
補åã¯ã©ã®ãããªäŸ¡å€ããããããŸããïŒ
ã¬ãã¥ãŒã¯æ¢è£œã®ãããã ãã§ãªãããããžã§ã¯ãã®æ¹åãä¿®æ£ã§ããããŸãã å®éãã³ãŒãã®ã¬ãã¥ãŒã¯ãããªããèªåã®ãªããžã§ã³ã«ã€ããŠè°è«ããŠããç¬éã«å§ãŸããŸãã ãã®æç¹ã§ã補åã«ã©ã®ãããªäŸ¡å€ãããããããèªåããŠãã ããã
- æ°ããæ©èœã«ãªããŸããïŒ
- ããã¯æ¢åã®æ¹åã§ããïŒ
- æ¢åã®æ©èœãæ¡åŒµããŸããïŒ
- ã³ãŒãã®ãªãã¡ã¯ã¿ãªã³ã°ã«ãªããŸããïŒ ããã«ã¯äœã®åé¡ããããŸããã äžéšã¯ãªãã¡ã¯ã¿ãªã³ã°ã«éèŠã§ãããããã¯å¿
èŠã§ãã ãããŠãããªãã¯ããªãããããããŠããããšãæèããå¿
èŠããããæ°ããæ©èœãäœãã§ã¯ãããŸããã
- ããã»ã¹ãé«éåããããã©ãŒãã³ã¹ãæ¹åããŠããŸããïŒ
- ããã¯ãã°ä¿®æ£ã§ããïŒ
ä»ã®ãªãã·ã§ã³ããããŸãã ãããã«ãããäœããéçºãå§ãããšããåé¡ã解決ããããã«ããããžã§ã¯ãã«ã©ã®ãããªäŸ¡å€ãè¿œå ããããç解ããå¿ èŠããããŸãã
æ¹èšçïŒæ©èœïŒããã®ããã«ãªã£ãŠããã®ã¯ãªãã§ããïŒ
圹ã«ç«ã€äŸ¿å©ãªè³ªåãããã€ããããŸãã
ãªãæ©èœãäœæããã®ã§ããïŒ ãªããã®æ©èœãå¿ èŠãªã®ã§ããïŒ ãã®è³ªåã«å¯Ÿããçãã¯éèŠã§ãã
ä»äºã¯ã©ãããå§ãŸããŸããïŒ ç§ã®ç·Žç¿ã§ã¯ãç¹å®ã®ã¢ããªã±ãŒã·ã§ã³ãããçŽãããã«é ŒãŸããŸããã ã¢ããªã±ãŒã·ã§ã³AããããŸããã¢ããªã±ãŒã·ã§ã³Bãäœæããå¿ èŠããããŸããã¢ããªã±ãŒã·ã§ã³Bã¯ãå°ããªå€æŽãå ããŠãã»ãšãã©åãã§ãã ç§ã¯ä»äºãå§ããŸããããããŠãããã¯Aãåºæ¬çã«åããªãããšãããããŸãã å®éãããã¯ãã¥ãŒãã³ãã·ã³ã€ã³ã¿ãŒãã§ã€ã¹ã䜿çšããŠå®çšŒåç°å¢ã®ã©ããã§äœ¿çšãããŸããã€ãŸãã誰ãã座ã£ãŠããã°ã©ã ã絶ããåèµ·åãã空äžã®ãã«ãã€ã³ã¿ãŒäŸå€ãæåéãä¿®æ£ããŸãã ä»äºã¯ã©ãããå§ãŸããŸããïŒ ãã®å Žåãããã°ã©ã Aãå®å®ããŠåäœããããã«ä¿®æ£ãã次ã«ããã°ã©ã BãäœæããŸãã
äœæ¥ã®å®å šãªå®äºã¯ã©ãã§ããïŒ è¡ãããäœæ¥ã¯çæ³çã«ã©ã®ããã«èŠããã¹ãã§ããïŒ ããªããè¡ãæåã®æ®µéããçå®ããããšãéèŠã§ãã
çŸåšã®ã¹ããŒãžã®çµããã¯ã©ãã§ããïŒ ããã«è±¡ãé£ã¹ãããšãã§ããªãããšã¯æããã§ãããäœæ¥ã段éã«åããæ¹ãè¯ãã§ãããã çŸåšã®æ®µéã®çµãããã©ãã«ããããç解ããããšãéèŠã§ãã å€ãã®å Žåããããžã§ã¯ãã¯èšåŒµãããããžã§ã¯ãã®ç¯å²ãç¡éã«å€§ãããªããšããçç±ã ãã§çµäºããŸããã
æ©èœãæ£ç¢ºã«ãã®ãããªæ®µéã«åå²ãããã®ã¯ãªãã§ããïŒ ããã¯MVPãšãã®ãã¹ãŠã«é¢ãããã®ã§ãã ããã«ã€ããŠãèããŠãã ããã
ãããªãã¯APIã«ã€ããŠ
Public APIã®ããããã£ã«é¢ããèšäºã¯å€æ°ãããŸãã å®è£ ããåã«èªãã§ãã ããã è¯ãäŸãšããŠãJavaã®Springãã¬ãŒã ã¯ãŒã¯ã§ããJQueryãåŒçšã§ããŸãã åŠå®çãªäŸããããŸãã Javaã§äœå¹Žãããã°ã©ãã³ã°ãããŠãã人ã¯èª°ã§ããPublic API EJB 2.1ã®èŠ³ç¹ããæãããããšãããããèŠããŠããã§ãããã ããã®æ©èœã¯è¯ããããããŸãããããããªãã¯APIãæªãå ŽåããŠãŒã¶ãŒã«è£œåã䜿çšãããã説åŸããããšã¯ã§ããŸããã
ãããªãã¯APIã¯ããµãŒãããŒãã£ãŠãŒã¶ãŒåãã®ããŒã«ã ãã§ã¯ãããŸããã ãããšå éšã³ã³ããŒãã³ãã®APIããããã¯èªåã§åå©çšã§ããŸãã ãããªãã¯APIã®éèŠãªããããã£ïŒ
- ã·ã³ãã«ã
- 蚌æ ã
- æ£ããããã©ã«ãã ããšãã°ãæ¬çªç°å¢ã®ããã«ããã¹ãç°å¢ã§500åã®ã¹ã¬ãããäœæããå Žåã¯ããããã«ã€ããŠèãã䟡å€ããããŸãã ãŸãã¯éã«ããã¹ãç°å¢ã®ããã«ãå®çšŒåç°å¢ã§ã¯ããã©ã«ãã§3ã€ã®ã¹ã¬ããããããŸãã
- ãšã©ãŒã¡ãã»ãŒãžãæ¶å»ããŸãã ããã¯éåžžã«å€ãã®è£œåã®æšåã§ãã ã·ã¹ãã å
ããäœããèœã¡ãå Žåãäœãééã£ãŠãããã¯æ確ã§ã¯ãããŸããã æšæ¥ã¯æ©èœããŠããŸããããä»æ¥ã¯ãã«ãã€ã³ã¿ãŒäŸå€ãçºçããŸããã æ£ç¢ºã«äœãééãããããããŠãããä¿®æ£ããæ¹æ³ã¯ãšã©ãŒã¡ãã»ãŒãžããæããã§ã¯ãããŸããã
- ééããç¯ãã®ã¯é£ããã§ãã ãã®ã¹ã³ã¢ã«ã¯å€ãã®æšå¥šäºé
ããããŸãã ã³ã³ãã€ã«æãã§ãã¯ã¯ãã©ã³ã¿ã€ã ãã§ãã¯ãªã©ãããåžžã«åªããŠããŸãã
- æ確ã§ååãªãã°ã ããã¯ãåå©çšããŠãµãŒããŒã®ã©ããã«ãããã€ããã³ãŒããèšè¿°ããå Žåã«ç¹ã«éèŠã§ãã
- ç£èŠããæ©èœã ãã°ãšç£èŠãPublic APIã®äžéšã§ããããšãç解ããå¿
èŠããããŸãã ãšã©ãŒã解æãããšããŠãŒã¶ãŒã¯ãç£èŠã§åãåºããã¡ããªãã¯ã®åäœã確èªã§ããŸãã
ãµãã·ã¹ãã ã®å€æŽ
ã³ãŒãã¬ãã¥ãŒãè¡ãéã«ã¯ãå€æŽãã倧èŠæš¡ãªè£œåã®ã·ã¹ãã ãšãµãã·ã¹ãã ã®å®å šãªãªã¹ããèŠããŠããããšãéèŠã§ãã ãšã³ã¿ãŒãã©ã€ãºãããžã§ã¯ãã§ã¯ãããŒã¿ããŒã¹ã¹ããŒããªã®ããã³ã³ãããŒã©ãŒãªã®ãããã¬ãŒã³ããŒã·ã§ã³ãªã®ããäœããã®ã¬ããŒãã·ã¹ãã ãã¢ããããŒããããŠã³ããŒããªã©ãªã®ããã¯ã£ããããªãå ŽåããããŸãã
ç®±å ¥ã補åã䜿çšããå Žåã質åãèªåããããšãéèŠã§ããå€æŽã¯ã·ã¹ãã å ã®æ¢åã®ããã»ã¹ã«ã©ã®ããã«åœ±é¿ããŸããïŒ åŸæ¹äºææ§ã¯ãããŸããïŒ ããã©ãŒãã³ã¹ã«åœ±é¿ããŸããïŒ ããã圱é¿ããå Žåãããããäœã§ããïŒ ããã¯ãŠãŒã¶ãŒãšã¯ã¹ããªãšã³ã¹ã«ã©ã®ããã«åœ±é¿ããŸããïŒ
æšæºã·ã¹ãã ããã»ã¹
åããžãã¹ã·ã¹ãã ã«ã¯ãéå§ãã€ã³ã¹ããŒã«ãæäœã®ãªã¹ããªã©ã®æšæºããã»ã¹ããããŸãã 圌ãã¯ä»ã©ã®ããã«æµããŸããïŒ ã³ãŒããã¬ãã¥ãŒããåã«ããããç解ããããšãéèŠã§ãã ãããã®ããã»ã¹ãå®è£ ããã³ãŒããå®è¡ããå¿ èŠããããŸãã Igniteã®å Žåãããã¯æ¬¡ã®ãšããã§ãã
- ããŒãã®éå§/åæ¢ïŒãµãŒããŒ/ã¯ã©ã€ã¢ã³ããã³ãŒãã£ããŒã¿ãŒ/éåžžïŒ-ããŒãã®éå§ãåæ¢ããµãŒããŒãŸãã¯ã¯ã©ã€ã¢ã³ãããŒãã®éå§ãã³ãŒãã£ããŒã¿ãŒãŸãã¯éåžžã®ããŒãã®éå§
- ããŒãåå -æ°ããããŒã/ã³ãŒãã£ããŒã¿ãŒ/ãµãŒããŒ/ã¯ã©ã€ã¢ã³ãã®èŠ³ç¹ãã
- ã¯ã©ã¹ã¿ãŒã®ã¢ã¯ãã£ãåïŒããã³éã¢ã¯ãã£ãåïŒ
- ã³ãŒãã£ããŒã¿ãŒã®äº€ä»£
- ãã£ãã·ã¥ã®äœæ/åé€
- æç¶æ§/ BLT / MVCC
ãããã®ããã»ã¹ã®ã»ãããéåžžã«å€§ããããšã¯æããã§ãã ãã®ãããªããã»ã¹ãååšããã©ã®ããã«å€åããããç解ããããšãéèŠã§ãã
ã³ãŒããŒã±ãŒã¹
ããžãã¹ã¢ããªã±ãŒã·ã§ã³ã§ã¯ãçœå®³åŸ©æ§ãåæã·ã¹ãã åæåãããŒãã®ã·ã£ããããŠã³ãåèµ·åãã¢ããªã±ãŒã·ã§ã³ã®æŽæ°ãªã©ãçºçããå¯èœæ§ããããŸãã Igniteã®å Žåã次ã®ãããªã±ãŒã¹ããããŸãã
- ã³ãŒãã£ããŒã¿ãŒã®äº€ä»£;
- ããŒããããã;
- ãããã¯ãŒã¯ã®åé¡-ãããã¯ãŒã¯ã¡ãã»ãŒãžãå±ããªãå Žåã
- å£ãããã¡ã€ã«ã
ãããããã¹ãŠæ£åžžã§ããããšã確èªããã³æ€èšŒããå¿ èŠããããŸãã
åªããã³ãŒãæ©èœ
ããã§ãã³ãŒãã«å°éããŸããã æ ããŠã¯ãããªãããšããå§ãããŸãã
- ã·ã³ãã«ã
- æ¡åŒµæ§
- ãã¹ã¿ããªãã£
- ä¿¡é Œæ§
- ä»äºã®é«éã
䞊è¡æ§
䞊è¡æ§ã³ãŒããèšè¿°ããéãJavaã«ã¯ç¬èªã®ç¹æ§ããããŸãã ããžãã¹ã·ã¹ãã ããããåæå®è¡æ§ãã»ãšãã©ãªãå Žåããããã®æ©èœãèæ ®ããå¿ èŠã¯ãããŸããã ãã ããéåžžãåæã¯ãã¹ãŠããŒã¿ããŒã¹ãééããŸãã Igniteãªã©ã§ã¯ãããã¯ããå°ãè€éã§ãã ãããŠãããã§ã¯ãã³ãŒãã®æ©èœã ãã§ãªãããã®ããããã£ãéèŠã§ãïŒ
- 䞊è¡æ§ã¢ãã«ãç解ããã®ã¯ã©ããããé£ããã§ããïŒ
- å
±æããŒã¿æ§é -æŽåæ§ã¯ã©ã®ããã«ä¿èšŒãããŸããïŒ
- ããã¯-äœãšçç±ïŒ
- ã¹ã¬ãã-ã©ã®ããŒã«ã䜿çšãããŸããïŒ ãªãã§ïŒ
- å€æŽã®å¯èŠæ§ã®ä¿èšŒ-äœã®ããã«æäŸãããŸããïŒ
ãããã®è³ªåã¯ãåæå®è¡ã³ãŒããä¿®æ£ããåã«ç¢ºèªããå¿ èŠããããŸãã ãã®ãªã¹ãã¯éåžžã«é·ãéç¶ç¶ã§ããããšã¯æããã§ãã
ããã©ãŒãã³ã¹ãã¹ãã ãã³ãããŒã¯
äœããã®ã·ã¹ãã ãéçºããŠããå Žåãã¯ã©ã€ã¢ã³ããã€ã³ã¹ããŒã«æžã¿ç°å¢ããããæããã«ããçšåºŠã®ããã©ãŒãã³ã¹ã§åäœããŸãã çŸä»£ã®äžçã§ã¯ãããŒããŠã§ã¢ã®é»åãç¡æéã«å¢ããããšã¯äžå¯èœã§ãã ãã¹ããšããã©ãŒãã³ã¹ã®ç£èŠãå¿ èŠã§ãã ã³ãŒãã¬ãã¥ãŒãå®æœããå Žåã以äžãç解ããããšãéèŠã§ãã
- ããã©ãŒãã³ã¹ãã¹ãã¯å¿
èŠã§ããïŒ ãã¶ããããã¯ããã©ãŒãã³ã¹ãã¹ããå¿
èŠãšããªãããçš®ã®æ¹è¯ã§ããïŒ
- å¿
èŠãªå Žåãã©ãã§ããïŒ å€ãã®æž¬å®æè¡ãšæ¹æ³ãªã©ããããŸãã
- ã©ãã§ã©ã®ããã«æž¬å®ããå¿
èŠããããŸããïŒ
- ææšãšãªããã³ãããŒã¯ã¯äœã§ããïŒ ããŒãã®æ°ã¯ïŒ éïŒ æ§æãç¹ç«ããŸããïŒ è² è·ã®æ§è³ªã¯ïŒ
åèš
å šäœçã«ãã³ãŒãã¬ãã¥ãŒã¯éåžžã«ããããã®ãããã©ã¯ãã£ã¹ã§ãã ãã¹ãŠã®éçºè ïŒãšã³ã¿ãŒãã©ã€ãºè£œåãå«ãïŒãæ¢ã«èªå® ã§å®è£ ããŠããããšãæã¿ãŸãã ããã§ãªãå Žåã¯ãã§ããã ãæ©ãå®è£ ããŠãã ããã ã³ã¡ã³ãã§ã³ãŒãã¬ãã¥ãŒã®å®è·µã«ã€ããŠè°è«ãããŠããã ããŸãã
è¬çŸ©ã®ãããªïŒ
ãã¬ãŒã³ããŒã·ã§ã³ã¯ãã¡ãããå ¥æã§ããŸã ã