97
I can has API? A love story Cal Henderson

I can has API? A Love Story

Embed Size (px)

Citation preview

Page 1: I can has API? A Love Story

I can has API?A love story

Cal Henderson

Page 2: I can has API? A Love Story

Open Hack Day, 16th June 2007 2

flickr.com/services

/api

Page 3: I can has API? A Love Story

The end!

Any questions?

Page 4: I can has API? A Love Story

Open Hack Day, 16th June 2007 4

Cal HendersonOh hai

Page 5: I can has API? A Love Story

Open Hack Day, 16th June 2007 5

(This oneis me)

Cal Henderson

Page 6: I can has API? A Love Story

Open Hack Day, 16th June 2007 6

Flickr!

Page 7: I can has API? A Love Story

Open Hack Day, 16th June 2007 7

Ludicorp

Page 8: I can has API? A Love Story

Open Hack Day, 16th June 2007 8

VancouverCanada

Page 9: I can has API? A Love Story

Open Hack Day, 16th June 2007 9

Vancouver

(Not part of America)Canada

Page 10: I can has API? A Love Story

Open Hack Day, 16th June 2007 10

LondonEngland

Page 11: I can has API? A Love Story

Open Hack Day, 16th June 2007 11

Game NeverEnding

Page 12: I can has API? A Love Story

Open Hack Day, 16th June 2007 12

Game NeverEnding

(Now Ended)

Page 13: I can has API? A Love Story

Open Hack Day, 16th June 2007 13

Virtual online worldthingy

Page 14: I can has API? A Love Story

Open Hack Day, 16th June 2007 14

In stunning 2D!

Page 15: I can has API? A Love Story

Open Hack Day, 16th June 2007 15

Carry things!

Page 16: I can has API? A Love Story

Open Hack Day, 16th June 2007 16

A microeconomy

Page 17: I can has API? A Love Story

Open Hack Day, 16th June 2007 17

Where do I fit in?

Page 18: I can has API? A Love Story

Open Hack Day, 16th June 2007 18

No APIs

Page 19: I can has API? A Love Story

Open Hack Day, 16th June 2007 19

HTTP

Sniffable

Discoverable

Page 20: I can has API? A Love Story

Open Hack Day, 16th June 2007 20

gnespy.com

Also GNExus, etc

Page 21: I can has API? A Love Story

Open Hack Day, 16th June 2007 21

Flickr?

Page 22: I can has API? A Love Story

Open Hack Day, 16th June 2007 22

Games take money

Page 23: I can has API? A Love Story

Open Hack Day, 16th June 2007 23

GNE was slow

NodeserviceNot modular – argh!

Page 24: I can has API? A Love Story

Open Hack Day, 16th June 2007 24

Make some moneyFast!

Page 25: I can has API? A Love Story

Open Hack Day, 16th June 2007 25

Then we can getback to the game

Lies!

Page 26: I can has API? A Love Story

Open Hack Day, 16th June 2007 26

Flickr!

Page 27: I can has API? A Love Story

Open Hack Day, 16th June 2007 27

APIs

Page 28: I can has API? A Love Story

Open Hack Day, 16th June 2007 28

APIs

Army of Robots

Page 29: I can has API? A Love Story

Open Hack Day, 16th June 2007 29

ApplicationProgramming

Interface

Page 30: I can has API? A Love Story

Open Hack Day, 16th June 2007 30

Feedsvs

APIs

Page 31: I can has API? A Love Story

Open Hack Day, 16th June 2007 31

Feeds architectureFlickr Brain

Templating

RDF AtomRSS

Page 32: I can has API? A Love Story

Open Hack Day, 16th June 2007 32

RSS

Feeds architectureFlickr Brain

Templating

RDF AtomCSV

SQLCDFPHP

YAMLJSON

Page 33: I can has API? A Love Story

Open Hack Day, 16th June 2007 33

flickr.com/services

/feeds

Page 34: I can has API? A Love Story

Open Hack Day, 16th June 2007 34

Why bother

providing feeds?

Page 35: I can has API? A Love Story

Open Hack Day, 16th June 2007 35

Simple

Just like web pages

Page 36: I can has API? A Love Story

Open Hack Day, 16th June 2007 36

Not just for nerds?

Page 37: I can has API? A Love Story

Open Hack Day, 16th June 2007 37

Not just for nerds?

Page 38: I can has API? A Love Story

Open Hack Day, 16th June 2007 38

Page 39: I can has API? A Love Story

Open Hack Day, 16th June 2007 39

(Well, sort of)

Page 40: I can has API? A Love Story

Open Hack Day, 16th June 2007 40

Cheaper than‘push’

Page 41: I can has API? A Love Story

Open Hack Day, 16th June 2007 41

Less pushthese days

Page 42: I can has API? A Love Story

