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.5k
scala-ojisan
tototoshi
0
120
5年ぶりにPHPを書いた話
tototoshi
0
280
Steps to master the Play source code
tototoshi
1
450
flyway-play
tototoshi
2
2.1k
Template Engines in Scala
tototoshi
1
3.8k
Featured
See All Featured
How to Ace a Technical Interview
jacobian
276
23k
How to train your dragon (web standard)
notwaldorf
88
5.7k
A designer walks into a library…
pauljervisheath
204
24k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
10
730
Faster Mobile Websites
deanohume
305
30k
Facilitating Awesome Meetings
lara
50
6.1k
Designing for Performance
lara
604
68k
Designing for humans not robots
tammielis
250
25k
Reflections from 52 weeks, 52 projects
jeffersonlam
346
20k
Intergalactic Javascript Robots from Outer Space
tanoku
269
27k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
329
21k
Imperfection Machines: The Place of Print at Facebook
scottboms
265
13k
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 ΑΖ͓͘͠ئ͍͠·͢