Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Ruby&Railsの最新技術動向と 今後の予想
Search
Yuichiro MASUI
September 06, 2013
Business
26
6.8k
Ruby&Railsの最新技術動向と 今後の予想
2013/09/06 Ruby&RailsBizCon - BOSS-CON JAPAN にて
http://www.boss-con.jp/rails/Ruby-RailsBizCon/
Yuichiro MASUI
September 06, 2013
Tweet
Share
More Decks by Yuichiro MASUI
See All by Yuichiro MASUI
Coding Agent用チケットシステム - ticket.sh
masuidrive
0
1
Vue/Nuxt tutorial for Sendai
masuidrive
0
170
ハッカソンで 作ったアプリを売却した話
masuidrive
0
660
DJ hands on for IT Engineers
masuidrive
1
180
自分の棚卸をして レジュメを書こう
masuidrive
5
2k
0から1ヶ月で DJになるまで
masuidrive
4
1.6k
Google Apps Scriptでbotを作る話
masuidrive
1
1.8k
Rails loves React
masuidrive
1
470
トレタの存在理由
masuidrive
0
200
Other Decks in Business
See All in Business
物流の専門家がお客様に伴走するサブスク型コンサルティング
mclogi
0
120
『ふりかえる力』を育み、メンバーの自走力を高める 1 on 1 / 1-on-1 sessions to foster self-reflection
tbpgr
1
820
フルカイテン株式会社 採用資料
fullkaiten
0
72k
家族アルバム みてね 事業紹介 / Our Business
familyalbum
5
45k
2025.08_中途採用資料.pdf
superstudio
PRO
2
79k
CSテラコヤ - 新規プロダクトの市場探索と顧客体験設 計 立ち上げのリアルをお話します 編 / CS Terracoya - Market exploration and customer experience design for new products - The reality of launching
kaminashi
0
170
malna-recruiting-pitch
malna
0
8.7k
開発生産性、なぜ測れない?指標不在の現状と実践的指標導入の鍵
takabow
0
130
Mercari-Fact-book_en
mercari_inc
2
27k
クリアル株式会社_会社概要
creal
PRO
0
880
パーソルイノベーション_会社案内
pinotalentbranding
1
31k
最適化向けLLMベンチマークの潮流
mickey_kubo
2
340
Featured
See All Featured
The Language of Interfaces
destraynor
160
25k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
15
1.6k
Embracing the Ebb and Flow
colly
87
4.8k
Rails Girls Zürich Keynote
gr2m
95
14k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
34
6k
How to Ace a Technical Interview
jacobian
279
23k
Docker and Python
trallard
45
3.5k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
9
780
Raft: Consensus for Rubyists
vanstee
140
7.1k
Six Lessons from altMBA
skipperchong
28
4k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
8
480
Transcript
Ruby&Railsͷ࠷৽ٕज़ಈͱ ࠓޙͷ༧ Yuichiro MASUI (masuidrive)
[email protected]
Friday, September 6, 13
•૿Ҫɹ༤Ұ - masuidrive •FrogApps, Inc / Toreta, Inc.ɹ •PukiWiki(2002), 10Rails
(2005), PingKing(2006), NIFTYࣾAbout me(2006), PhotoShare (2008) •Ex-Appcelerator (Titanium Mobile) Friday, September 6, 13
ϛΠϧ Friday, September 6, 13
MobiRuby Friday, September 6, 13
Friday, September 6, 13
RailsΛͬͨ͜ͱ ͋Δํ Friday, September 6, 13
RailsΛࣄͰ ͬͨ͜ͱ͋Δํ Friday, September 6, 13
RailsΛࣄͰ ͍ͬͯΔํ Friday, September 6, 13
Rails4Λࢼͯ͠Έͨํ Friday, September 6, 13
Railsͷྺ࢙Λ͓͞Β͍ Friday, September 6, 13
Ruby on Railsͷྺ࢙ • 2004/07 - ࠷ॳͷόʔδϣϯ • 2005/12 -
1.0 • 2007/12 - 2.0 • 2010/08 - 3.0 • 2013/07 - 4.0 Friday, September 6, 13
Rails 1ͷಛ • CoC - Convention over Configuration • DRY
- Don’t repeat yourself • MVC • Full stack • Generator / Scaffold • Write less code Friday, September 6, 13
Rails 1ͷ • ෆ҆ఆ • ͍ / ϝϞϦ৯͍ա͗ • ࣮ߦڥ͕গͳ͍
• ࣮͕গͳ͍ • RubyϓϩάϥϚ͕গͳ͍ Friday, September 6, 13
Rails 2ͷಛ • RESTful • XML -> JSON • ηΩϡϦςΟͷڧԽ
(CSRFରࡦͳͲ) • ଟݴޠରԠ • ύϑΥʔϚϯε (ΫΤϦΩϟογϡͳͲ) Friday, September 6, 13
Rails 2ͷ • Railsຊମ͕ෳࡶ͗͢Δ • ͍ • ϓϥάΠϯඇޓ • ڥߏங
(RubyGems) Friday, September 6, 13
Rails 2ϦϦʔεޙ • ৽͍͠ϑϨʔϜϫʔΫͷϦϦʔε • Merbͷ߹ྲྀ • Passenger • Heroku
Friday, September 6, 13
৽͍͠ϑϨʔϜϫʔΫ •Sinatra •Merb + DataMapper Friday, September 6, 13
Sinatra •͖ΘΊͯγϯϓϧͳϑϨʔϜϫʔΫ •routingɺϑΟϧλॲཧςϯϓϨʔτ Friday, September 6, 13
Merb+DataMapper • ϞδϡʔϧߏͷϑϨʔϜϫʔΫ • ςϯϓϨʔτΤϯδϯORMΛબ • ORM = DataMapper •
DataMapperύλʔϯΛఏڙ • Ϟσϧ=ςʔϒϧͰͳ͍ Friday, September 6, 13
Merb gets merged into Rails 3! Friday, September 6, 13
Merb͔Βಘͨͷ • Ϟδϡʔϧߏ • Plugin API • MatzRubyҎ֎ͷڥ(JRubyͳͲ)Ͱͷಈ࡞ Friday, September
6, 13
Passenger • ྑ͋͘Δ࣭ = RailsͬͯͲ͏ͬͯProduction ڥͰಈ͔͍͍ͤͷʁ • ApacheʹΈࠐΊΔmodule • ҰͭͷαʔόͰෳͷRails
appͷཧ༰қ Friday, September 6, 13
Rails 3ͷಛ • ϑϧελοΫ͕ͩϞδϡϥʔϒϧ • ActiveRecordͷ৽ΫΤϦΤϯδϯ (Arel) • ৽͍͠Routing engine
• Plugin API • Bundler Friday, September 6, 13
Rails 3ͷ • Ϟσϧ͕ް͘ͳΓ͗͢Δ • ύϥϝʔλड͚͠ͷηΩϡϦςΟ • Ϟσϧ == σʔλϕʔε
Friday, September 6, 13
3.1ϦϦʔε • 2011/08 (1ޙ) • 2.x࣌ͷޓੑഉআ • Asset Pipeline •
jQuery͕ඪ४ʹ Friday, September 6, 13
3.2ϦϦʔε • 2012/01 (6ϲ݄ޙ) • ։ൃڥͰͷߴԽ • SQLσόοάग़ྗ Friday, September
6, 13
Tokaido Friday, September 6, 13
Rails for Zombies Friday, September 6, 13
4.0ͷಛ • Ruby 1.9.3Ҏ্ / 2.0Ҏ্ਪ • Strong Parameters •
Turbolinks • Russian Doll Caching • Live streaming • େ͖ͳδϟϯϓແ͠ Friday, September 6, 13
WyeWorks blog Friday, September 6, 13
WyeWorks blog Friday, September 6, 13
WyeWorks blog Friday, September 6, 13
WyeWorks blog Friday, September 6, 13
WyeWorks blog Friday, September 6, 13
Ruby 2.0 • ϝδϟʔόʔδϣϯΞοϓ • RubyConf 2001ͰطʹRuby 2.0ͷ • 20ࡀͷੜͳͷͰ2.0ϦϦʔε
Friday, September 6, 13
Ruby 2.0 • ύϑΥʔϚϯε্ • σϑΥϧτΤϯίʔσΟϯά • γϯλοΫεͷՃ • ΩʔϫʔυҾ
• Module::prependɹ • Enumerable#lazy Friday, September 6, 13
http://itpro.nikkeibp.co.jp/article/NEWS/20130214/456322/ Friday, September 6, 13
ύϑΥʔϚϯε্ • Virtual Machine • Garbage Collection • require Friday,
September 6, 13
৽γϯλοΫε • Javascript෩Hash • { key1: ‘A’, key2: 123 }
• ΩʔϫʔυҾ • def func1(paramA: ‘A’, paramB: ‘B’) • func1(paramB:’C’) Friday, September 6, 13
mruby • ܰྔRuby - 2012/4ॳެ։ • ISO/JISΛݩʹͨ͠৽͍͠Ruby࣮ • ϝϞϦCPUࢿݯ͕গͳ͍ڥͰಈ͘Ruby •
ຊମߦ2ສઍߦ Friday, September 6, 13
mrubyԠ༻ྫ • WebαʔόΛRubyͰ੍ޚ͢Δ • Apache - mod_mrubyɹ • Nginx -
ngx_mrubyɹ • mrubyͰiOSΞϓϦΛॻ͘ • MobiRuby Friday, September 6, 13
Friday, September 6, 13
4.1Ҏ߱ • ඇಉظॲཧ - Queue APIɺAsyncMailer • ςετपΓͷڧԽΛٻΊΔଟ͍ Friday, September
6, 13
େ͖ͳ Friday, September 6, 13
Upgrade • ຖόʔδϣϯΞοϓ • ͳͥUpgrade͢Δͷ͔? • ৽͍͠όʔδϣϯ҆ఆ͍ͯ͠Δ͔ • ίʔυͷॻ͖͑Ͳͷఔඞཁ͔ Friday,
September 6, 13
ͳͥUpgrade͢Δͷ͔? • ࠷৽ͷRails͕࠷ߴͷRails • ϓϥάΠϯͳͲ࠷৽൛ʹ͚ͯϦϦʔε͞ΕΔ͜ ͱ͕ଟ͍ • όʔδϣϯΛඈͯ͠Upgradeେม Friday, September
6, 13
όʔδϣϯै • Rails 4.0.xRails 3.xͱͷޙํޓͷҝͷϝιου͕ ఆٛ͞Ε͍ͯΔ͕ɺRails 3.4.xͰফ͞ΕΔ • Rails 3.2.x
-> Rails 3.1.xͷUpgrade͍͠ Friday, September 6, 13
RailsৗʹมԽ͢Δ • ඇޓΛڪΕͳ͍ • ͍͖ͳΓม͑ͣʹ४උظؒΛઃ͚Δ • ΞοϓσʔτΛଓ͚Δ Friday, September 6,
13
։ൃڥ • ςετେࣄ • ਖ਼ৗܥͷػೳςετ͚ͩͰॻ͘ • Continues IntegrationͰࣗಈతʹςετΛճ͢ Friday, September
6, 13
पลαʔϏε • ࣮ߦڥ - AWS, Heroku, Engine Yard • ϞχλϦϯά
- New Relic • ςετ - SauceLabs, Appium • ίʔσΟϯά - GitHub • ϓϩδΣΫτཧ - PivotalTracker, Friday, September 6, 13
Friday, September 6, 13
Rails 4.0ΛͬͨΞϓϦྫ Friday, September 6, 13
Friday, September 6, 13
Friday, September 6, 13
ࡶͳϝϞΛ Ͳ͏ʹ͔͍ͨ͠ Friday, September 6, 13
ϝϞΞϓϦͷ՝ • ͍ͭͰɺͲ͜Ͱ • ཷ·ͬͨϝϞͷཧ • ॻ͍ͨ͜ͱΛΕΔ • ͏ಡ·ͳ͍ϝϞͷॲཧ Friday,
September 6, 13
ཉ͍͠ϝϞாΞϓϦ • ϓϩάϥϚͳΒMarkdown • gmailΈ͍ͨͳArchive • ΧϨϯμʔϏϡʔ • શจݕࡧ •
ΩʔϘʔυΦϖϨʔγϣϯ Friday, September 6, 13
͍ͭͰʹ • ࣗ༻͚ͩͲެ։લఏͰ • ϦϦʔε͢ΔͳΒӳޠͰ͠ΐ • υϝΠϯऔͬͪΌ͓͏ • ͬͨ͜ͱͳ͍ٕज़Λ͓͏ Friday,
September 6, 13
جຊػೳ2Ͱ • ೝূGithubͱFacebook • ςετ݉ͶͯRails 4.0.0RC + Ruby 2.0 •
JavascriptBackbone.js + HTML5 storage Friday, September 6, 13
2013/05/05 Friday, September 6, 13
৽͍ٕ͠ज़ • Rails 4 + Ruby 2.0 • capybara +
rspec • backbone.js • HTML5 AppCache • localStorage • sessionStorage • Google App Script • Chrome extension • Analytics Measure API • Pay for Heroku Friday, September 6, 13
Friday, September 6, 13
ຖࣗͰ͏ҝʹ • αʔόͷӡ༻ࣗͰ͠ͳ͍ • όοΫΞοϓશࣗಈ • ܰ͘ಈ͘ Friday, September 6,
13
Friday, September 6, 13
Friday, September 6, 13
Friday, September 6, 13
Friday, September 6, 13
Google App Script 7,000 users / 700 weekly active users
Friday, September 6, 13
Wrap up • RailsৗʹมԽΛ͢Δ -> มԽΛड͚ೖΕΔ • Ruby 2.0Ͱݴޠͱͯ͠ͻͱ·ͣͷ •
Rubyͷద༻ൣғ͕͍ͬͯ͘ Friday, September 6, 13