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
6.8k
scala-ojisan
tototoshi
0
130
5年ぶりにPHPを書いた話
tototoshi
0
320
Steps to master the Play source code
tototoshi
1
500
flyway-play
tototoshi
2
2.1k
Template Engines in Scala
tototoshi
1
3.9k
Featured
See All Featured
Site-Speed That Sticks
csswizardry
10
790
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
RailsConf 2023
tenderlove
30
1.2k
Designing for Performance
lara
610
69k
Bootstrapping a Software Product
garrettdimon
PRO
307
110k
Speed Design
sergeychernyshev
32
1.1k
Thoughts on Productivity
jonyablonski
69
4.8k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.8k
Building a Scalable Design System with Sketch
lauravandoore
462
33k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
26k
Building Applications with DynamoDB
mza
96
6.6k
Docker and Python
trallard
45
3.5k
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 ΑΖ͓͘͠ئ͍͠·͢