building an event-driven web @ impact
DESCRIPTION
This is a revised talk on the Evented Web given at Impact 2011 in Utah.TRANSCRIPT
Building an Event-driven Web
Jeff Lindsay@progrium
Event-driven Programming
Event-driven Programming
The Web as a Platform
The Web as a Platform
is a
Service-oriented Platform
The Web as a Platform
is a
Service-oriented Platform(SOA: Service Oriented Architecture)
S3EC2
MapReduce
CloudFront
SimpleDB
FPS
Simple Email Service
SQS
EBS
SNS
The Mashup
Composition vs
Integration
The Web API (SOA)is designed for composition,
not integration
The Evented Web
Web App
API
Web App
API Events
Web App
API Events
“WebHooks”
When something happens, perform HTTP POST with relevant data to a URL that the user gives you.
PayPal IPN
Twilio WebHooks
The Evented Web Vision
The Evented Web Vision
• Powerful glue code
The Evented Web Vision
• Powerful glue code
• Web plugins
The Evented Web Vision
• Powerful glue code
• Web plugins
• Smaller pieces loosely joined
The Evented Web Vision
• Powerful glue code
• Web plugins
• Smaller pieces loosely joined
• Revolution of workflow
Live Web
Live Web
Evented Web
Live Web
Evented Web
UX driven
Plumbing driven
Live Web
Evented Web
Live Web
Evented Web Events
Event Handlers
Event Handlers
CallbacksHandlers(Hooks)
Event Handlers
CallbacksHandlers(Hooks)
WebHooks:HTTP Callbacks
Analogy!
WebHooks Evented Web
Analogy!
WebHooks Evented Web
AJAX Web 2.0
Analogy!
WebHooks Evented Web
AJAX Web 2.0
Mechanism Big Picture
Powerful glue code
Demo + Code
Web plugins
Twilio WebHooks
Smaller pieces loosely joined
Program
STDIN STDOUT
STDERR
Program
cat
xargs
wc
mailecho
grep
wget
cat
xargs
wc
mailecho
grep
wget
grepcat
xargs
wc
mailecho
wget
mailgrepcat
xargs
wc
echowget
Revolution of workflow
Web of Things
“API for everything...
Web of Things
“API for everything......with events!”
Home Automation
Home Automation
Life Automation
Life Automation
The Evented Web
The Evented Web Vision
• Powerful glue code
• Web plugins
• Smaller pieces loosely joined
• Revolution of workflow
Live Web
Evented Web
Action Items!
Action Items!• Standardization
Action Items!• Standardization
• PubSubHubbub
Action Items!• Standardization
• PubSubHubbub• HTTP Futures
Action Items!• Standardization
• PubSubHubbub• HTTP Futures
• Infrastructure
Action Items!• Standardization
• PubSubHubbub• HTTP Futures
• Infrastructure• Handler Scripting
Action Items!• Standardization
• PubSubHubbub• HTTP Futures
• Infrastructure• Handler Scripting• Tools
Action Items!• Standardization
• PubSubHubbub• HTTP Futures
• Infrastructure• Handler Scripting• Tools
• Adoption + Awareness
Thanks!
Jeff Lindsay@progrium
Evented Web Summit