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
860
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
pandasはPolarsに性能面で追いつき追い越せるのか
vaaaaanquish
4
4.6k
最速最小からはじめるデータプロダクト / Data Product MVP
amaotone
5
740
Amazon_CloudWatch_ログ異常検出_導入ガイド
tsujiba
4
1.6k
Forget efficiency – Become more productive without the stress
ufried
0
150
チームを主語にしてみる / Making "Team" the Subject
ar_tama
4
310
マネジメント視点でのre:Invent参加 ~もしCEOがre:Inventに行ったら~
kojiasai
0
470
国土交通省 データコンペ参加者向け勉強会
takehikohashimoto
0
110
急成長中のWINTICKETにおける品質と開発スピードと向き合ったQA戦略と今後の展望 / winticket-autify
cyberagentdevelopers
PRO
1
160
Fargateを使った研修の話
takesection
0
120
2024-10-30-reInventStandby_StudyGroup_Intro
shinichirokawano
1
630
君は隠しイベントを見つけれるか?
mujyun
0
300
Commitment vs Harrisonism - Keynote for Scrum Niseko 2024
miholovesq
6
1.1k
Featured
See All Featured
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
131
33k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
3
370
Intergalactic Javascript Robots from Outer Space
tanoku
268
27k
The MySQL Ecosystem @ GitHub 2015
samlambert
250
12k
Docker and Python
trallard
40
3.1k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
355
29k
What's in a price? How to price your products and services
michaelherold
243
12k
We Have a Design System, Now What?
morganepeng
50
7.2k
Build your cross-platform service in a week with App Engine
jlugia
229
18k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
28
9.1k
VelocityConf: Rendering Performance Case Studies
addyosmani
325
24k
GraphQLの誤解/rethinking-graphql
sonatard
66
9.9k
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 $