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
既存のプロジェクトに、Firestoreを導入してみた
Search
sun54907
January 24, 2018
Technology
1
1.1k
既存のプロジェクトに、Firestoreを導入してみた
sun54907
January 24, 2018
Tweet
Share
More Decks by sun54907
See All by sun54907
CreateMLを使ってサクラを判定しよう | iOSDC 2018 LT
sun54907
1
930
stackViewを使ってボタンをつくった話
sun54907
0
950
Introducing Password AutoFill
sun54907
1
530
3年間作り続けて来たアプリをSwift化した話
sun54907
0
6.6k
Other Decks in Technology
See All in Technology
The Role of Developer Relations in AI Product Success.
giftojabu1
0
140
Exadata Database Service on Dedicated Infrastructure(ExaDB-D) UI スクリーン・キャプチャ集
oracle4engineer
PRO
2
3.2k
100 名超が参加した日経グループ横断の競技型 AWS 学習イベント「Nikkei Group AWS GameDay」の紹介/mediajaws202411
nikkei_engineer_recruiting
1
170
アジャイルチームがらしさを発揮するための目標づくり / Making the goal and enabling the team
kakehashi
3
150
Taming you application's environments
salaboy
0
200
OTelCol_TailSampling_and_SpanMetrics
gumamon
1
220
組織成長を加速させるオンボーディングの取り組み
sudoakiy
2
220
心が動くエンジニアリング ── 私が夢中になる理由
16bitidol
0
100
マルチプロダクトな開発組織で 「開発生産性」に向き合うために試みたこと / Improving Multi-Product Dev Productivity
sugamasao
1
310
Introduction to Works of ML Engineer in LY Corporation
lycorp_recruit_jp
0
140
プロダクト活用度で見えた真実 ホリゾンタルSaaSでの顧客解像度の高め方
tadaken3
0
200
IBC 2024 動画技術関連レポート / IBC 2024 Report
cyberagentdevelopers
PRO
1
120
Featured
See All Featured
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
27
840
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
126
18k
Build The Right Thing And Hit Your Dates
maggiecrowley
33
2.4k
Producing Creativity
orderedlist
PRO
341
39k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
93
16k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
131
33k
Practical Orchestrator
shlominoach
186
10k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
25
1.8k
YesSQL, Process and Tooling at Scale
rocio
169
14k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
28
9.1k
Building a Scalable Design System with Sketch
lauravandoore
459
33k
Rails Girls Zürich Keynote
gr2m
94
13k
Transcript
طଘͷϓϩδΣΫτʹ FirestoreΛಋೖͯ͠Έͨ
ࣗݾհ ւ (ג)ϚονϯάΤʔδΣ ϯτ @sun54907 ͳΊ͜
None
TL;DR ͜ͷεϥΠυͷํ๏Λ͑؆୯ɻ2ͰͰ͖Δɻ https://speakerdeck.com/corin8823/torte-state β൛ͳͷͰɺಈ࡞อো͞Εͳ͍͜ͱʹҙ
͡Ίʹ
ಋೖ͖͔͚ͨͬ͠
None
ͬͨ͜ͱ νʔϜʹ͔ΕͯɺͦΕͧΕ͕ීஈͰ͖ͳ͍͜ͱ ʹऔΓΜͩ ࢲͷνʔϜɺϦΞϧλΠϜ௨৴Λ࣮͢Δ
πʔϧબ ࣗલͰwebsocketΛ࣮ ֎෦αʔϏεΛ͏ Realm Mobile Platform Firebase Realtime Database
ɺൃੜ
ࣗલͰwebsocket࣮େมͦ͏… ֎෦αʔϏεʹϝοηʔδͷݸਓใΛࡌͤΔ ͷ৺… طଘͷΈΛͨ͠··ɺສ͕Ұͷ߹ͤ ΔΑ͏ʹ͓͖͍ͯͨ͠
ղܾࡦ
None
IUUQTTQFBLFSEFDLDPNDPSJOUPSUFTUBUF ޙʮߘͷঝೝʯҎ߱ͷ
ϝοηʔδͷ৽ண݅Λ֎෦αʔϏεʹอଘ ΫϥΠΞϯτͦͷΛࢹ αʔόʔଆͰ৽ண݅ΛΠϯΫϦϝϯτ ΫϥΠΞϯτͦΕΛݕͯ͠ɺapiΛୟ͍ͯߋ৽
ϝοηʔδͷ৽ண݅Λ֎෦αʔϏεʹอଘ ΫϥΠΞϯτͦͷΛࢹ αʔόʔଆͰ৽ண݅ΛΠϯΫϦϝϯτ ΫϥΠΞϯτͦΕΛݕͯ͠ɺapiΛୟ͍ͯߋ৽
ͱ͍͏Θ͚Ͱ
طଘͷϓϩδΣΫτʹ FirestoreΛಋೖͯ͠Έͨ
None
Firebase Cloud Firestore ϞόΠϧɺΣϒɺαʔόʔ։ൃʹରԠͨ͠ɺॊೈ Ͱεέʔϥϒϧͳσʔλϕʔε ΦϑϥΠϯରԠ ߋ৽ΛϦΞϧλΠϜͰ௨ Firebase Realtime Database
ͷޙܧ ·ͩЌ൛
https://firebase.google.com/ docs/firestore/?hl=ja
બΜͩཧ༝ Firebaseฐࣾͷ΄͔ϓϩδΣΫτͰͬͯΔ Firebaseͷ΄͔ͷػೳ͍͍ͨ β൛ͩͱͯ͠ɺ৽͍͠ػೳΛͬͨํ͕ࠓޙָ ࠷ѱɺແ͘ͳͬͯͳ͍
طଘϓϩδΣΫτʹ ಋೖ͢Δ࣌ͷϙΠϯτ
ϙΠϯτ ৽ண͚݅ͩΛFireStoreʹอଘ ϢʔβʔೝূΛαʔόʔͰߦ͏
Ϣʔβʔೝূ
ೝূ Firebase ͷ Auth Λ͏ αʔόʔ͔ΒΧελϜτʔΫϯΛൃߦ͠ɺͦΕΛ ͬͯΫϥΠΞϯτͰAuthೝূΛߦ͏
None
None
None
None
None
࣮
None
None
None
None
None
·ͱΊ
·ͱΊ ͜ͷํ๏Λ͑؆୯ɻ2ͰͰ͖Δɻ https://speakerdeck.com/corin8823/torte-state β൛ͳͷͰɺಈ࡞อো͞Εͳ͍͜ͱʹҙ
͝੩ௌ ͋Γ͕ͱ͏͍͟͝·ͨ͠