The World of Ruby

76a777ff80f30bd3b390e275cce625bc?s=47 Akira Matsuda
September 28, 2015

The World of Ruby

プログラマーのための「Rubyの世界」の発表スライド http://forkwell.connpass.com/event/20332/

76a777ff80f30bd3b390e275cce625bc?s=128

Akira Matsuda

September 28, 2015
Tweet

Transcript

  1. Rubyͷੈք @a_matsuda

  2. self

  3. GitHub: amatsuda

  4. Twitter: a_matsuda

  5. Rubyίϛολʔ

  6. Railsίϛολʔ

  7. Railsίϛολʔ •೔ຊͰ͸ࣗ෼͚ͩ

  8. Rubyίϛολʔ && 
 Railsίϛολʔ •ੈքதͰ2ʙ3ਓ͙Β͍

  9. Asakusa.rb

  10. RubyKaigi 2015 •νʔϑɾΦʔΨφΠβʔ

  11. ޷͖ͳϝιου •Module#prepend

  12. ޷͖ͳFZ •Freak Out!

  13. 3೥લͷσϒαϛʹͯ

  14. begin

  15. 1. Rubyฤ

  16. ΦϒδΣΫτࢦ޲εΫϦϓτ ݴޠRuby

  17. Rubyͷ࡞ऀ •Matz

  18. Matz •·ͭ΋ͱΏ͖ͻΖ

  19. Matzʹ͍ͭͯ •Matz is nice.

  20. Rubyͷઃܭ •७ਮͳΦϒδΣΫτࢦ޲ݴޠ •εΫϦϓτݴޠ •։ൃऀʹͱͬͯಡΈ΍͍͢ʗ ॻ͖΍͍͢

  21. Rubyͷݩωλ •Ruby = Lisp + Smalltalk + Perl + C

    •(RubyKaigi 2013 جௐߨԋΑΓ)
  22. Rubyͷྺ࢙ •1993೥2݄14೔

  23. Rubyͷ։ൃମ੍ •ྺ୅ίϛολʔͷ૯ਓ਺͸ 80ਓ͙Β͍ʁ •ࠓͰ΋ΞΫςΟϒͳͷ͸50 ਓ͙Β͍ʁ

  24. ϑϧλΠϜίϛολʔ •ੈքதͰ3໊

  25. ύτϩϯ •Heroku (= SalesForce)

  26. Rubyͷ೔ʑͷվྑͷ͔ͳΓͷ෦ ෼͸ถSFࣾͷࢧԉͷ͓͔͛Ͱ͢

  27. SalesForce͋Γ͕ͱ͏ɺͱ
 ݴΘ͟ΔΛಘͳ͍ •ʮࠃ࢈ݴޠʯʁ

  28. RubyͷϦϦʔεαΠΫϧ •2.0Ҏ߱͸ɺຖ೥1ճΫϦεϚ ε͝ΖʹػցతʹϦϦʔε͢ Δ͜ͱʹͨ͠

  29. Rubyͷࠓޙͷ
 ϦϦʔεϓϥϯ •2015೥ΫϦεϚε: 2.3.0 •2016೥ΫϦεϚε: 2.4.0 •2017೥ΫϦεϚε: 2.5.0 •ɾɾɾ •20XX೥ΫϦεϚε:

    3.0.0
  30. Rubyist •Matzࣗ਎ʹΑΔ଄ޠ

  31. Rubyist •“rubyʹରͯ͠୯ͳΔ͓٬͞ ΜҎ্ͷؾ࣋Λ͍࣋ͬͯΔਓ ͕rubyistͰ͢” http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-list/ 2908

  32. Rubyist Magazine •௨শΔͼ· •Rubyist Hotlinksͱ͍͏
 ΠϯλϏϡʔ͕͓͢͢Ί http://magazine.rubyist.net/?0001-Hotlinks

  33. Rubyist-ist •RubyistѪ޷Ոͷ͜ͱ •ϛʔϋʔ

  34. RubyKaigi •೥ʹ1౓͙Β͍ੈքதͷRubyist ͕Ұಊʹձ͢ΔࠃࡍΧϯϑΝ Ϩϯε •ࠓ೥͸12݄ʹ։࠵ http://rubykaigi.org/2015

  35. 2. Railsฤ

  36. Railsͷ࡞ऀ •DHH

  37. DHH •David Heinemeier Hansson

  38. Railsͷઃܭࢥ૝ •CoC •DRY

  39. Railsͷྺ࢙ •2004೥͙Β͍ʹެ։։࢝

  40. Railsͷ։ൃମ੍ •https://github.com/orgs/ rails/teams/committers •ͨͿΜ32ਓ͙Β͍

  41. RailsͷϦϦʔεαΠΫϧ •ෆఆظ •͍͍͍͍ͩͨײ͡ʹ৽ػೳ͕ ग़ἧ͖ͬͯͯػ͕ख़͖ͯͨ͠ Βग़͢

  42. RailsͷࠓޙͷϦϦʔεϓϥϯ •5.0: Fall 2015 (͍ͬͯ͏͜ͱ ʹͳͬͯΔ͚ͲͨͿΜग़ͳ ͍…)

  43. 3. Why Ruby?

  44. Ruby ❤ Social Coding

  45. ιʔγϟϧɾίʔσΟϯά (GitHub) •։ൃऀಉ͕࢜ιʔείʔυΛ ౤͛߹ͬͯίϛϡχέʔγϣ ϯΛऔΓ߹͏SNS

  46. Ruby •։ൃऀʹͱͬͯಡΈ΍͍͢ݴ ޠ

  47. Ruby ❤ Social Coding

  48. RubyGems & Bundler ͱ͍͏ ༏ΕͨύοέʔδγεςϜ •ϥΠϒϥϦඦՖ៶ཚͷ࣌୅ʹ ͸ඞਢͷ࢓૊Έ

  49. ৽͍͠΋ͷͨͪ͸Ruby ίϛϡχςΟ͔Β΍ͬͯ͘Δ •CoCϑϨʔϜϫʔΫ •Ajax •BDD •CI •Asset Pipeline •etcetc.

  50. ύϥμΠϜͷస׵఺ʹ ಉ࣌୅ʹཱͪձ͑Δָ͠Έ

  51. RubyίϛϡχςΟ

  52. MINASWAN •"Matz is Nice And So We Are Nice" https://en.wikipedia.org/wiki/MINASWAN

  53. *.rb •Seattle.rb 2001೥͙Β͍ʙ •Asakusa.rb 2008೥ʙ

  54. ࠷ۙͷট଴ߨԋཤྺ •2012/12/07 RubyConf Taiwan •2013/06/08 RedDot RubyConf •2013/07/20 LoneStar RubyConf

    •2013/09/28 RubyShift •2014/03/23 RubyConf India •2014/09/27 Rails Pacific •2014/11/04 Rails Israel •2015/03/05 Ruby on Ales •2015/03/09 MountainWest RubyConf •2015/05/16 Modern Web Taiwan
  55. 4. Railsͱ࢓ࣄͱOSS

  56. OSSΛ࢓ࣄͰ࢖͏ͱ ָ͕Ͱ͖Δʂʁ

  57. OSSΛ࢓ࣄͰ࢖͏ •ڊਓͷݞʹ৐Δ

  58. ೲ඼෺ͷେ෦෼͸୭͔಄ͷ ྑ͍ਓ͕ॻ͍ͯ͘Εͨ΋ͷ

  59. ڊਓͷݞʹ৐Δ •νʔτ

  60. ͏·͘΍Ε͹ָ͕Ͱ͖Δ

  61. OSSΛ࢓ࣄͰ࢖͏֮ޛ •ࣗ෼͕બΜͩOSS΋ΞϓϦ έʔγϣϯͷҰ෦

  62. ࣗ෼͕ॻ͍ͨΞϓϦέʔγϣ ϯͱOSSͷڥք

  63. ࣗ෼͕ॻ͍ͨΞϓϦέʔγϣ ϯͱOSSͷڥք •ڥքͳΜͯͳ͍

  64. ଞਓͷόάΛҾ͖ड͚Δ֮ ޛ •ސ٬ʹର͢Δ੣࣮͞

  65. શ෦ΦʔϓϯͳͷͰݴ͍༁ ͸Ͱ͖ͳ͍ •ࣗ෼ͰબΜͩ΋ͷ͸ࣗ෼Ͱ
 ੹೚Λ࣋ͭ

  66. ͡Ό͋Ͳ͏͢Δʁ •ιʔείʔυ͸શ෦໨Λ௨͢ ͷ͕ཧ૝ •ͤΊͯࣗ෼͕౿Μͩόά
 ͙Β͍͸࣏͢

  67. ʮOSSʹߩݙʯ •ͦΜͳཱ೿ͳ΋ͷ͡Όͳͯ͘ •ΰϛ͕མͪͯͨΒर͏Έ͍ͨ ͳ΋Μ

  68. ؾ͕͍ͭͨΒதͷͻͱʹͳͬ ͯͨΓ͢Δ

  69. OSSͷόʔδϣϯ

  70. ʮރΕͨόʔδϣϯʯ
 ͳΜͯແ͍

  71. όά΋ηΩϡϦςΟϗʔϧ ΋શͯΦʔϓϯ

  72. ৗʹ࠷৽ͷ΋ͷΛ࢖͏ •Ξοϓσʔτͷίετ͸ͬ͠ ͔Γ෷͏ •͍ͭͰ΋ΞοϓσʔτͰ͖Δ Α͏ʹE2EςετΛ͔ͬ͠Γ ॻ͍͓ͯ͘

  73. ৗʹ࠷৽ͷ΋ͷΛ࢖͏تͼ •਺ʑͷ৽ػೳ •ύϑΥʔϚϯεͷ޲্

  74. ϑϨογϡͳόά͕౿ΊΔ ָ͠Έ

  75. 5. Rubyͷา͖ํ

  76. Ұ࣍৘ใΛݟΔ

  77. RailsͳΒ౰વӳޠͷ΋ͷ͔͠ ͳ͍

  78. WEB+DB 58߸ͱ74߸Λআ͘ (DVDങ͑·͢)

  79. Ruby͸ίΞ෦෼ʹؔ͢ΔҰ࣍৘ใ͕೔ ຊޠͰखʹೖΔ།ҰͷϓϥοτϑΥʔϜ

  80. Δͼ·

  81. RubyKaigi 2015

  82. ஍ҬRubyձٞ •େߐށRubyձٞ05 ΍Γ·͢

  83. Asakusa.rb

  84. ॻ੶

  85. Rails Tutorials

  86. 12݄ͷRubyKaigi

  87. νέοτ͸2ສʙ3ສ •Rubyʹؔ͢Δੈք࠷ߴๆͷ ࠃࡍΧϯϑΝϨϯεʹඈߦػ ʹ৐Βͳͯ͘΋ࢀՃͰ͖Δ •εϐʔΧʔʹͳΕ͹λμ

  88. 12݄ͷRubyKaigiʹདྷͯͶ

  89. end