みんなのReactiveX

 みんなのReactiveX

CAMPHOR- x KMC 合同LT会 (2015/03/24)
@morishin127

(スライド内のリンクはPDFでダウンロードすれば押せるはずです)

15eae2890b2ed6c7505b036cd7d16c60?s=128

Shintaro Morikawa

March 27, 2015
Tweet

Transcript

  1. ΈΜͳͷReactiveX CAMPHOR- x KMC ߹ಉLTձ
 2015/03/24
 
 @morishin127

  2. ↑CAMPHOR-

  3. ࣗݾ঺հ • @morishin127 • ژ౎େֶ޻ֶ෦৘ใֶՊ4ճ • • େଔ • TNKݚͩͬͨ

    • ͱ͔
  4. ΈΜͳͷReactiveX

  5. ReactiveX FRP (Functional Reactive Programming) Λ࣮ݱ͢ΔͨΊͷϥΠϒϥϦ

  6. ReactiveXͷ࣮૷

  7. ReactiveXͷΠϝʔδ • σʔλ, ΠϕϯτͳΜͰ΋ετϦʔϜͱͯ͠ݟΔ • จࣈྻ, ഑ྻ, ΫϦοΫΠϕϯτ, etc. •

    ετϦʔϜʹର͢Δศརoperator͕ͨ͘͞Μ!! • map, reduce, filter, etc. http://reactivex.io/
  8. • ΫϦοΫΠϕϯτ • ഑ྻ → Πϕϯτؒͷ͕࣌ؒ΄΅0ͷετϦʔϜ • ୯ҰΦϒδΣΫτ → Πϕϯτ͕1ճͰ׬ྃ͢ΔετϦʔϜ

    http://reactivex.io/documentation/operators.html
  9. (ྫ)ΫϦοΫճ਺Λ਺͑Δ ΫϦοΫΠϕϯτͷετϦʔϜ͔Β ΫϦοΫճ਺ͷετϦʔϜ΁ࣸ͢       

     NBQ  TDBO
  10. ෳ਺ճΫϦοΫͷݕग़ https://gist.github.com/staltz/868e7e9bc2a7b8c1f754

  11. ඇಉظ௨৴ https://www.zweitag.de/en/blog/technology/functional-reactive-programming-frp

  12. Androider͸RxJavaͰೖ໳ • ͱΓ͋͑ͣίϨΫγϣϯૢ࡞ͷͨΊʹಋೖ • δϟοό͸Iteratorʹmap, reduce, filter౳͕࢖͑ͳ͍ • IteratorΛετϦʔϜʹม׵ͯ͠ίϨΫγϣϯૢ࡞㽉㽉 •

    ϥϜμ͕ࣜແͯ͘ͱͯ΋ͭΒ͍ͷͰretrolambdaͱ
 Ұॹʹ࢖͏ͱྑͦ͞͏ • ׳Ε͖ͯͯϝϦοτ͕ײ͡ΒΕͨΒඇಉظ௨৴ ΍Ϗϡʔૢ࡞ʹ΋࢖ͬͯΈΑ͏͔ͳ?
  13. ࢀߟϦϯΫ • FRP • ʲ຋༁ʳ͋ͳ͕ͨٻΊ͍ͯͨϦΞΫςΟϒϓϩάϥϛϯάೖ໳ - ninjinkun's diary • Functional

    Reactive Programming (FRP) - Blog - Zweitag • ReactiveX (ຊՈ) • neue cc - RxJava NightৼΓฦΓʢReactive Extensionsͷྺ࢙ʣ • RxJava • RxJavaֶशͷϕετϓϥΫςΟεͬΆ͍΋ͷ // Speaker Deck • Grokking RxJava (Dan Lew Codes) • Part 1: The Basics • Part 2: Operator, Operator • Part 3: Reactive with Benefits • εϚʔτϑΥϯΞϓϦͰϦΞΫςΟϒϓϩάϥϛϯάΛ͍ͯ͠Δ͕ɺ PromiseͱσʔλόΠϯσΟϯάͱͯ͠࢖͍ͬͯΔ - ninjinkun's diary