How to reinterpret the web in 180 seconds or less
One dayin March
Starting with a story, this year in March
2pmI’d missed lunch, it was late. What do you do?
Mashup time
Write codes for fun
I wanted to use the internet
Yahoo pipes is pretty awesome and does some crazy stuff for data manipulation
YQLAlso, @lachlanhardy had convinced me that YQL wasn’t pure evil
46 minutes later...
a mere 46 minutes later, I was effected
“I need a new web site”-Me, avoiding real work
This weekend
So, I made plans to build something
It’ll be fscking’ awesome
Then I did nothing until August
Not me, but what I felt like I did about it.
Yahoo pipes relook - Too hard to do what I want quickly.
I really like union, though...
and sort...
SmokeEnter, Smoke
Take my website, see the circled image?
Take my website, see the circled image?
I grab all those photos from flickr using a special tag to choose relevant images
The links? Delicious
The links? Delicious
Projects, from github
Projects, from github
Its a translator for web services
Smoke
RSS/AtomYQLJSONXML
It takes all your sources and auto-magically translates them based on their content-type
RSS/AtomYQLJSONXML
Its like a fucking awesome monster for web services... that shits.. ouu.. well. You get the idea
RSS/AtomYQLJSONXML
Its like a fucking awesome monster for web services... that shits.. ouu.. well. You get the idea
XMLYou can output your sourced data as...
YAML
JSON
or Ruby
Front end?
What about those front end guys?
Smoke::Rack
A rack adapter to drop on top of your app, or simply deploy straight to the clouds that exposes smoke sources.
/smoke
So, once you’re running, you can hit /smoke
You’ll get a self-documenting api
/smoke/twitter
Say you want to know about the twitter source
It’ll tell you that you need to supply a username for the stream and the formats that smoke-rack will translate it to.
/smoke/twitter.json
/smoke/twitter.jsonyamlxml
Create mashups faster
Work only on the value of your mashup. Not the supporting crap. If you’re a content producer, write API’s and give your users something to consume. Content consumers - Use Smoke.
Thankshttp://www.flickr.com/photos/maxblack/2655837607
http://github.com/benschwarz/smoke
http://github.com/benschwarz/smoke-rack
http://germanforblack.com
Slides online at slideshare.com/benschwarz
Presented at webjam10/11 in Sydney & Perth