Upgrade to Pro — share decks privately, control downloads, hide ads and more …

ReactiveProperty を使ったアプリの設計に Realm Xamarin を組み合わせる

ReactiveProperty を使ったアプリの設計に Realm Xamarin を組み合わせる

2017/03/19 Realm World Tour
Demo Project: https://github.com/iseebi/RP-CleanArchitecture-Demo

Nobuhiro Ito

March 19, 2017
Tweet

More Decks by Nobuhiro Ito

Other Decks in Technology

Transcript

  1. 7JFX 1SFTFOUFS 6TF$BTF 5SBOTMBUPS .PEFM %BUB4UPSF &OUJUZ 3FQPTJUPSZ IUUQRJJUBDPNLPVUBMPVJUFNTBGDGBEFDED ը໘දࣔɾΠϕϯτͷ1SFTFOUFS΁ͷ௨஌

    7JFXͱ6TF$BTFͷؒͰͷσʔλ΍ΓͱΓ ඞཁͳϩδοΫΛॻ͘ͱ͜ΖɻσʔλͷऔಘͳͲɻ 3FQPTJUPSZ͔Βग़͖ͯͨ&OUJUZΛ.PEFMʹม׵͢Δ 7JFXͰ࢖༻͢ΔͨΊʹ࠷దԽͨ͠σʔλϞσϧ υϝΠϯ૚ͱσʔλ૚ͷ*' 6TF$BTFͰ࢖༻͢Δσʔλͷ$36%ॲཧΛ୲౰ σʔλΛ࣮ࡍʹऔಘߋ৽͢Δ σʔλ૚Ͱ࢖༻͢ΔσʔλϞσϧ
  2. 7JFX 1SFTFOUFS 6TF$BTF %BUB4UPSF &OUJUZ 3FQPTJUPSZ 4FSWJDF όοΫάϥ΢ϯυ͔Β஋Λม͑Δॲཧ )551ϙʔϦϯάɺ8FC4PDLFUͰͷมԽ 

    %BUB4UPSFΛ௚઀ૢ࡞͢Δ͜ͱʹͨ͠ ˞"OESPJEଆͰ*OUFOU4FSWJDFͱ͔ͱ͔ͿΔ͔Β8PSLFSʹ͢΂͖ͩͬͨ
  3. 7JFX 7JFX.PEFM 4DFOF %BUB4UPSF .PEFM 3FQPTJUPSZ 4FSWJDF ͜Ε·Ͱݟ֮͑ͷ͋Δ໊લʹม͑ͨ ɾ1SFTFOUFS͸͜Ε·Ͱͷ7JFX.PEFM૬౰ͷಈ͖ ɾ&OUJUZ͸͜Ε·Ͱͷ.PEFM૬౰ͷಈ͖

    ɹ 7JFXҎ্΋͜ΕΛͦͷ··ར༻͢Δ  ɾ6TF$BTF͸࢖͍͍ͬͯϫʔυ͔ͪΐͬͱࣗ৴ͳ͔ͬͨ ɹͷͰɺ৽͘͠4DFOF໊ͬͯલΛ͚ͭͨ
  4. 3FBDUJWF1SPQFSUZͷΑ͍ͱ͜Ζ w 31ʹ஋Ληοτ͢Δͱ3YετϦʔϜʹ஋͕ྲྀΕΔ Θ͔Γ΍͍͢  w *0CTFSWBCMF5ΛͳΜͰ΋3FBDUJWF1SPQFSUZʹͰ͖Δ 5P3FBDUJWF1SPQFSUZ ศར 

    w 3FBDUJWF1SPQFSUZ4FMFDU YBOZ 5P3FBDUJWF1SPQFSUZ ͱ͍͏ͷ΋Մೳ w ͦͷ··7JFXΦϒδΣΫτʹόΠϯσΟϯάͰ͖Δ 4FU#JOEJOH  w J04ͷࠓͷόʔδϣϯ͸յΕ͍ͯΔ मਖ਼13ϚʔδࡁΈ
  5. 7JFX 7JFX.PEFM 4DFOF %BUB4UPSF .PEFM 3FQPTJUPSZ 4FSWJDF %BUB4UPSFΛ࠷Լ૚ͱͯ͠ Լ૚ͷ3FBDUJWF1SPQFSUZΛ ্૚͔Β4VCTDSJCF͢Δ

    Լ૚ͷ஋Λ্૚ʹఏڙ͢Δ΋ͷ͸5P3FBDUJWF1SPQFSUZ͢Δ ͜ͷਤͰ͸ 4FSWJDF͚ͩ͸ٯͳͷͰ஫ҙ
  6. ࢖͍ํ w 3FBMN(FU*OTUBODF ͰΠϯελϯεΛऔΔɻ w SFBMN"MM*UFN8IFSF ʜ ͱ͍ͬͨɺ
 $Ϣʔβʔʹ͸͓ͳ͡Έͷ-*/2ͰߜΓࠐΈՄೳ w

    ຤ඌʹ4FMFDUॻ͖ͨ͘ͳΔͷ͕͓໿ଋͰ͕͢ɺ
 ͦͷ··ͩͱ/PU*NQMFNFOUFE&YDFQUJPO͕ฦͬͯ͘ΔͷͰ
 Ұ౓5P-JTUͰྻڍ͢Δඞཁ͋Γɻ ύϑΥʔϚϯεɾ݅਺஫ҙ