Open Hack Day, 16th June 2007 42

Besidesgames

Page 43: I can has API? A Love Story

Open Hack Day, 16th June 2007 43

Comet

Flash

Java

Sockets

Page 44: I can has API? A Love Story

Open Hack Day, 16th June 2007 44

Push

Less bandwidth

Less computing

Page 45: I can has API? A Love Story

Open Hack Day, 16th June 2007 45

Push

ImmediateFast

Page 46: I can has API? A Love Story

Open Hack Day, 16th June 2007 46

Push

Producer must knowabout consumers

Page 47: I can has API? A Love Story

Open Hack Day, 16th June 2007 47

Pull

Bandwidth & Processing

(cache stuff)

Page 48: I can has API? A Love Story

Open Hack Day, 16th June 2007 48

Pull

Asynchronous

Slow

Page 49: I can has API? A Love Story

Open Hack Day, 16th June 2007 49

Pull

Allows for adhoc consumers

Page 50: I can has API? A Love Story

Open Hack Day, 16th June 2007 50

API architecture

FlickrBrainRequest Response

Page 51: I can has API? A Love Story

Open Hack Day, 16th June 2007 51

Von Neuman?

ProcessInput Output

Page 52: I can has API? A Love Story

Open Hack Day, 16th June 2007 52

flickr.com/services

/api

Page 53: I can has API? A Love Story

Open Hack Day, 16th June 2007 53

Open?

Or public?

Page 54: I can has API? A Love Story

Open Hack Day, 16th June 2007 54

API Explorer

(Built for us)

Page 55: I can has API? A Love Story

Open Hack Day, 16th June 2007 55

Page 56: I can has API? A Love Story

Open Hack Day, 16th June 2007 56

Authentication

The problem

Page 57: I can has API? A Love Story

Open Hack Day, 16th June 2007 57

Authentication

The revenge!

Page 58: I can has API? A Love Story

Open Hack Day, 16th June 2007 58

Don’t sharepasswords!

Page 59: I can has API? A Love Story

Open Hack Day, 16th June 2007 59

Tokens,

Frobs

& Mini-Frobs

Page 60: I can has API? A Love Story

Open Hack Day, 16th June 2007 60

Advantages?

Page 61: I can has API? A Love Story

Open Hack Day, 16th June 2007 61

Push identity

to flickr

Page 62: I can has API? A Love Story

Open Hack Day, 16th June 2007 62

Operate on

private data

Page 63: I can has API? A Love Story

Open Hack Day, 16th June 2007 63

Write!

Page 64: I can has API? A Love Story

Open Hack Day, 16th June 2007 64

Why have

an API?

Page 65: I can has API? A Love Story

Open Hack Day, 16th June 2007 65

Page 66: I can has API? A Love Story

Open Hack Day, 16th June 2007 66

Unit testing

Page 67: I can has API? A Love Story

Open Hack Day, 16th June 2007 67

EmpowerDevelopers

(Army of monkeys)

Page 68: I can has API? A Love Story

Open Hack Day, 16th June 2007 68

All the cool kids..

Page 69: I can has API? A Love Story

Open Hack Day, 16th June 2007 69

Flickr

as

Platform

Page 70: I can has API? A Love Story

Open Hack Day, 16th June 2007 70

Facebook

Page 71: I can has API? A Love Story

Open Hack Day, 16th June 2007 71

MutuallyBeneficial

Page 72: I can has API? A Love Story

Open Hack Day, 16th June 2007 72

Doesn’t comefor free

Page 73: I can has API? A Love Story

Open Hack Day, 16th June 2007 73

Bandwidth

ProcessingStorage

Page 74: I can has API? A Love Story

Open Hack Day, 16th June 2007 74

Abuse

(Stupidity)

Page 75: I can has API? A Love Story

Open Hack Day, 16th June 2007 75

Support

Page 76: I can has API? A Love Story

Open Hack Day, 16th June 2007 76

API Kits

PHP Perl ActionScript

Page 77: I can has API? A Love Story

Open Hack Day, 16th June 2007 77

API Kits

PHP Perl ActionScriptColdFusion

LISP

cUrl

Delphi Java

.NET

Python BASICRuby

Page 78: I can has API? A Love Story

Open Hack Day, 16th June 2007 78

Page 79: I can has API? A Love Story

Open Hack Day, 16th June 2007 79

Page 80: I can has API? A Love Story

Open Hack Day, 16th June 2007 80

Page 81: I can has API? A Love Story

Open Hack Day, 16th June 2007 81

Page 82: I can has API? A Love Story

Open Hack Day, 16th June 2007 82

What’s specialabout flixor?

Page 83: I can has API? A Love Story

Open Hack Day, 16th June 2007 83

Public

by default

Page 84: I can has API? A Love Story

Open Hack Day, 16th June 2007 84

