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
Firebaseのデータ更新のススメ
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
hiro-nagami
June 19, 2019
Programming
0
340
Firebaseのデータ更新のススメ
hiro-nagami
June 19, 2019
Tweet
Share
More Decks by hiro-nagami
See All by hiro-nagami
ReactでAtomic Design
hiro3
2
76
Other Decks in Programming
See All in Programming
【卒業研究】会話ログ分析によるユーザーごとの関心に応じた話題提案手法
momok47
0
200
Basic Architectures
denyspoltorak
0
680
「ブロックテーマでは再現できない」は本当か?
inc2734
0
1k
副作用をどこに置くか問題:オブジェクト指向で整理する設計判断ツリー
koxya
1
610
インターン生でもAuth0で認証基盤刷新が出来るのか
taku271
0
190
AI巻き込み型コードレビューのススメ
nealle
2
650
要求定義・仕様記述・設計・検証の手引き - 理論から学ぶ明確で統一された成果物定義
orgachem
PRO
1
190
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
600
責任感のあるCloudWatchアラームを設計しよう
akihisaikeda
3
180
Apache Iceberg V3 and migration to V3
tomtanaka
0
170
Fluid Templating in TYPO3 14
s2b
0
130
生成AIを使ったコードレビューで定性的に品質カバー
chiilog
1
270
Featured
See All Featured
Raft: Consensus for Rubyists
vanstee
141
7.3k
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.2k
The Art of Programming - Codeland 2020
erikaheidi
57
14k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
Bash Introduction
62gerente
615
210k
SEO for Brand Visibility & Recognition
aleyda
0
4.2k
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
0
260
A Soul's Torment
seathinner
5
2.3k
Everyday Curiosity
cassininazir
0
130
The #1 spot is gone: here's how to win anyway
tamaranovitovic
2
940
Transcript
Firebase Firestore σʔλߋ৽ͷϙΠϯτ
FIREBASEͷσʔλߋ৽ͷεεϝ ࣗݾհ
FIREBASEͷσʔλߋ৽ͷεεϝ ࠓͷςʔϚ Firebase DBΛͬͯͯ ߋ৽ϩδοΫͰ٧·ͬͨ
FIREBASEͷσʔλߋ৽ͷεεϝ ҎԼͷΑ͏ͳػೳΛ࣮ ཧऀ Ճϝϯόʔ ❶ ট ❷ ࢀՃ άϧʔϓ
FIREBASEͷσʔλߋ৽ͷεεϝ FirebaseͰDBΛ ΞϓϦ͔Βߋ৽Ͱ͖Δ
FIREBASEͷσʔλߋ৽ͷεεϝ FirebaseͰDBΛ ΞϓϦ͔Βߋ৽Ͱ͖Δ αʔόʔͷࣝͳͯ͘ ؆୯ʹσʔλ͕Ճɾߋ৽Ͱ͖Δ
FIREBASEͷσʔλߋ৽ͷεεϝ ఆ͢Δσʔλߏ Ϣʔβʔ - Id: ϢʔβʔID - Name: Ϣʔβʔ໊ -
JoinedGroup: ࢀՃ͍ͯ͠Δάϧʔϓ άϧʔϓ - Id: άϧʔϓID - Admin: ཧऀͷϢʔβʔID - Members: ࢀՃ͍ͯ͠ΔϝϯόʔͷID - Invited: টதͷϢʔβʔID
FIREBASEͷσʔλߋ৽ͷεεϝ ྲྀΕ άϧʔϓཧऀ ࢀՃऀ DB ❶ টϦετʹՃ Group => Invited
❷ ট௨ ❸ ঝ - ࣗͷࢀՃάϧʔϓՃ User => GroupsʹάϧʔϓIDՃ - άϧʔϓͷϝϯόʔʹࣗΛՃ Group => MembersʹϢʔβʔIDՃ
FIREBASEͷσʔλߋ৽ͷεεϝ DBͷηΩϡϦςΟઃఆ ↑ཧऀҎ֎ߋ৽Ͱ͖ͳ͍ // Ϣʔβʔ // άϧʔϓ
FIREBASEͷσʔλߋ৽ͷεεϝ ηΩϡϦςΟͷઃఆ͢Δͱɻɻ άϧʔϓཧऀ ࢀՃऀ DB ❶ টϦετʹՃ Group => Invited
❷ ট௨ ❸ ঝ - ࣗͷࢀՃάϧʔϓՃ User => GroupsʹάϧʔϓIDՃ - άϧʔϓͷϝϯόʔʹࣗΛՃ Group => MembersʹϢʔβʔIDՃ Ͱ͖ͳ͍ʂʂ
FIREBASEͷσʔλߋ৽ͷεεϝ άϧʔϓཧऀ ࢀՃऀ DB ❶ টϦετʹՃ ❷ ট௨ COULD FUNCTIONS
ADMIN ❸ ঝ Firebase Cloud FunctionsΛͬͯadminͰॻ͖ࠐΉ ❹ ॻ͖ࠐΈ
FIREBASEͷσʔλߋ৽ͷεεϝ DBͷηΩϡϦςΟઃఆ ↑Firebaseཧऀͷߋ৽ݖݶ
FIREBASEͷσʔλߋ৽ͷεεϝ άϧʔϓཧऀ ࢀՃऀ DB ❶ টϦετʹՃ ❷ ট௨ COULD FUNCTIONS
ADMIN ❸ ঝ ແࣄॻ͖ࠐΊΔ ❹ ॻ͖ࠐΈ
FIREBASEͷσʔλߋ৽ͷεεϝ ࠓͷςʔϚ Ճɾߋ৽ Firebase Cloud FunctionΛ ͏ͷ͕Φεεϝ