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
What's in a price? How to price your products and services
michaelherold
243
12k
Java REST API Framework Comparison - PWX 2021
mraible
PRO
28
8.2k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
246
1.3M
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
226
22k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.3k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
47
5k
Unsuck your backbone
ammeep
668
57k
Being A Developer After 40
akosma
86
590k
Faster Mobile Websites
deanohume
305
30k
Fontdeck: Realign not Redesign
paulrobertlloyd
82
5.2k
Building a Scalable Design System with Sketch
lauravandoore
459
33k
Put a Button on it: Removing Barriers to Going Fast.
kastner
59
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 ΑΖ͓͘͠ئ͍͠·͢