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
RealtimeDB.Firebase.ebisu
Search
1amageek
October 21, 2016
Technology
1
930
RealtimeDB.Firebase.ebisu
Firebase RealtimeDBを利用の考察
1amageek
October 21, 2016
Tweet
Share
More Decks by 1amageek
See All by 1amageek
Firebase Growth Hack
1amageek
1
770
FirebaseSummit2018報告会
1amageek
2
1.2k
Firestore Database Design
1amageek
18
88k
Growth Product
1amageek
2
3.8k
Client Side Join
1amageek
1
2.3k
動き出したクックパッドのCtoCビジネス
1amageek
10
5.5k
人を評価する立場になってやった事
1amageek
7
3.9k
Firebase Developer Day
1amageek
1
200
RealtimeDatabaseDesign.firebase.yebisu.pdf
1amageek
0
140
Other Decks in Technology
See All in Technology
20250328_RubyKaigiで出会い鯛_____RubyKaigiから始まったはじめてのOSSコントリビュート.pdf
mterada1228
0
150
Medmain FACTBOOK
akinaootani
0
110
Go の analysis パッケージで自作するリファクタリングツール
kworkdev
PRO
1
420
移行できそうでやりきれなかった 10年超えのシステムを葬るための戦略
ryu955
2
510
パスキー導入の課題と ベストプラクティス、今後の展望
ritou
7
1.2k
SpannerとAurora DSQLの同時実行制御の違いに想いを馳せる
masakikato5
0
570
数百台のオンプレミスのサーバーをEKSに移行した話
yukiteraoka
0
680
データベースで見る『家族アルバム みてね』の変遷 / The Evolution of Family Album Through the Lens of Databases
kohbis
2
550
Agile TPIを活用した品質改善事例
tomasagi
0
350
製造業の会計システムをDDDで開発した話
caddi_eng
3
980
LINEギフトのLINEミニアプリアクセシビリティ改善事例
lycorptech_jp
PRO
0
270
Amazon EKS Auto ModeでKubernetesの運用をシンプルにする
sshota0809
0
110
Featured
See All Featured
The Straight Up "How To Draw Better" Workshop
denniskardys
232
140k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
25k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
120k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
356
30k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
29
2k
Writing Fast Ruby
sferik
628
61k
For a Future-Friendly Web
brad_frost
176
9.6k
Raft: Consensus for Rubyists
vanstee
137
6.9k
Practical Orchestrator
shlominoach
187
10k
Bash Introduction
62gerente
611
210k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
49k
Agile that works and the tools we love
rasmusluckow
328
21k
Transcript
Timers inc RealtimeDB.Firebase.ebisu nori Oct 2016 @1amageek ! Hello. Firebase.ebisu
"
Timers inc Why Firebase?
Timers inc Why Firebase? Speed up the development cycle
Timers inc REST API ❌ %FWFMPQNFOU *OGSB 4FSWFSSFRVJSFE %BUBCBTF
Timers inc Serverless
Timers inc Create Valuable Service
Timers inc
Timers inc Next Generation Database Auto Sync
Timers inc Auto Sync /PIUUQSFRVFTU 0CTFSWJOH &WFOUESJWFO 3FBMUJNF
Timers inc vs
Timers inc 'BTU 'SJFOEMZ 'SFF .BOZVTFST 0OMZEBUBCBTF 4FSWFSSFRVJSFE 'BTU 'SJFOEMZ
'SFF .BOZVTFST 5PUBMQMBUGPSN 4FSWFSMFTT ✔ ✔
Timers inc Timers’ case ϢʔβʔͷߦಈΛ௨͢Δػೳ
Timers inc "VUIFOUJDBUJPO 4DIFNFMFTT *TTVFT 1FSGPSNBODF .JHSBUJPO -PHHJOH 4FDVSJUZ
Timers inc "VUIFOUJDBUJPO 4DIFNFMFTT 1FSGPSNBODF .JHSBUJPO -PHHJOH 4FDVSJUZ طଘͷγεςϜ͔ΒͷҠߦ ηΩϡΞͳڥ࡞ΕΔ͔
ࣗ༝͕ߴ͍͜ͱɺ։ൃͷ෯Λ͛Δ͕ όάΛੜΈ͍͢ ࣮༻ʹରԠͰ͖Δͷ͔ɺੑೳྼԽ͠ͳ͍͔ ࣗࣾαʔϏεͰͳ͍͕ɺͲͷΑ͏ʹ-PHΛ நग़͢Δ͔ αʔϏεͷਐԽʹ߹Θͤͯॊೈʹ ରԠͰ͖Δ͔
Timers inc $VTUPN"VUIFOUJDBUJPO4ZTUFN "VUIFOUJDBUJPO Server Client Server Client Token Token
FirebaseToken Firebase FirebaseToken #FGPSF "GUFS
Timers inc 3FBMUJNF%BUBCBTF3VMFT 4FDVSJUZ data $00 Auth data $01 data
$02 Read : Write Read Write
Timers inc 4PMVUJPO-JCSBSZ4BMBEB 4DIFNFMFTT nori Oct 2016 @1amageek https://github.com/1amageek/Salada
Timers inc 3FBMUJNF%BUBCBTF 1FSGPSNBODF T
Timers inc 0CTFSWF -PHHJOH FIRDatabase .database() .reference() .child(“YOUR_REFERENCE_KEY”) .observe(.childAdded, with:
{ (snapshot) in log(snapshot) })
Timers inc 0CTFSWF .JHSBUJPO let ref: FIRDatabaseReference = FIRDatabase.database().reference() let
ref_A: FIRDatabaseReference = ref.child("YOUR_REFERENCE_KEY_A”) let ref_B: FIRDatabaseReference = ref.child(“YOUR_REFERENCE_KEY_B”) ref_A.observeSingleEvent(of: .value, with: { (snapshot) in ref_B.setValue(snapshot.value) })
Timers inc Thank you $