$30 off During Our Annual Pro Sale. View Details »

Rails開発のひみつ

 Rails開発のひみつ

Akira Matsuda

October 05, 2015
Tweet

More Decks by Akira Matsuda

Other Decks in Programming

Transcript

  1. Rails։ൃͷͻΈͭ @a_matsuda

  2. self

  3. I am a Matsuda ☕ GitHub: amatsuda ☕ Twitter: a_matsuda

  4. Ruby & Rails ☕ Ruby։ൃऀ ☕ Rails։ൃऀ

  5. Railsίϛολʔ ☕ ݱ࣌఺Ͱ͸೔ຊͰ͸ࣗ෼͚ͩ

  6. Asakusa.rb

  7. RubyKaigi 2015 =͟ ͟͞͞

  8. begin

  9. Rails ☕ 2004೥ʹެ։ ☕ BasecampΛ։ൃͨ͠ࡍͷ
 ج൫෦෼ ☕ Opinionated Software ☕

    ಠࡋऀλΠϓͷOSS
  10. ಠࡋऀ ☕ DHH

  11. (༏͘͠ͳ͍)ಠࡋऀ ☕ DHH

  12. DHH ☕ ઃܭͷηϯεɺόϥϯεײ֮ ☕ ৽͍͠ύϥμΠϜΛऔΓೖΕΔઌݟͷ໌ ☕ ίʔυ΋ॻ͚Δ ☕ ݴ༿ͷηϯεɺจষྗɺӳޠͷϥΠςΟϯά͕΍ͨΒ͏·͍(σϯϚʔΫ ਓ)ɺ໊ݴͷ਺ʑ

    ☕ ϓϨθϯೳྗ ☕ Ԍ্ྗɺέϯΧͷڧ͞ ☕ Πέϝϯ ☕ ए͞ ☕ ελʔτΞοϓͰ੒ޭɺۚ࣋ͪ
  13. DHH ☕ झຯͰϨʔε
 => ϧϚϯͰ༏উ

  14. RailsνʔϜ ☕ 32ਓ͙Β͍ ☕ ଟࠃ੶νʔϜ ☕ https://github.com/orgs/ rails/teams/committers

  15. Contributors ☕ http://contributors.rubyonrails.org/ ☕ 4088ਓ(2015೥10݄5೔ݱࡏ) ☕ ࣹ޾৺ΛἤΔϥϯΩϯάαΠτ ☕ ίϛολʔͱϢʔβʔͷ͍͋ͩʹ͍Δ ਓʑ

    ☕ ։ൃͷݪಈྗɺ͋Δ͍͸ओ໾
  16. ίϯτϦϏϡʔλʔͱ
 ίϛολʔͷ෼୲

  17. ίϛολʔͷ͓͠͝ͱ ☕ PRΛϨϏϡʔͯ͠Ϛʔδ͢Δ ਓ

  18. ίϯτϦϏϡʔλʔͷ
 ͓͠͝ͱ ☕ ίϛολʔ͕ॻ͍ͨࡶͳίʔ υͷ͋Β୳͠Λͯ͠ΫΦϦ ςΟΛߴΊΔ

  19. ίϛολʔͷ͍ͪ͹Μେࣄͳ ͓͠͝ͱ ☕ ৽ػೳΛࢥ͍͍ͭͨΒ੎͍Ͱ ࡶͳίʔυΛͿͪࠐΉ

  20. ׬੒౓͸௿͍͚Ͳ੎͍͸͋Δ ࡶͳίʔυ ☕ DHH͸ຊ౰ʹ͜Ε͕͏·͍

  21. GitHub Rails

  22. 2008೥4݄ ☕ GitHubͷਖ਼ࣜެ։ͱ΄΅ಉ ࣌ʹRailsͷެࣜϦϙδτϦΛ GHʹҠߦ

  23. GitHubࣗମ͕RailsͰ
 ࡞ΒΕ͍ͯΔ

  24. RubyίϛϡχςΟͷۭલͷ
 GitϒʔϜͷՐ෇͚໾

  25. ʮιʔγϟϧίʔσΟϯάʯ ☕ “ιʔγϟϧίʔσΟϯάͱ ͸ʮίϛολ֊ڃʹΑΔΞϯ γϟϯɾϨδʔϜͷ่յʯͩ” ☕ http://qa-it.tumblr.com/post/ 42010504223

  26. Rails ιʔγϟϧίʔσΟϯά ☕ ຽऺͷྗΛ͏·͘ར༻

  27. ॊೈͳϓϥάΠϯػߏͱ༏ल ͳύοέʔδ؅ཧγεςϜ ☕ RubyGems, Bundlerʹࢧ͑Β Ε͍ͯΔΤίγεςϜ ☕ GHͰ୭Ͱ΋ؾܰʹެ։Ͱ͖Δ ☕ ଟछଟ༷ͳgemϥΠϒϥϦ

  28. ։ൃ΁ͷࢀೖͷෑډͷ௿͞ ☕ ΞϓϦέʔγϣϯͱಉ͡ݴޠɺεΫϦϓτ ݴޠ ☕ ΞϓϦέʔγϣϯͱϑϨʔϜϫʔΫ͕׬શ ʹ஍ଓ͖ ☕ ΞϓϦͷػೳ։ൃதʹσόοά͍ͯ͠Δ͏ ͪʹɺ͍ͭͷؒʹ͔RailsͷόάΛ௚͍ͯͨ͠

    Γ͢Δ
  29. ΄ͲΑ͍յΕ۩߹

  30. ૸Γଓ͚Δ͜ͱ ☕ ރΕͳ͍ɻ૸Γଓ͚Δɻ
 ઢ࿏ͩ͠ɻిंͩ͠ɻ

  31. WEBϓϩάϥϛϯάͷ৽͍͠
 ύϥμΠϜͷ࣮ݧ৔ • CoC • DRY • Generator • TDD

    • plugins • JS framework (Prototype) • Ajax • REST • BDD • Integration Testing • CI • Asset Pipeline • Alt JS (CoffeeScript) • Pjaxతͳ (Turbolinks) • App Preloader (Spring) • Micro Services
  32. ৽͍͠ίʔυ͕ϞϦϞϦೖΔ ☕ ݹ͍ίʔυ͸ΨγΨγ
 ࣺͯΒΕΔ

  33. ޓ׵ੑΛੵۃతʹഁյ ☕ ݹ͍όʔδϣϯͷRubyͷ
 αϙʔτΛΨϯΨϯ੾Δ ☕ ෗ͬͨػೳΛੵۃతʹ
 ࣺͯڈΔ

  34. ৽όʔδϣϯͷχϡʔεʹ
 ΈΜͳ஫໨ͤ͟ΔΛಘͳ͍

  35. ·ͱΊ - Rails։ൃͷͻΈͭ ☕ ༏लͳΧϦεϚಠࡋऀ ☕ ΩϝΔͱؾ͍͍࣋ͪϓϩάϥϛϯάݴޠ ☕ ιʔγϟϧίʔσΟϯάΛἤͬͯຽऺͷྗΛར༻ ☕

    ܭըతͳ։ൃίϛϡχςΟͮ͘Γ ☕ RailsΫΦϦςΟͷ඼࣭(ී௨ʹ࢖ͬͯΔͱ೔ৗతʹό ά͕౿ΊΔఔ౓) ☕ ޓ׵ੑͳΜͯ
  36. end