Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Firebase(Realtime Database)について
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
S-cubism
November 24, 2017
Technology
140
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Firebase(Realtime Database)について
S-cubism
November 24, 2017
More Decks by S-cubism
See All by S-cubism
WSLでreactの開発環境作った話
scubism
0
740
未経験者がAndroidアプリをリリースするまで
scubism
0
160
scubism_LT_20180223_細田謙二_イベントソーシング
scubism
0
170
REVEAL.JSをちょっとだけ使ってみた
scubism
0
290
忙しい人のための仮想通貨
scubism
0
140
サーバ作業の注意コマンド
scubism
0
160
最近勉強してること、次にやりたいこと
scubism
0
130
FOOD TECH
scubism
0
81
複数会社複数リポジトリでのソース管理
scubism
0
110
Other Decks in Technology
See All in Technology
手を動かして実感する、Kiro が変える開発体験
inariku
0
420
Snowflake Horizon Catalog と Apache Iceberg で作る オープンなデータ基盤
kitagawaz
0
350
全社共通データ基盤をつくる。ソニーのDatabricks活用とデータガバナンス設計の裏側
sony
0
260
20260929_AmazonGuardDutyの検出通知メールにAWS DevOpsAgentの調査結果を追加する
yhana
1
380
LT:「このままでいいのかな?」から一歩踏み出した私のデータキャリア選択〜社会人3年目に上京を決意したリアル〜Snowflake女子会 vol.8
snowwmn0824
0
120
PQC移行の今 -- IETF からみた現在地
satokan
4
690
高負荷プロダクション環境におけるAWS Lambdaのリアル 〜スケールとコストを左右する実行ライフサイクルの技術仕様〜
maimyyym
2
830
行動するAIのためのオントロジー | DevRev — Encraft #26.pdf
dvrv_tknrszk
1
610
Confitura 2026
logico_jp
0
110
形式手法を使って仕様をコーディングしよう
mikanichinose
0
150
AIエージェント時代のPlatform as a Product —— テックリードがPdMとして回す発見・導入・計測 / Platform as a Product in the AI Agent Era
toshi0607
1
530
AI臭い文章とは何なのか
nasuvitz
36
75k
Featured
See All Featured
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
1
610
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
Skip the Path - Find Your Career Trail
mkilby
1
240
Making the Leap to Tech Lead
cromwellryan
135
10k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.6k
Building the Perfect Custom Keyboard
takai
2
890
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
510
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
250
Why Our Code Smells
bkeepers
PRO
340
58k
brightonSEO & MeasureFest 2025 - Christian Goodrich - Winning strategies for Black Friday CRO & PPC
cargoodrich
3
850
Are puppies a ranking factor?
jonoalderson
2
4k
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
1
780
Transcript
'JSFCBTF 3FBMUJNF%BUBCBTF ʹ͍ͭͯ ɹాকଠ
'JSFCBTFͱ w N#BB4 .PCJMF#BDLFOEBTB4FSWJDF w ʹ(PPHMF͕ങऩ͠ɺ($1ʹ౷߹͞Εͨ w ΞϓϦέʔγϣϯΛߏங͢Δࡍʹඞཁͳαʔόʔଆͷଟ͘ ͷػೳΛΫϥυαʔϏεͱͯ͠ఏڙͯ͘͠ΕΔ
'JSFCBTFͰఏڙ͞Ε͍ͯΔػೳ w ϦΞϧλΠϜσʔλϕʔε w ೝূ w ϗεςΟϯά w Ϋϥυϝοηʔδϯάʢ1VTI௨ʣ w
"OBMZUJDTʢΞϓϦͷ༻ঢ়گͳͲͷղੳʣ w ετϨʔδɹɹɹͳͲ
ϦΞϧλΠϜσʔλϕʔεͱ w ֤ΫϥΠΞϯτΫϥυ্ͷ%# /P42- ͷϩʔΧϧίϐʔ Λ࣋ͪɺ͜ͷϩʔΧϧίϐʔʹରͯ͠ಡΈॻ͖Λߦ͏ɻϩʔΧ ϧσʔλͷߋ৽ϦΞϧλΠϜͰΫϥυσʔλϕʔεͱಉظ ͕ߦΘΕΔɻ w ϩʔΧϧίϐʔΛ͍࣋ͬͯΔͷͰɺΦϑϥΠϯ࣌σʔλͷࢀ
র͕Ͱ͖ɺΦϯϥΠϯʹͳͬͨ࣌Ͱಉظ͕ߦΘΕΔɻ
ແྉൣғ w ϦΞϧλΠϜσʔλϕʔε w ಉ࣌ଓɺ༰ྔ(#ɺ௨৴ྉ(݄ w ϓϥϯͷ੍ݶΛ͑ͨ߹ɺΞϓϦͷిݯ͕ΦϑʹͳΔ Β͍͠ʢউखʹ༗ྉϓϥϯʹͳΒͳ͍ʣ
8FCΞϓϦͰͬͯΈΔ (PPHMFΞΧϯτͰϩάΠϯ ৽نϓϩδΣΫτ࡞ ʮΣϒΞϓϦʹ'JSFCBTFΛՃʯͰग़ͯ͘ΔλάΛຒ ΊࠐΉ ίϚϯυϥΠϯ
pSFCBTFUPPMT ͔ΒϗεςΟϯάˠσϓ ϩΠ
σʔλͷಡΈࠐΈ w 'JSFCBTFEBUBCBTF3FGFSFODFͷΠϯελϯεΛੜ // Get a reference to the database
service this.database = firebase.database(); w ϦιʔεͷύεΛࢦఆ this.messagesRef = this.database.ref(‘messages'); w ΠϯελϯεʹΠϕϯτϦεφʔΛՃ this.messagesRef.on('child_added', setMessage); //child_addedࢦఆͨ͠ύεʹ৽͍͠σʔλ͕Ճ͞Εͨ߹ʹ࣮ߦ͞ΕΔ
σʔλͷॻ͖ࠐΈ w ಉ͘͡'JSFCBTFʹର͢ΔϦϑΝϨϯεΠϯελϯεΛੜ w TFU ͰطଘͷσʔλͷஔΛߦ͏ function writeUserData(userId, name, email,
imageUrl) { firebase.database().ref('users/' + userId).set({ username: name, email: email, profile_picture : imageUrl }); } w QVTI Λ༻͢Δͱɺॻ͖ࠐΈ࣌ʹҰҙͷ*%͕ੜ͞Εɺڝ߹ΛΘͣʹෳͷΫϥΠ Ξϯτ͕ॻ͖ࠐΈΛߦ͏͜ͱ͕Ͱ͖Δ this.messagesRef.push({ name: currentUser.displayName, text: this.messageInput.value }).then(function() { }).catch(function(error) { console.error('Error writing new message to Firebase Database', error); });
·ͱΊ w ͔ͳΓ؆୯