Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Firebaseのデータ更新のススメ
Search
hiro-nagami
June 19, 2019
Programming
390
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Firebaseのデータ更新のススメ
hiro-nagami
June 19, 2019
More Decks by hiro-nagami
See All by hiro-nagami
ReactでAtomic Design
hiro3
2
87
Other Decks in Programming
See All in Programming
[Dev Group Paris Octobre 26] Agentforce, SIforce, Claudeforce, Slackbot… on s'y retrouve ?
nabondance
0
110
SREの越境 / SRE Collaboration
y0hgi
2
310
TechTown - Creating Composable Callables in Contemporary C++
rollbear
0
130
コードレビューのボトルネックを"する側"と"される側"の両面から解消する
yub0n
2
1.6k
ソニーのクラウド共通基盤の変遷とAI時代の開発スタイルに合わせた進化 / The Journey of Sony’s Common Cloud Platform and Its Evolution for AI-Native Development
kenjiyoneyama
0
270
dotNET_vulnclicker_intro.pdf
deka_morita
0
140
Railsのためのパスキー実践入門 〜マルチテナントSaaSでの意思決定〜
utakaha
2
540
當我們開始不讀 Code - AI Agent 時代,Code Review 與 Clean Code 還剩下什麼?
jame2408
1
190
SalesForceを内製化!? ~ HR事業を支える顧客管理基盤のインフラを大公開 ~
oku053
0
180
APNsからLive Activityを開始する話
yumnumm
0
170
phperだってパンチカードでコーディングしたい
o0h
PRO
0
330
Compiling a real-world CLI tool to native with Static Hermes
tmikov2023
0
120
Featured
See All Featured
Navigating Algorithm Shifts & AI Overviews - #SMXNext
aleyda
1
1.7k
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
490
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.6k
Product Roadmaps are Hard
iamctodd
55
13k
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.5k
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
540
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
74
43k
Navigating Team Friction
lara
192
16k
Statistics for Hackers
jakevdp
799
230k
How to Ace a Technical Interview
jacobian
280
24k
Speed Design
sergeychernyshev
33
2.2k
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Λ ͏ͷ͕Φεεϝ