Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Oedo 07

Akira Matsuda
September 15, 2018

Oedo 07

Asasakusa.rb設立10周年記念講演@大江戸Ruby会議07のスライド http://regional.rubykaigi.org/oedo07 #oedo07

Akira Matsuda

September 15, 2018
Tweet

More Decks by Akira Matsuda

Other Decks in Programming

Transcript

  1. (10.years.ago..)

    .step(1.week) {

    Asakusa.rb.meetup! }
    @a_matsuda at େߐށRubyձٞ07

    View full-size slide

  2. Asakusa.rbͷ10೥Λ

    ;Γ͔͑Δ࿩

    View full-size slide

  3. Asakusa.rbઃཱ
    ⚡10.years.ago == 2008೥

    View full-size slide

  4. Asakusa.rbΛͳͥ࡞͔ͬͨʁ
    ⚡Death to ษڧձ
    ⚡͖͔͚͕ͬ͋ͬͨ
    ⚡Seattle.rbϦεϖΫτ

    View full-size slide

  5. Asakusa.rbΛͳͥ࡞͔ͬͨʁ
    ⚡Death to ษڧձ
    ⚡͖͔͚͕ͬ͋ͬͨ
    ⚡Seattle.rbϦεϖΫτ

    View full-size slide

  6. ʮษڧձʯશ੝࣌୅
    ⚡Railsษڧձ@౦ژ ͱ͔

    View full-size slide

  7. ʮษڧձർΕʯ
    ⚡ษڧ΋͏๞͖ͨ
    ⚡ษڧͨ͘͠ͳ͍

    View full-size slide

  8. Ruby͸ͨͷ͍͠
    ⚡ษڧ͸ͨͷ͘͠ͳ͍

    View full-size slide

  9. ʮษڧձʯ͡Όͳ͍

    ू·Γ͸ͳ͍΋ͷ͔
    ⚡΋ͬͱ७ਮʹָ͠Έ͍ͨ

    View full-size slide

  10. ແ͍͔Βࣗ෼Ͱ

    ࡞Δ͔͠ͳ͔ͬͨ

    View full-size slide

  11. ࣗ෼͕΍Γ͔ͨͬͨ͜ͱ
    ⚡ਓʹձ͍͔ͨͬͨ
    ⚡ΦϑϥΠϯͰਓʹձ͍͔ͨͬͨ
    ⚡ΦϑϥΠϯͰRubyistʹձ͍ͨ
    ͔ͬͨ

    View full-size slide

  12. ࣗ෼͕΍Γ͔ͨͬͨ͜ͱ
    ⚡ίϛϡχςΟ

    View full-size slide

  13. ͳͷͰɺࣗ෼͸Asakusa.rbΛ
    ॳΊͯ޾ͤʹͳΓ·ͨ͠

    View full-size slide

  14. ͍ͭ·Ͱ΋ษڧͱ͔΍ͬͯΔ
    ΍ͭ͸Ӭԕʹγϩ΢τ

    View full-size slide

  15. ͱ͔ݴ͍͍ͨ

    Θ͚͡Όͳͯ͘ɺ

    View full-size slide

  16. ษڧձ vs ίϛϡχςΟ
    ⚡ೳྗ΍εΩϧͷࠩͰ͸ͳͯ͘ɺ
    ϕΫτϧͷҧ͍

    View full-size slide

  17. ษڧ͡Όͳͯ͘

    ԿΛ͢Δͷ͔ʁ
    ⚡ʮΞ΢τϓοτʯΛ͔ͨͬͨ͠

    View full-size slide

  18. Asakusa.rbͰ

    ΍Γ͔ͨͬͨ͜ͱ
    ⚡ษڧձ: Πϯϓοτ
    ⚡Asakusa.rb: Ξ΢τϓοτ

    View full-size slide

  19. Ξ΢τϓοτͬͯͳΜͩʁ
    ⚡ύονΛॻ͘͜ͱ
    ⚡զʑ͸ϓϩάϥϚʔͳͷͰ

    View full-size slide

  20. Asakusa.rbΛͳͥ࡞͔ͬͨʁ
    ⚡Death to ษڧձ
    ⚡͖͔͚͕ͬ͋ͬͨ
    ⚡Seattle.rbϦεϖΫτ

    View full-size slide

  21. ͖͔͚ͬ͸RubyKaigi 2008

    View full-size slide

  22. ઃཱϝϯόʔ
    ⚡@kakutani
    ⚡@ko1
    ⚡me

    View full-size slide

  23. ઃཱͷԸਓ @darashi
    ⚡͋Γ͕ͱ͏ʂʂ

    View full-size slide

  24. Asakusa.rbΛͳͥ࡞͔ͬͨʁ
    ⚡Death to ษڧձ
    ⚡͖͔͚͕ͬ͋ͬͨ
    ⚡Seattle.rbϦεϖΫτ

    View full-size slide

  25. ϦεϖΫτ
    ⚡RubyϢʔβʔ͸ΈΜͳSeattle
    ʹ଍Λ޲͚ͯ৸ΒΕͳ͍͸ͣ

    View full-size slide

  26. ʮϋϒώϩʯ

    View full-size slide

  27. ୈ0ճmeetup: drbrainʹ㘤͚!
    ⚡https:/
    /asakusarb.esa.io/
    posts/16

    View full-size slide

  28. ୈ1ճmeetup
    ⚡ύονΛॻ͍ͨ

    View full-size slide

  29. ͱ͍͏͔ɺ
    ⚡ύονͷॻ͖ํΛڭ͑ͯ΋Βͬ
    ͨ

    View full-size slide

  30. ੒Ռ
    ⚡Railsʹॳίϛοτ

    View full-size slide

  31. 2008೥7݄
    ⚡Ruby on RailsͷRuby 1.9ରԠ
    ύον

    View full-size slide

  32. ͸͡Ίͯͷ"Contribution"

    View full-size slide

  33. ͪͳΈʹࢲࣄͰ͕͢ɺ
    ⚡͸͡Ίͯͭͳ͕ΓͰ΋͏1ͭ

    View full-size slide

  34. ͜ͷ೥ͷ9݄
    ⚡ୈ1ࢠ(່)͕஀ੜ

    View full-size slide

  35. Asakusa.rb͸

    ͏ͪͷ່ͱಉ͍೥
    ⚡ୈ1ࢠ஀ੜͱ͍͏େࣄͳ࣌ظ
    ʹɺ͜Μͳ׆ಈΛ࢝Ίͤͯ͘͞Ε
    ͨՈ଒ʹ͸ײँ͔͠ͳ͍

    View full-size slide

  36. Meetup
    ⚡Ruby Tuesday meetup
    ⚡ຖिՐ༵೔ʹͲ͔͜ʹू·Δ
    ⚡ϓϨθϯͱ͔΍Βͳ͍
    ⚡ӡӦΛ(๻͸)͕Μ͹Βͳ͍

    View full-size slide

  37. ͜ͷ͜Ζಛʹࣗ෼͕

    meetupͰ΍ͬͯͨ͜ͱ
    ⚡RailsͷRuby 1.9ରԠ
    ⚡RailsͷI18nରԠ
    ⚡RailsϓϥΪϯΛॻ͍ͨΓ

    View full-size slide

  38. ࠷ॳʹ࡞ͬͨRailsϓϥΪϯ
    ⚡i18n_generators

    View full-size slide

  39. ͸͡Ίͯ࡞ͬͨRailsϓϥΪϯ
    ⚡Rails 2.2ͷ৽ػೳ"Rails I18n"ͷ
    missing pieceΛຒΊΔͬ͛͢ʔ
    ศརͳ΍ͭ
    ⚡࣮͸ݱࡏ࠷৽ͷRails 5.2Ͱ΋͍
    ·ͩʹͪΌΜͱಈ͍ͯΔ

    View full-size slide

  40. Asakusa.rbͰ࡞ͬͨ΋ͷ
    ⚡kaminari

    View full-size slide

  41. Rails 3Ͱಈ࡞͢Δpagination
    ϓϥάΠϯ͕ແ͔ͬͨ
    ⚡ͷͰ࡞ͬͨ
    ⚡͚Ͳ໊લ͕ࢥ͍͔ͭͳ͔ͬͨͷ
    Ͱͳ͔ͳ͔ϦϦʔεͰ͖ͳ͔ͬͨ

    View full-size slide

  42. @hsbt͞Μʹ૬ஊͨ͠Βɺ
    ⚡ʮΜʔɺ"Kaminari"ͱ͔

    Ͳ͏͔͢ʁʯͬͯݴΘΕͨ

    View full-size slide

  43. ࡞ͬͨϥΠϒϥϦͷ໊લ͕
    ࢥ͍͔ͭͳ͔ͬͨΒ
    ⚡Asakusa.rbʹ࣋ͬͯ͘Δͱɺ

    ୭͔͕͍͍ײ͡ʹ(ΩϥΩϥͨ͠)
    ໊લΛ͚ͭͯ͘ΕΔ͔΋͠Ε·ͤ
    Μ

    View full-size slide

  44. Asakusa.rbͰ࡞ͬͨ΋ͷ
    ⚡action_args

    View full-size slide

  45. ʮ஍ҬRubyίϛϡχςΟʯ

    ͱͯ͠ͷAsakusa.rb
    ⚡Asakusa஍Ҭͷ޿͕Γ

    View full-size slide

  46. Asakusa.rb.map
    ⚡ࣗݾ঺հͷ෭࢈෺
    ⚡ϝϯόʔ෼෍ਤ

    View full-size slide

  47. ੈքதʹϝϯόʔ͕ʂ
    ⚡ΞϑϦΧେ཮ͱೆۃେ཮Ҏ֎͸
    ͍͍ͩͨઙ૲

    View full-size slide

  48. ੈքதͷϝϯόʔͨͪ
    ⚡ࠓ೔ͷͨΊʹɺੈքதͷϝϯόʔ
    ͔ͨͪΒϝοηʔδΛ௖͍ͯ·͢

    View full-size slide

  49. ϝϯόʔ͔ͨͪΒͷ

    ϝοηʔδ
    ⚡Fabio
    ⚡José
    ⚡Justin
    ⚡Aaron

    View full-size slide

  50. େߐށRubyձٞ

    View full-size slide

  51. Asakusa.rbϝϯόʔͨͪ

    ʹΑΔʮੜ׆ൃදձʯ
    ⚡ීஈͷ׆ಈͷ੒ՌΛൃද͢Δ৔
    ⚡ͳʹ͔ΊͰ͍ͨ͜ͱ͕͋Δͱ

    ։࠵͞ΕΔ

    View full-size slide

  52. େߐށRubyձٞ
    ⚡01: 100ճ໨ͷmeetupΛه೦ͯ͠
    ⚡02: ୡਓ͕དྷͨͷͰ
    ⚡03: 200ճ໨ͷmeetupΛه೦ͯ͠
    ⚡04: 256ճ໨ͷmeetupΛه೦ͯ͠
    ⚡05: ໿400ճ໨ͷmeetupΛه೦ͯ͠ʁ͚ͩͬʁ
    ⚡06: sora_h͞Μੜ஀20प೥Λॕͬͯ
    ⚡07: ઃཱ10प೥ʂ

    View full-size slide

  53. େߐށRubyձٞ01
    ⚡2011೥
    ⚡αΠτ͸࠺͕σβΠϯ

    View full-size slide

  54. ͜ͷ೥ͷ11݄
    ⚡ୈ2ࢠ(ଉࢠ)͕஀ੜ

    View full-size slide

  55. େߐށRubyձٞ͸

    ͏ͪͷଉࢠͱಉ͍೥
    ⚡ୈ2ࢠ஀ੜͱ͍͏େࣄͳ࣌ظ
    ʹɺ͜ΜͳΠϕϯτʹ͖ͭ͋ͬͯ
    ͘ΕͨՈ଒ʹ͸ײँ͔͠ͳ͍

    View full-size slide

  56. ͦ͏ͩɺAsakusa.rbʹ

    ߦ͜͏ʂ

    View full-size slide

  57. ݁ہɺAsakusa.rbͱ͸

    Կͳͷ͔ʁ

    View full-size slide

  58. ʮษڧձͰ͸ͳ͍

    ίϛϡχςΟʯ
    ⚡ͬͯ10೥ؒͣͬͱݴ͍ଓ͚͖ͯ
    ͚ͨͲɺ͍·͍ͪҰ෦ͷਓʹ͔͠
    ఻Θͬͯͳ͍ײ͕͢͡Δ
    ⚡͍·ͩʹʮษڧձʯݺ͹ΘΓ

    ͞ΕΔ͠

    View full-size slide

  59. ͜ΕΛػʹߟ͑ͯΈͨ

    View full-size slide

  60. ษڧ͡Όͳ͍ͳΒ

    ͍͍ͬͨԿͳͷ͔ʁ

    View full-size slide

  61. ࠓ೔͸ָ͔ͬͨ͠Ͱ͔͢ʁ

    View full-size slide

  62. ָ͔ͬͨ͠Ͱ͠ΐʁ
    ⚡Rubyͷ࿩ͬͯͨͷ͍͠ΜͰ͢Α

    View full-size slide

  63. Ruby == ͨͷ͍͠

    View full-size slide

  64. ͨͷ͍͠ == ༡ͼ

    View full-size slide

  65. Asakusa.rb͸ʮ༡ͼʯͰ͢

    View full-size slide

  66. Asakusa.rbͰ͸ɺຖिՐ༵೔
    ʹΈΜͳͰ༡ΜͰ·͢

    View full-size slide

  67. Asakusa.rb͸ɺRubyͰ΋ͬͱ
    ༡ͼ͍ͨํΛ׻ܴ͠·͢ʂ

    View full-size slide