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
320
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Firestore開発の効率的な進め方を 完全に理解した
完全に理解したTalkの28回目開催回のトーク資料です。
#firebase
#firestore
#完全に理解したTalk
Kenichi Kambara
April 28, 2022
More Decks by Kenichi Kambara
See All by Kenichi Kambara
[potatotips #96] Give Your AI Agent the Flutter Playbook
korodroid
0
210
n個のアプリ開発系 Skills を 作り育てて気づいたこと
korodroid
0
1.4k
[爆速開発LT #2] Codex-Powered Mobile Apps Development - Deep Dive Edition -
korodroid
0
68
[DevFest Singapore] Getting Started with Mobile Development Using Generative AI
korodroid
0
75
[FlutterAlliance]Designing Borderless UX in Flutter: Insights from 50 Countries
korodroid
0
54
[Codex Meetup Japan #1] Codex-Powered Mobile Apps Development
korodroid
2
1.6k
[AgentConHelsinki2025]From Assistant to Agent: How Developer Agents Reshape Mobile Workflows
korodroid
0
42
[FlutterTokyo#10]In-App Language Switching in Flutter
korodroid
0
59
[potatotips #92]Integrating Quick Settings Tiles into Your Android App
korodroid
1
210
Other Decks in Technology
See All in Technology
プロダクト思考 × 基盤思考を AIで実現する Compound Engineering
tkc66buzz
1
210
はじめてのDatabricks:技術者向けワークショップ / beginner-workshop
databricksjapan
PRO
0
140
Level Up Your CDK DX: 5 Tools I’ve Been Building
gotok365
2
180
Backstageでつくるセルフサービスな社内開発基盤
kikunosuke75
1
220
こんなアーキテクチャ図は嫌だ BEYOND THE TIME: 半年後の自分へ贈る15のメッセージ / 15 of Anti-pattern in AWS Architecture Diagrams
naospon
2
180
振り返りこそエンジニアの本領
negima
0
230
指示待ちから変化に応じるClaude Codeへ!~環境からAgentへの帰り道を作る~
gotalab555
9
1.8k
なぜSRE・セキュリティは評価されないのか?守りの組織を事業成長エンジンに変えた実践
cscengineer
PRO
2
1.9k
GuardDuty 検知対応を DevOps Agent で効率化しようとしている話 / GuardDuty Investigations with DevOps Agent
masahirokawahara
1
220
Continuous Delivery! It is not what you think it is
tdpauw
0
180
AIで実装は速くなった。なのにプロダクトは速くならない。職能の壁を越えて価値のフローを設計する
nwiizo
6
6k
PdMをやめて、 "プロダクトビルダー"という 働き方に変えました / PdM to Product Builder
shikichee
2
660
Featured
See All Featured
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
230
XXLCSS - How to scale CSS and keep your sanity
sugarenia
249
1.3M
Utilizing Notion as your number one productivity tool
mfonobong
4
560
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.6k
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
250
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.5k
How GitHub (no longer) Works
holman
316
150k
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.4k
Chasing Engaging Ingredients in Design
codingconduct
0
290
Docker and Python
trallard
47
4.2k
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
440
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