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
Side Projects
sachag
452
42k
Docker and Python
trallard
42
3.2k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
49k
How STYLIGHT went responsive
nonsquared
96
5.2k
Put a Button on it: Removing Barriers to Going Fast.
kastner
59
3.6k
The Straight Up "How To Draw Better" Workshop
denniskardys
232
140k
Designing on Purpose - Digital PM Summit 2013
jponch
116
7k
Designing for Performance
lara
604
68k
Practical Orchestrator
shlominoach
186
10k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
26
1.9k
A designer walks into a library…
pauljervisheath
205
24k
Building a Modern Day E-commerce SEO Strategy
aleyda
38
7k
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 ΑΖ͓͘͠ئ͍͠·͢