Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up for free
Alexa, ask me about PHP
Omni Adams
July 11, 2017
How-to & DIY
0
70
Alexa, ask me about PHP
Omni Adams
July 11, 2017
Tweet
Share
More Decks by Omni Adams
See All by Omni Adams
Break Off - Midwest
omnicolor
0
14
Alexa-Midwest
omnicolor
0
77
Break Off SunPHP20
omnicolor
0
110
Alexa, Ask Me About PHP!
omnicolor
1
23
Dark Corners Of The SPL - Midwest PHP 2019
omnicolor
0
100
Dark Corners Of The SPL
omnicolor
0
36
Dark Corners Of The SPL - Dallas PHP July
omnicolor
1
38
An Introduction to API Gateways
omnicolor
0
120
Phing All The Things!
omnicolor
1
110
Other Decks in How-to & DIY
See All in How-to & DIY
家のいろいろな数値を計測する
kishikawakatsumi
4
1.3k
紙で申請を出す居酒屋店員のシフト希望と 管理業務をちょっとスマートにする #linedc
n0bisuke2
0
140
Karim Ukulele Therapy - mes scribes
inthealps
3
270
Asuka Nakano
nakano_asuka12
0
350
自宅鯖はいいぞ 〜InfiniBand編〜
190ikp
0
400
スマホでNode-RED
ozk009
0
150
5分でざっくり。2021年のRaspbeerry Piをふりかえり / osc21on-rpi
akkiesoft
0
270
IoT Experiments: Temperature Sensing
stwn
0
160
プロ野球#LIVE2022 遊び方解説
hisatosato11
0
1.9k
ITエンジニアと組織でのキャリアの考え方
shirayanagiryuji
0
230
Comment réduire la dette émotionnelle d'une équipe (en présentiel ou à distance) ?
marilynkol
1
240
ティファール忘れ問題 #iotlt
n0bisuke2
0
300
Featured
See All Featured
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
107
16k
How to name files
jennybc
40
63k
Building Adaptive Systems
keathley
25
1.2k
ParisWeb 2013: Learning to Love: Crash Course in Emotional UX Design
dotmariusz
100
6k
GraphQLとの向き合い方2022年版
quramy
16
8.4k
Designing Experiences People Love
moore
130
22k
Building an army of robots
kneath
298
40k
Put a Button on it: Removing Barriers to Going Fast.
kastner
56
2.3k
Bash Introduction
62gerente
598
210k
Navigating Team Friction
lara
175
11k
How to train your dragon (web standard)
notwaldorf
60
3.9k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
224
49k
Transcript
Alexa, ask me about PHP
What is Alexa?
None
None
None
None
None
None
None
None
None
None
if($extractType == ‘LME') { $extract = 38; } elseif ($extractType
== ‘DME') { $extract = 45; } elseif (is_numeric($extractType)) { $extract = $extractType; } if (is_numeric($target_gu) && is_numeric($total_gu) && is_numeric($extract)) { return ($target_gu - $total_gu) / $extract; } else { return null; }
None
https://developer.amazon.com/
None
None
None
None
None
None
None
None
None
None
None
{ “intents”: [ { “slots”: [], “intent”: “” } ]
}
function extractAddition($expected, $actual, $extractType)
Alexa, ask brew calc how much DME to go from
ten sixty to ten ninety
Alexa, askbrew calc how much DME to go from ten
sixt
xa, ask brew calchow much DME to go from ten
sixty to ten nin
lc how much DME to go from ten sixty to
ten ninety
lc how much DME to go from ten sixty to
ten ninety
how much DME to go from ten sixty to ten
ninety {“intents”: [{ “slots”: [ {“name”: “extract”, “type”: “LIST_OF_EXTRACT_TYPES”}, {“name”: “expected”, “type”: “AMAZON.FOUR_DIGIT_NUMBER”}, {“name”: “actual”, “type”: “AMAZON.FOUR_DIGIT_NUMBER”} ], “intent”: “BrewCalcIntent” }]}
None
None
None
None
DEMO TIME!
https://speakerdeck.com/omnicolor/alexa-ask-me-about-php https://github.com/omnicolor/automation https://twitter.com/omnicolor Omni Adams omni@digitaldarkness.com