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
BLT #3
Search
TOMITA___spe
March 06, 2016
Programming
0
770
BLT #3
BLT #3で発表した資料です。
TOMITA___spe
March 06, 2016
Tweet
Share
Other Decks in Programming
See All in Programming
Grafana:建立系統全知視角的捷徑
blueswen
0
330
カスタマーサクセス業務を変革したヘルススコアの実現と学び
_hummer0724
0
700
Fragmented Architectures
denyspoltorak
0
160
なぜSQLはAIぽく見えるのか/why does SQL look AI like
florets1
0
460
Lambda のコードストレージ容量に気をつけましょう
tattwan718
0
130
CSC307 Lecture 04
javiergs
PRO
0
660
CSC307 Lecture 03
javiergs
PRO
1
490
Patterns of Patterns
denyspoltorak
0
1.4k
なるべく楽してバックエンドに型をつけたい!(楽とは言ってない)
hibiki_cube
0
140
AWS re:Invent 2025参加 直前 Seattle-Tacoma Airport(SEA)におけるハードウェア紛失インシデントLT
tetutetu214
2
110
360° Signals in Angular: Signal Forms with SignalStore & Resources @ngLondon 01/2026
manfredsteyer
PRO
0
130
Architectural Extensions
denyspoltorak
0
290
Featured
See All Featured
[RailsConf 2023] Rails as a piece of cake
palkan
59
6.3k
Mind Mapping
helmedeiros
PRO
0
87
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
340
Technical Leadership for Architectural Decision Making
baasie
1
240
Practical Orchestrator
shlominoach
191
11k
Designing for humans not robots
tammielis
254
26k
Darren the Foodie - Storyboard
khoart
PRO
2
2.4k
Fashionably flexible responsive web design (full day workshop)
malarkey
408
66k
Leo the Paperboy
mayatellez
4
1.4k
Building the Perfect Custom Keyboard
takai
2
680
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
0
2.3k
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
62
Transcript
I TRIED TO MAKE “TALKING BORD” FOR BLT #3
ɹɹࣗݾհɹɹɹɹɹ ໊લɹɹɹɹɹTOMITA ྸɹɹɹɹɹ17ࡀ ܦྺɹɹɹɹɹͳΜʹͳ͠ ࣗশɹɹɹɹɹϖʔϖʔ͑Μ͡ʹ͋ ܦݧɹɹɹɹɹ͘Β͍…
CONTACT gmail
[email protected]
twitter @TOMITA___twiɹ(_3ͭ) ·ͩ·ͩະख़Ͱ͕͢ɺ ͥͻ͓͠·͠ΐ͏ʂ
Talking Bord Λ࡞ͬͯΈͨ
ؾ͖·ͨ͠ʁʁʁ
Talking Bord Λ࡞ͬͯΈͨ
Bord Board × ̋
·͊ܝࣔ൘Λ ࡞Γ͔ͨͬͨ
ࢀߟࢿྉ φϯτΧPHP (ಡΜͩΒύʔϑΣΫτʹͳΓͦ͏ͳ͋ͷͭ)
ύΫͬͨ ࢀߟʹͨ͠
ߦͬͨ͜ͱ
1.σʔλʔϕʔεʹଓ 2.ηΩϡϦςΟʔରࡦ 3.σʔλʔϕʔε͔Βऔಘ
ͨΓલ ATARIMAE
1.σʔλϕʔεʹଓ $link=mysql_connect(‘127.0.0.1','root',''); if(!$link){ die('ͭͳ͛ͶʔΑ͆'.mysql_error().PHP_EOL); }
࣮ͭ·͍͍ͣͯͨ…
$link=mysql_connect(‘127.0.0.1','root','');
127.0.0.1 192.168.33.10 ↑ͬͪ͜Ͱ͍ͬͯͨ…
άάͬͨ
192.168.33.10 IPΞυϨε 127.0.0.1 ϧʔϓόοΫΞυϨε
2.ηΩϡϦςΟʔରࡦ
SQLΠϯδΣΫγϣϯ <?php $sql="SELECT * FROM post ORDER BY created_at DESC”;
$result=mysql_query($sql,$link); ?> σʔλϕʔεͷվ͟Μɺෆਖ਼औಘͷࢭ
εΫϦϓτૠೖ <?php echo htmlspecialchars($error,ENT_QUOTES,'utf-8'); ?> ϑΥʔϜʹJSΛࠐ·Εͳ͍Α͏ʹ ɹɹɹɹɹɹɹɹɹɹɹλάΛΤεέʔϓ͢Δ
GET/POST
GET ʮใͷऔಘʯΛද͢ϝιου URL ʹग़ͯ͘Δͭ… ੍ݶ͕͋ΔΒ͍͠…
POST ৽͍͠ใΛొ͢Δϝιου ੍ݶ͕ͳ͘ಗ໊ใ͚
Α͘Θ͔Βͳ͍ʂʂʂʂ
ਖ਼نදݱΛͬͯΈ͔ͨͬͨͷ…
Ͳ͏Ͱ͍͍ʂʂʂ
Γ͔ͨͬͨ͜ͱ
Ϟδϡʔϧ API deleteϘλϯ ࣌ؒͷௐ σϓϩΠ
API Τϥʔॲཧ Ϟδϡʔϧ ໊લۭؒ Cookie ϑϨʔϜϫʔΫ Τϥʔॲཧ ࢀর͠ நϝιου Ϗοτԋࢉࢠ
get post SDK
·ͱΊ ͜Ε͔Β”ͳʹ͔”Λͭ͘Ζ͏
Thank you for your attention :D