ð¥ Railsãã¥ãŒããªã¢ã«è§£èª¬åç»ã®èŠã©ãã(第ïŒç« )
Railsãã¥ãŒããªã¢ã«è§£èª¬åç»ãããããã®è§£èª¬ç®æããå³éžïŒ
ä»åã¯ã第ïŒç« ãã§ãðãã®ç« ããã¯ããããã Sample App ãäœæããªããæ§ã
ãªãã®ãåŠç¿ããŠãããŸãã第ïŒç« ã®è§£èª¬åç»ã®äžããé¢çœãéšåãããã¯ã¢ããããŠçŽ¹ä»ããŠãããŸãðž
Git ã®ãäœæ³ãå®çããããïŒ
第ïŒç« ããããã¡ãªã䜿ã£ãŠãã Git ã§ããã第ïŒç« 以éã¯ããŸã解説ã«åºãŠããªããªã£ãŠããŸããŸãðãã®ç« ã®äžã§ Git ã®äœæ³ããã£ããå®çããããã§ããðç¹ã«ãåç·šã®ãã£ãã¿ãŒ6ãGit Commit äœæ³ãã§ã¯ Railsãã¥ãŒããªã¢ã«ã«æžãããŠããæ¹æ³ãšãå®éã«äœ¿ãããŠããæ¹æ³ã®éãã解説ããŠãããã®ã§ã圹ã«ç«ã€ããšééããªãã§ãã
åããŠã®ãã¹ã
ãã¹ããšãããã®ã Railsãã¥ãŒããªã¢ã«ã§åããŠæžããšããæ¹ãå€ãã®ã§ã¯ãªãã§ããããïŒãããªæ¹ã«ãŽã£ãããªã®ããåç·šã®ãã£ãã¿ãŒ17ããã¹ããæžããããã§ãããã¹ãã¯ãã¥ãŒããªã¢ã«äžãã£ãšç¶ããŠããã®ã§ããããŸãã¯é£ããèããã«è§£èª¬ãèããªããæãåãããŠããã®ãããããã§ãã
ãã£ãã¿ãŒ19ãTDDã§éçºããããããã§ã¯ããã¹ãé§åéçºãšããæŠå¿µã«ã€ããŠåŠã¹ãŸããå®éã®éçºã§ã圹ç«ã€ãšãŠã倧äºãªèããªã®ã§ãå匷ã«ãªããŸããã
Let's ãªãã¡ã¯ã¿ãªã³ã°
Rails ã®äŸ¿å©ãªæ©èœã䜿ã£ãŠãã³ãŒããã©ãã©ãã³ã³ãã¯ãã«ããŠãããªãã¡ã¯ã¿ãªã³ã°âšäžäœã©ã®ããã«è¡ã£ãŠããã®ããåŸç·šã®ãã£ãã¿ãŒ5ãView ã®åé·ãæ¹åãããèŠãŠãããŸãããïŒ
ã³ãŒããå°ãããªã£ãŠããã®ã¯ããã£ããããŠãšãŠãæ°æã¡è¯ãã§ãã
ãã¹ããå ã«æžãïŒåŸã«æžãïŒ
å®éã®éçºäœéšè«ãå ã«ããã¹ãã«é¢ããçŸå Žã®èããç¥ãããšãã§ãã貎éãªè§£èª¬ãããã®ãåŸç·šã®ãã£ãã¿ãŒ10ãTDDã®çŽ¹ä»ãšãŸãšããã§ãã
æ©ããã¡ã«ãå®éã®éçºã§ã©ã®ããã«ãã¹ãã䜿ãããŠããã®ãç¥ããã®ã¯å¬ããã§ããïŒãã²ãã§ãã¯ããŠã¿ãŠãã ããð
ãŸãšã
第ïŒç« ã®çŽ¹ä»ããããã§ãããïŒ
çãŸãããŠã® Sample App ã«ããããã©ãã©ãæ©èœãè¿œå ãããŠããã®ã楜ãã¿ã§ããïŒã©ãããŠãåãããªãæããã€ãŸã¥ããŠããŸãäºããããšæããŸããããã®è§£èª¬åç»ãåŠç¿ã®æ¯ãã«ãªããã°å¹žãã§ãã
Railsãã¥ãŒããªã¢ã« ãã¬ãžã³ð ã®ä»ã®èšäºããèªã¿ã«ãªãããæ¹ã»ãã©ããŒã¯ãã¡ããããé¡ãããŸãðð
æ°ã«ãªãç®æãããã°ã30åç¡æèŠèŽãããããŸãã®ã§ããã²æå¹æŽ»çšããŠããã ããã°ãšæããŸãðžð