Creative Commons

Page 85: I can has API? A Love Story

Open Hack Day, 16th June 2007 85

Improve?

Page 86: I can has API? A Love Story

Open Hack Day, 16th June 2007 86

More methods?

~100 public

Page 87: I can has API? A Love Story

Open Hack Day, 16th June 2007 87

More formats?

FeedsRequests Responses

Page 88: I can has API? A Love Story

Open Hack Day, 16th June 2007 88

Push?

Page 89: I can has API? A Love Story

Open Hack Day, 16th June 2007 89

The future..?

Page 90: I can has API? A Love Story

Open Hack Day, 16th June 2007 90

Flickr on Flickr

Page 91: I can has API? A Love Story

Open Hack Day, 16th June 2007 91

Rich Integration

Page 92: I can has API? A Love Story

Open Hack Day, 16th June 2007 92

Photo creditshttp://flickr.com/photos/laughingsquid/109584042/http://flickr.com/photos/jdlasica/153327729/http://flickr.com/photos/stewart/175271684/http://flickr.com/photos/hustlerofculture/104996715/http://flickr.com/photos/kirksiang/185374339/http://flickr.com/photos/jonsie/254419011/http://flickr.com/photos/24342028@N00/216035211/http://flickr.com/photos/yhassy/254837345/http://flickr.com/photos/ch/110731841/http://flickr.com/photos/andrewcoulterenright/9205611/http://flickr.com/photos/spike55151/18285051/http://flickr.com/photos/sepulture/164151196/http://flickr.com/photos/curiouskiwi/45667526/http://flickr.com/photos/andidfl/199832851/http://flickr.com/photos/santos/27538777/http://flickr.com/photos/beejjorgensen/12372792/http://flickr.com/photos/jaxxon/16914729/http://flickr.com/photos/holgalomaniac/50597465/http://flickr.com/photos/mbernet/72441466/

Page 93: I can has API? A Love Story

Open Hack Day, 16th June 2007 93

Photo credits cont…http://flickr.com/photos/ccgd/64767879/http://flickr.com/photos/olivander/58499153/http://flickr.com/photos/thijsjacobs/90522778/http://flickr.com/photos/quiplash/47545024/http://flickr.com/photos/su-chan/157487686/http://flickr.com/photos/gabrielm3/182987412/http://flickr.com/photos/mr_mt_02/167611123/http://flickr.com/photos/thomashawk/120229489/http://flickr.com/photos/helenpalsson/196006913/http://flickr.com/photos/shutupyourface/222616352/http://flickr.com/photos/dgbalancesrocks/82272917/http://flickr.com/photos/laughingsquid/111795102/http://flickr.com/photos/santos/96977613/http://flickr.com/photos/bunchofpants/24767283/http://flickr.com/photos/kaptainkobold/83359336/http://flickr.com/photos/momo0379/93207810/http://flickr.com/photos/processblack/67107439/http://flickr.com/photos/pscafe/79504379/http://flickr.com/photos/sergio_one/116015471/

Page 94: I can has API? A Love Story

Open Hack Day, 16th June 2007 94

Photo credits cont…http://flickr.com/photos/intvgene/370973576/http://flickr.com/photos/josstyk/248920216/http://flickr.com/photos/ratterrell/267850875/http://flickr.com/photos/borghetti/43058749/http://flickr.com/photos/snowriderguy/37343192/http://flickr.com/photos/pandarine/3443396/http://flickr.com/photos/tedreese/192952089/http://flickr.com/photos/r80o/1583381/http://flickr.com/photos/drydenrenegade/35882847/http://flickr.com/photos/difusa/135964682/http://flickr.com/photos/avalonstar/52276678/http://flickr.com/photos/hiromy/199767366/http://flickr.com/photos/reneeanddolan/47927688/http://flickr.com/photos/jeffbelmonte/8228640/http://flickr.com/photos/tim_d/245116574/http://flickr.com/photos/wiseacre/153532248/http://flickr.com/photos/bees/543501526/http://flickr.com/photos/stuckincustoms/182191565/http://flickr.com/photos/baboon/162579094/

Page 95: I can has API? A Love Story

Open Hack Day, 16th June 2007 95

Photo credits cont…http://flickr.com/photos/bright/15332404/http://flickr.com/photos/tracylee/415291546/http://flickr.com/photos/25512069@N00/499701703/http://flickr.com/photos/vidiot/69075298/http://flickr.com/photos/28481088@N00/159877767/http://flickr.com/photos/piper/22584430/http://flickr.com/photos/monster/432466087/http://flickr.com/photos/drewvigal/58837009/http://flickr.com/photos/drewvigal/58837009/

Page 96: I can has API? A Love Story

The end!

Page 97: I can has API? A Love Story

Open Hack Day, 16th June 2007 97

Questions?