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
Play と Scala のこれまでとこれから
Search
Toshiyuki Takahashi
May 24, 2014
1
2.1k
Play と Scala のこれまでとこれから
Play meetup (2014/05/24) での挨拶的なスライドです。
Toshiyuki Takahashi
May 24, 2014
Tweet
Share
More Decks by Toshiyuki Takahashi
See All by Toshiyuki Takahashi
Purely Functional Programming with Cats Effect 3 and Scala 3 [ScalaMatsuri2022]
tototoshi
0
5.6k
scala-ojisan
tototoshi
0
120
5年ぶりにPHPを書いた話
tototoshi
0
290
Steps to master the Play source code
tototoshi
1
460
flyway-play
tototoshi
2
2.1k
Template Engines in Scala
tototoshi
1
3.8k
Featured
See All Featured
A Philosophy of Restraint
colly
203
16k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
656
59k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
665
120k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
17
2.2k
Why You Should Never Use an ORM
jnunemaker
PRO
54
9.1k
Visualization
eitanlees
146
15k
Measuring & Analyzing Core Web Vitals
bluesmoon
4
170
The Cost Of JavaScript in 2023
addyosmani
45
7k
What's in a price? How to price your products and services
michaelherold
243
12k
Code Reviewing Like a Champion
maltzj
520
39k
Speed Design
sergeychernyshev
25
670
Bash Introduction
62gerente
608
210k
Transcript
Play ͱ Scala ͷ͜Ε·Ͱͱ͜Ε͔Β
2010
#rpscala ελʔτ • Scala ࠓΑΓͣͬͱϚΠφʔͩͬͨ • ͳΜ͔ Twitter ͕ͬͯΔΒ͍͠ •
ͳΜ͔ 4sq ͕ • ͳΜ͔ LinkedIn ͕
None
Lift > Play • Play ͳʹͦΕͬͯײͩͬͨ͡ • Scala ͱݴ͑ Lift
Lift • View-First • MVC ʹ͖࢝Ί͍ͯͨ͜ΖɺະདྷΛײ͡Δ
Lift • API ͕͍͠ • ͬͺࣗʹ Scala ແཧͳͷ͔ɺͱ୭ ͕ࢥ͏ •
࣮ࡍ Lift ͷ API ͕ಠಛͳ͚ͩ
Lift • υΩϡϝϯτ͕Γͳ͍ͷͰٽ͖ͳ͕Βιʔ εΛಡΉ • Θ͔Βͳ͍… • ࣮ࡍ Lift ͷιʔε͕(ry
(#ůŖ_Ŗ)ů ~ᵲᴸᵲ
Wicket • Java ͷ Web ϑϨʔϜϫʔΫΛ Scala Ͱ͏ • Wicket
͕ൺֱతਓؾͩͬͨؾ͕͢Δ • ͦͷ͏ͪ Scala Ͱศརͳͷ͕ग़Δͱ͍͍ͳ͋
ࠞಱ • ͦͦৄ͍͠ਓ͕͍ͳ͍ • sbt, dispatch Λݟͯࠔ • ษڧձΛ͕ͯٙ͠શ͘ղܾ͠ͳ͍ •
ʑͱͯ͠ؼΔ
Scala ౦
Scala ౦ • ຖि༵৴ • ࡂͰ։࠵͞Εͳ͘ͳΔ·Ͱ113ճ։࠵
2011
None
yabe • Play ͷαϯϓϧΞϓϦͷ͋Ε • Scala Ͱී௨ʹ MVC ͢ΕΑ͔ͬͨͷ͔ʂ •
Ͱ·ͩ ʮJava ͷϑϨʔϜϫʔΫʯײ
ͬͺΓ Play ·ͩ·ͩͩΑͶʙ
None
–Goro Inogashira “΄ʔ͍͍͡Όͳ͍͔ɹ͜͏͍͏ͷͰ͍͍ ΜͩΑ͜͏͍͏ͷͰ”
͜Ε͍͚Δʂ • ͍͚Δؾ͕͢Δʂ • Scalate ͋Δ͠ʂ • ORM …·͋ͳΜͱ͔ͳΔΑʂ
2012
Play! Framework 2.0
Play 2.0 • ͍ͭʹ Scala ʹϑϧελοΫ MVC ϑϨʔϜ ϫʔΫ͕ !
1MBZग़ͨΜͰ͔͢ʂ ͏-JGUΘͳͯ͘ྑ͍ΜͰ͔͢ʂ
None
όάͬͯΔ͡Όͳ͍Ͱ͔͢ʂ
None
ΊͬͪΌόάͬͯͨ • Play 1.x ܥϢʔβʔൃڰ
Play pull req Λڭ͑ͯ͘Εͨ • (” ՞ਊ ՞)”ແཧཧྑ͍ʹͯ͠Δ •
ਓபͬͯ͜͏͍͏͜ͱͩͬͨͷ͔ɻ • ͋ɺόάοͯΔɻͳΔ΄ͲͳΔ΄Ͳʙɻ • ࠓόά౿ΜͰͳ͍ͳɻௐࢠग़ͳ͍ͳʙɻ
ͦΕͰ Play Λͬͨ • ϞμϯͳWeb։ൃΛࢦ͍ͯͨ͠ • less ͱ͔ coffee ͱ͔
websocket ͱ͔ • ඇಉظΧοίΠΠ • ͬͺΓܕ҆શΠΠωʂ
ͪΐͬͱΓ্͕Δ • ڞ௨ͷFW͕Ͱ͖ͯͰͭͳ͕Γ͕૿͑Δ • Java Ϣʔβʔ͕ Scala ίϛϡχςΟʹࢀઓ
Made in Japan ૿͑Δ • play-memcached • scalikejdbc • nscala-time
• play20-auth
2013
4DBMB$POGFSFODFJO+BQBO
Scalaconf ͱͳΜͩͬͨͷ͔ • James Roper ͞Μͷ Play ϥΠϒίʔσΟϯά • Play
͛͢ʔʂ • ͍·ͯΑɺ͜Ε͍͢͝ͷ IDEA Ͱ ??
200ਓ͖ͨ • ※༗ྉΠϕϯτͰ͢ • ͨͿΜ Play ͳ͠Ͱ͜Μͳʹू·Βͳ͔ͬͨ
Play ͕ఆண࢝͠ΊΔ • ͳΜ͔ͩΜͩͰΈΜͳ׳Ε͖ͯͨ • ͩΜͩΜ҆ఆ͖ͯͨ͠ • ͘͢͝ྑ͍Θ͚Ͱͳ͍͚Ͳɺ͏·͍ͬͯ͘ ͚Δײ •
पลϥΠϒϥϦख़࢝͠ΊΔ (Slick, Scalikejdbc)
2014
Play ͢Ͱʹఆ൪
Scala ͱݴ͑ Play • Scala Λ࢝ΊΔਓ͕࠷ॳʹ৮Δͷ͕ Play
devsumi
DwangoɺPHP ΊΔͬͯΑ
ʮPlay2/ScalaͰυϝ ΠϯۦಈઃܭΛར༻͠ ͨେنWebΞϓϦ έʔγϣϯͷεΫϥϜ ։ൃͷצॴʯ
͟Θ…͟Θ… • ※ ࢲ devsumi ߦͬͯ·ͤΜ • PHP ͷձࣾ͟Θ͟Θͯ͠·ͨ͠
Dwango ͕ Scala ͬͯΔ ͕ͬͭΓ
͚ͩ?
ؾ͍ͨΒΈΜͳͬͯΔ
ͦΖͦΖϚΠφʔͰͳ͍
ίϛϡχςΟ͋Δ
ڭ͑ͯΒ͑Δ
Γ͍ͨ͜ͱ จ๏ ࣮༻త ӡ༻ ϕετϓϥΫςΟε
Yak Shaving
Productive
Play 2.3 ग़Δ͜ͱͩ͠
ͱ͍͏Θ͚Ͱ
Play meetup ΑΖ͓͘͠ئ͍͠·͢