ApplivにRealmを導入した話

 ApplivにRealmを導入した話

5c7e719825efd10bca38b800a8b0d685?s=128

Yuki Funakoshi

January 28, 2016
Tweet

Transcript

  1. "QQMJWח3FBMN׾ 㼪Ⰵ׃׋鑧

  2. 荈䊹稱➜ :VLJ'VOBLPTIJ !CM@MJB  /:-&*OD "OESPJEJ04&OHJOFFS

  3. ،آؑٝت ˖ "QQMJWחאְג ˖ 㼪Ⰵך穗箮 ˖ ׉ך䖓ך鑧 ˖ ➙䖓װ׶׋ְֿה

  4. None
  5. Appliv ֶׅׅ׭؝ًٝز׾⚺䕵ה׃׋ծ ِ٦ؠ٦⿫⸇㘗،فٔ稱➜؟٦ؽأ ְ׹׿זِ٦ؠ٦ֶָׅׅ׭׃גְ ׷،فٔ׾鋅׷ֿהָדֹ׷

  6. Appliv 䎃剢״׶،فٔꂁ䋒Ꟛ㨣 "OESPJE晛כ䎃剢ח
 㸣Ⰻ3FBMN⻉ J04晛׮㣐鿇ⴓ׾3FBMN⻉

  7. 㼪Ⰵך穗箮

  8. "DUJWF"OESPJE儗➿ ثٍطٕ邌爙 ̕ 42-JUFַ׵《䖤 ̕ זֽ׸ל"1*ַ׵《䖤 ̕ ؿ؍٦س׾刿倜

  9. "DUJWF"OESPJE儗➿ 饯⹛儗חⰋؕذ؞ٔⴓ 《䖤׃׋ְ %#פך剅ֹ鴥׫⚥ח 铣׫鴥׫ָדֹזְ ׌ָ׃ַ׃

  10. UI DB Background transaction start write data transaction end query

    data receive data Ⳣ椚ך崧׸ ֿך꟦ծ6*כ姺ת׏׋ תת
  11. UI DB Background transaction start write data transaction end query

    data receive data query data receive data Ⳣ椚ך崧׸ 劤䔲כֲֿ׃׋ְ
  12. Feed User Recommend Application User Recommend Application Realm SQLite ϑΟʔυ

    ΞϓϦ Ϣʔβʔ Feed
  13. 3FBMN㼪Ⰵ ˖ زٓٝؠؙءّٝ⚥ד׮铣׫鴥׫ָ⳿勻׷״ֲח ז׏׋ ˖ .7$$ .VMUJ7FSTJPO$PODVSSFODZ$POUSPM  ˖ زٓٝؠؙءّٝꟚ㨣儗חծ植ٔهآزٔךأ

    شحفءّحز׾⡲䧭׃גְ׷׵׃ְ ˖ 剅ֹ鴥׫׮׭׏׍ׯ傍ְ
  14. ׉ך䖓ךכז׃ ˖ ،فٔך鏣鎘׾ַ׵鋅湫׃ג⡲׶湫׃׋ ˖ ׉ךꥷחծ㸣Ⰻ3FBMN⻉ ˖ 3FBMNכٍؗحءُ㼔欽

  15. Android Clean Architecture https://github.com/android10/Android-CleanArchitecture

  16. 㾴،٦ؗذؙثٍ https://github.com/android10/Android-CleanArchitecture

  17. ٍؗحءُ؝ٝزٗ٦ٕ Factory Class cached? Disk Data Store API Data Store

    Disk Data Cache API Realm RealmObject
  18. ٍؗحءُ㼔欽ךًٔحز ˖ 歗꬗⩎ך鿪さדر٦ة鏣鎘ָדֹ׷ ˖ أؗ٦وך㢌刿ָ遤ְװְׅ ˖ EFMFUF3FBMN*G.JHSBUJPO/FFEFE  ˖ 3FBMN0CKFDUךⵖ秈׾剑㼭ꣲחדֹ׷

    ˖ 3FBMN0CKFDUחTFUUFSHFUUFS⟃㢩ךًاحس׾
 剅ֽזְ㉏겗
  19. 䠬䟝 ˖ ٌغ؎ٕ暴剣ךِ٦أ؛٦أח3FBMNכوحث׃ג ׷ ˖ 歗꬗鿪さדر٦ة鏣鎘׾׃װְׅ ˖ ٍؗحءُ㼔欽הⶴ׶ⴖ׏ג⢪ֲה֮ת׶㔭׵זְ