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
Kenichi Kambara
April 28, 2022
Technology
1
250
Firestore開発の効率的な進め方を 完全に理解した
完全に理解したTalkの28回目開催回のトーク資料です。
#firebase
#firestore
#完全に理解したTalk
Kenichi Kambara
April 28, 2022
Tweet
Share
More Decks by Kenichi Kambara
See All by Kenichi Kambara
[DevFestTokyo]Accelerating Flutter App Development Using Generative AI
korodroid
1
580
[DevFestMilano]Enhancing Flutter Apps UX for Global Users
korodroid
0
15
[mobile #15]UX Improvements on Flutter Apps Part 5
korodroid
0
24
[ABC2024Summer]Flutter UX Improvements + α
korodroid
0
480
[YUMEMI.grow Mobile #14]Wear OS Recap from I/O 2024 [short version]
korodroid
0
38
[mobile #14]UX Improvements on Flutter Apps Part 4
korodroid
0
46
[potatotips #87]UX Improvements on Flutter Apps Part 3
korodroid
0
43
[YUMEMI.grow Mobile #12]UX Improvements on Flutter Apps Part 2
korodroid
0
88
[potatotips #86]UX Improvements on Flutter Apps Part 1
korodroid
0
68
Other Decks in Technology
See All in Technology
PHPerのための計算量入門/Complexity101 for PHPer
hanhan1978
5
210
Storage Browser for Amazon S3
miu_crescent
1
240
生成AIをより賢く エンジニアのための RAG入門 - Oracle AI Jam Session #20
kutsushitaneko
4
260
マイクロサービスにおける容易なトランザクション管理に向けて
scalar
0
140
LINE Developersプロダクト(LIFF/LINE Login)におけるフロントエンド開発
lycorptech_jp
PRO
0
120
UI State設計とテスト方針
rmakiyama
2
650
スタートアップで取り組んでいるAzureとMicrosoft 365のセキュリティ対策/How to Improve Azure and Microsoft 365 Security at Startup
yuj1osm
0
230
DevFest 2024 Incheon / Songdo - Compose UI 조합 심화
wisemuji
0
120
日本版とグローバル版のモバイルアプリ統合の開発の裏側と今後の展望
miichan
1
130
NW-JAWS #14 re:Invent 2024(予選落ち含)で 発表された推しアップデートについて
nagisa53
0
270
第3回Snowflake女子会_LT登壇資料(合成データ)_Taro_CCCMK
tarotaro0129
0
200
WACATE2024冬セッション資料(ユーザビリティ)
scarletplover
0
210
Featured
See All Featured
Agile that works and the tools we love
rasmusluckow
328
21k
Java REST API Framework Comparison - PWX 2021
mraible
28
8.3k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
229
52k
How to train your dragon (web standard)
notwaldorf
88
5.7k
Fireside Chat
paigeccino
34
3.1k
Building an army of robots
kneath
302
44k
Automating Front-end Workflow
addyosmani
1366
200k
Testing 201, or: Great Expectations
jmmastey
40
7.1k
Statistics for Hackers
jakevdp
796
220k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
280
13k
Making Projects Easy
brettharned
116
5.9k
Navigating Team Friction
lara
183
15k
Transcript
2022.04.28 ਆݪ ݈Ұ (@korodroid) Firestore։ൃͷޮతͳਐΊํΛ શʹཧղͨ͠ ʮʓʓશʹཧղͨ͠ʯTalkɹ#28
About me •Mobile App Development •Speeches (e.g. 9 International confs.)
•Writings (e.g. 6 Dev Books) •[Of fi cial] Evangelist at NTT TechnoCross •[Private] iplatform.org •My Interest: Travelling/English/Running ਆݪɹ݈Ұ (@korodroid)
About my product (Private works) Sekaiphone(Kotlin/Swift/Flutter+Firebase)
Cloud Firestore Frontend Backend NoSQL Database
FirestoreͰ͓͍͑ͨ͞3ͭͷϙΠϯτ 1. ֓ཁ&σʔλߏ 2. ηΩϡϦςΟϧʔϧ 3. ։ൃʹศརͳTips
1. ֓ཁ&σʔλߏ Frontend Backend
σʔλͷ࣋ͨͤํ(·ͣɺΠϝʔδ) Ϣʔβ [n] Todoσʔλ [m]
FirestoreͰ͓͍͑ͨ͞Ωʔϫʔυ collection document data ->ToDoσʔλn݅(ू߹) ->ToDoσʔλ1݅ ->ToDoσʔλͷ1߲
Firestore্Ͱͷσʔλͷ࣋ͨͤํ collection document collection document document collection document
σʔλͷ࣋ͨͤํͷ࣮ݱྫ collection document Ϣʔβ [n] Todoσʔλ [m]
2. ηΩϡϦςΟϧʔϧ FirestoreͷΞΫηε੍ޚ
ηΩϡϦςΟϧʔϧͷఆٛྫ(͋͘·Ͱྫ) ྫ ࢦఆ·Ͱ ೝূࡁϢʔβͳΒ ʢ୭Ͱ SFBEXSJUFͱ0, ࢦఆΑΓલͳΒ ୭Ͱ SFBEXSJUFͱ0,
※࣮ࡍɺ֤ύεʹରͯ͠దͳΞΫηεݖΛઃఆඞਢʂ
3. ։ൃʹศརͳTips •Ϋϥυڥʢςετ༻/ຊ൪༻ͳͲʣ •ϩʔΧϧڥʢ։ൃ༻్ʣ
ΫϥυڥɿRules Playground wHFU wDSFBUF wVQEBUF wEFMFUF ύε ೝূؔ࿈ EFCVH
ؔศར
ϩʔΧϧڥɿFirebase Local Emulator Suite
ϩʔΧϧڥͷ४උ/࣮ߦ (1)Firebase CLIͷΠϯετʔϧ %curl -sL firebase.tools | bash
(2)FirebaseϓϩδΣΫτͱͯ͠ͷॳظԽ(ະ࣮ࢪͷ߹) %firebase init (3)Firebase Emulatorͷىಈ %firebase emulators:start ग़యɿFirebaseެࣜαΠτ
ϩʔΧϧڥΛͬͯศརͩͬͨ͜ͱ •ଞͷڞಉ։ൃऀΛؾʹͤͣ։ൃͰ͖Δ •(Ϋϥυڥͱൺֱͯ͠)σόοά͠қ͍ •ΫϥυڥͷίετΛؾʹͤͣ͑Δ
ར༻Πϝʔδ(Authenticationͷ߹)
ར༻Πϝʔδ(Firestoreͷ߹)
·ͱΊ •Firestore্Ͱͷσʔλͷ࣋ͨͤͨํ •ΞΫηε੍ޚɺηΩϡϦςΟϧʔϧͰ •ϩʔΧϧΤϛϡϨʔλ׆༻ͰΑΓޮతʹ։ൃՄೳ
Please let me know if you have any requests
such as technical speeches, technical writings and so on. Facebook:http://fb.com/kanbara.kenichi Twitter:@korodroid LinkedIn:http://www.linkedin.com/in/korodroid Thank you so much