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
クリぼっちLT.pdf
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
yuki-marume
December 25, 2018
0
250
クリぼっちLT.pdf
yuki-marume
December 25, 2018
Tweet
Share
More Decks by yuki-marume
See All by yuki-marume
FlutterMeetUp.pdf
maru01
0
150
あるあるLT.pdf
maru01
0
200
Featured
See All Featured
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
91
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
How to Think Like a Performance Engineer
csswizardry
28
2.4k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.6k
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
60
42k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
49
9.9k
The agentic SEO stack - context over prompts
schlessera
0
640
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
0
220
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
200
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
910
Imperfection Machines: The Place of Print at Facebook
scottboms
269
14k
Transcript
ΫϦ΅ͬͪΛٹ͏രνϟοτΞϓϦ։ൃ ʙ'JSFTUPSFͱڞʹʙ ؙ ༗ً 1
ؙɹ༗ً 2 ॴଐˠ and factoryגࣜձࣾ GitHub→https://github.com/maru01 twitter→https://twitter.com/yukimarume87 Qiita→https://qiita.com/marumarumaru
࣍ 3 ɾFirestoreͱʁ ɾσϞ ɾͲ͏ͬͯ࡞Δͷʁ ɾ·ͱΊ
࣍ 4 ɾFirestoreͱʁ ɾσϞ ɾͲ͏ͬͯ࡞Δͷʁ ɾ·ͱΊ
Firestoreͱʁ 5
Firestoreͱʁ 6 ɾNoSQL Ϋϥυ σʔλϕʔε ɾΫϥΠΞϯτଆͱαʔόʔଆͷσʔλ͕ϦΞϧλΠϜͰಉظ ͞ΕΔɻϦΞϧλΠϜϦεφʔʹΑΓมߋ෦ΛऔಘͰ͖Δɻ ɾΦϑϥΠϯͰಈ͘͠ɺΦϑϥΠϯ͔ΒΦϯϥΠϯʹ ͳͬͨΒউखʹσʔλΛಉظͯ͘͠ΕΔɻ
Firestoreͱʁ 7 ɾίϨΫγϣϯͱυΩϡϝϯτͰσʔλΛද͢ ɾίϨΫγϣϯυΩϡϝϯτͷू߹ ɾυΩϡϝϯτϓϩύςΟͱαϒίϨΫγϣϯΛ࣋ͨ ͤΔ͜ͱ͕Ͱ͖Δ
8 ϦΞϧλΠϜͱ͍͑ʁ
9 ͦ͏ʂ
10 νϟοτʂ
11
࣍ 12 ɾFirestoreͱʁ ɾσϞ ɾͲ͏ͬͯ࡞Δͷʁ ɾ·ͱΊ
࣍ 13 ɾFirestoreͱʁ ɾσϞ ɾͲ͏ͬͯ࡞Δͷʁ ɾ·ͱΊ
14 σʔλϕʔεߏ
15 rooms - document - ϓϩύςΟ ɹ ɾcreateTime ɹ ɾname
ɹɹ ίϨΫγϣϯ ɹ ɾtalks - document - ϓϩύςΟ ɹɹɹɹɹɹɹɹɹɹɹɹ ɾmessage ɾsendTime ɾuserName - document - document - document - document users - document - ϓϩύςΟ ɹ ɾname ɹ ɾpassword - document - document
16 rooms - document - ϓϩύςΟ ɹ ɾcreateTime ɹ ɾname
ɹɹ ίϨΫγϣϯ ɹ ɾtalks - document - ϓϩύςΟ ɹɹɹɹɹɹɹɹɹɹɹɹ ɾmessage ɾsendTime ɾuserName - document - document - document - document users - document - ϓϩύςΟ ɹ ɾname ɹ ɾpassword - document - document
17 ɾී௨ϢʔβʔIDͱ͔͏ΑͶʁ ɾσʔλͷ߹ੑऔΕͳ͍ΑͶʁ ɾ͡Όͳ͍ʁ
18 ͍͍ΜͰ͢ʂʂ
19 ɾRDBͷΑ͏ʹςʔϒϧͷ݁߹͕Ͱ͖ͳ͍ ɾυΩϡϝϯτͷࢀরΛϓϩύςΟʹηοτ Ͱ͖Δ(ࢀরܕ)͚ͲΫΤϦճ͕૿͑Δ ɾҰճͷΫΤϦͰσʔλΛऔΓ͍ͨͷͰ͋͑ͯ ʹ͍ͯ͠Δ
20 ߹ੑͲ͏ղܾ͢Δͷʁ
21 Cloud Functions for Firestore
22 Cloud Functions for Firestore ɾFirestoreͷΠϕϯτΛݕͯ͠ҙͷjavaScriptίʔυΛ ࣮ߦͰ͖Δ ɾόοΫΞοϓऔͬͨΓɺϓογϡ௨ΛૹͬͨΓͰ ͖Δ
࣍ 23 ɾFirestoreͱʁ ɾσϞ ɾͲ͏ͬͯ࡞Δͷʁ ɾ·ͱΊ
24 ·ͱΊ ɾFirestoreNoSQLͳϦΞϧλΠϜΫϥυσʔλϕʔε ɾίϨΫγϣϯͱυΩϡϝϯτͰσʔλΛදݱ͢Δ ɾσʔλߏߟ͑Δඞཁ͕͋Δ ɾFirebaseͷଞͷαʔϏεͱ࿈ܞ͓ͤͯ͞͏
25 ϝϦʔΫϦεϚε
26 ͓ΘΓ