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
880
RealtimeDB.Firebase.ebisu
Firebase RealtimeDBを利用の考察
1amageek
October 21, 2016
Tweet
Share
More Decks by 1amageek
See All by 1amageek
Firebase Growth Hack
1amageek
1
750
FirebaseSummit2018報告会
1amageek
2
1.1k
Firestore Database Design
1amageek
18
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
190
RealtimeDatabaseDesign.firebase.yebisu.pdf
1amageek
0
130
Other Decks in Technology
See All in Technology
レンジャーシステムズ | 会社紹介(採用ピッチ)
rssytems
0
150
私なりのAIのご紹介 [2024年版]
qt_luigi
1
120
TSKaigi 2024 の登壇から広がったコミュニティ活動について
tsukuha
0
160
オプトインカメラ:UWB測位を応用したオプトイン型のカメラ計測
matthewlujp
0
170
バクラクのドキュメント解析技術と実データにおける課題 / layerx-ccc-winter-2024
shimacos
2
1.1k
kargoの魅力について伝える
magisystem0408
0
200
[Ruby] Develop a Morse Code Learning Gem & Beep from Strings
oguressive
1
150
ハイテク休憩
sat
PRO
2
140
10個のフィルタをAXI4-Streamでつなげてみた
marsee101
0
160
Amazon VPC Lattice 最新アップデート紹介 - PrivateLink も似たようなアップデートあったけど違いとは
bigmuramura
0
190
マルチプロダクト開発の現場でAWS Security Hubを1年以上運用して得た教訓
muziyoshiz
2
2.2k
新機能VPCリソースエンドポイント機能検証から得られた考察
duelist2020jp
0
220
Featured
See All Featured
Building Better People: How to give real-time feedback that sticks.
wjessup
365
19k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
28
900
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
0
97
ReactJS: Keep Simple. Everything can be a component!
pedronauck
665
120k
Fontdeck: Realign not Redesign
paulrobertlloyd
82
5.3k
No one is an island. Learnings from fostering a developers community.
thoeni
19
3k
The Art of Programming - Codeland 2020
erikaheidi
53
13k
The Language of Interfaces
destraynor
154
24k
Done Done
chrislema
181
16k
The Power of CSS Pseudo Elements
geoffreycrofte
73
5.4k
Unsuck your backbone
ammeep
669
57k
Raft: Consensus for Rubyists
vanstee
137
6.7k
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 $