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
870
RealtimeDB.Firebase.ebisu
Firebase RealtimeDBを利用の考察
1amageek
October 21, 2016
Tweet
Share
More Decks by 1amageek
See All by 1amageek
Firebase Growth Hack
1amageek
2
750
FirebaseSummit2018報告会
1amageek
2
1.1k
Firestore Database Design
1amageek
19
88k
Growth Product
1amageek
2
3.7k
Client Side Join
1amageek
1
2.2k
動き出したクックパッドのCtoCビジネス
1amageek
10
5.4k
人を評価する立場になってやった事
1amageek
7
3.8k
Firebase Developer Day
1amageek
1
180
RealtimeDatabaseDesign.firebase.yebisu.pdf
1amageek
0
130
Other Decks in Technology
See All in Technology
The Rise of LLMOps
asei
7
1.4k
AWS Lambda のトラブルシュートをしていて思うこと
kazzpapa3
2
170
EventHub Startup CTO of the year 2024 ピッチ資料
eventhub
0
110
TypeScript、上達の瞬間
sadnessojisan
46
13k
【若手エンジニア応援LT会】ソフトウェアを学んできた私がインフラエンジニアを目指した理由
kazushi_ohata
0
150
AGIについてChatGPTに聞いてみた
blueb
0
130
ExaDB-D dbaascli で出来ること
oracle4engineer
PRO
0
3.8k
Lambdaと地方とコミュニティ
miu_crescent
2
370
Amazon CloudWatch Network Monitor のススメ
yuki_ink
1
200
強いチームと開発生産性
onk
PRO
34
11k
AWS Lambdaと歩んだ“サーバーレス”と今後 #lambda_10years
yoshidashingo
1
170
The Role of Developer Relations in AI Product Success.
giftojabu1
0
120
Featured
See All Featured
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
44
6.8k
What’s in a name? Adding method to the madness
productmarketing
PRO
22
3.1k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
The Straight Up "How To Draw Better" Workshop
denniskardys
232
140k
Intergalactic Javascript Robots from Outer Space
tanoku
269
27k
Designing for Performance
lara
604
68k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
38
1.8k
Become a Pro
speakerdeck
PRO
25
5k
Side Projects
sachag
452
42k
A Philosophy of Restraint
colly
203
16k
How to Ace a Technical Interview
jacobian
276
23k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
6
410
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 $