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
Tech Demo Night
Search
Zac Stewart
May 21, 2015
Programming
0
54
Tech Demo Night
Demo of a project I'm working on
Zac Stewart
May 21, 2015
Tweet
Share
More Decks by Zac Stewart
See All by Zac Stewart
Heterogeneous Collections in Rust
zacstewart
1
360
Rust with Ruby
zacstewart
2
120
Behavior-Driven Development in Python
zacstewart
0
130
Building a Language Identifier
zacstewart
2
3.1k
HTTP OPTIONS Method And Self-Describing APIs
zacstewart
2
3k
Other Decks in Programming
See All in Programming
バックエンドのためのアプリ内課金入門 (サブスク編)
qnighy
8
1.7k
AWS Lambda functions with C# 用の Dev Container Template を作ってみた件
mappie_kochi
0
240
[JAWS-UG横浜 #80] うわっ…今年のServerless アップデート、少なすぎ…?
maroon1st
1
170
Pulsar2 を雰囲気で使ってみよう
anoken
0
230
Honoをフロントエンドで使う 3つのやり方
yusukebe
4
2.1k
昭和の職場からアジャイルの世界へ
kumagoro95
1
350
なぜイベント駆動が必要なのか - CQRS/ESで解く複雑系システムの課題 -
j5ik2o
7
2.5k
SpringBoot3.4の構造化ログ #kanjava
irof
2
970
TokyoR116_BeginnersSession1_環境構築
kotatyamtema
0
110
『GO』アプリ バックエンドサーバのコスト削減
mot_techtalk
0
130
Kubernetes History Inspector(KHI)を触ってみた
bells17
0
200
最近のVS Codeで気になるニュース 2025/01
74th
1
250
Featured
See All Featured
Designing on Purpose - Digital PM Summit 2013
jponch
117
7.1k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
193
16k
A designer walks into a library…
pauljervisheath
205
24k
Designing for humans not robots
tammielis
250
25k
Rails Girls Zürich Keynote
gr2m
94
13k
Statistics for Hackers
jakevdp
797
220k
Adopting Sorbet at Scale
ufuk
74
9.2k
How STYLIGHT went responsive
nonsquared
98
5.3k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
226
22k
[RailsConf 2023] Rails as a piece of cake
palkan
53
5.2k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
280
13k
Building Applications with DynamoDB
mza
93
6.2k
Transcript
!"#
Guess%a%Number%1,10 To:
[email protected]
Subject:)guessing)game guess:&X
None
None
None
None
None
$ rails new my-integration
None
When%I%get%a%Gmail%message… { "from": "
[email protected]
", "subject": "guessing game", "body": "guess: 7"
}
Execute'some'JavaScript… if (/guessing game/i.test(input.data.subject)) { output.emit(input.data); }
And$execute$some$more$JavaScript… if (!state.winner) { var matches = input.data.body && input.data.body.match(/guess:
(\d+)/i); var guess = matches && parseInt(matches[1], 10) if (guess === 6) { state.winner = input.data.from; output.emit({to: input.data.from, subject: "You win!", body: "Enjoy this free email!"}); } }
And$finally,$send$an$email { "to": "
[email protected]
", "subject": "You win!", "body": "Enjoy this
free email!" }
Event,'ac*on,'ac*on,'ac*on
• Ability(to(respond(to(events • Perform(condi5onal(logic • Perform(matching(opera5ons • Maintain(internal(state
None
None
Zac$Stewart @zacstewart