Web Services for Fun and Profit
-
Upload
simon-willison -
Category
Technology
-
view
6 -
download
0
description
Transcript of Web Services for Fun and Profit
![Page 1: Web Services for Fun and Profit](https://reader033.fdocuments.us/reader033/viewer/2022051608/54533665af795984568b6461/html5/thumbnails/1.jpg)
Web Servicesfor Fun and Profit
Paul Hammond & Simon Willison
![Page 2: Web Services for Fun and Profit](https://reader033.fdocuments.us/reader033/viewer/2022051608/54533665af795984568b6461/html5/thumbnails/2.jpg)
Paul Simon
![Page 3: Web Services for Fun and Profit](https://reader033.fdocuments.us/reader033/viewer/2022051608/54533665af795984568b6461/html5/thumbnails/3.jpg)
![Page 4: Web Services for Fun and Profit](https://reader033.fdocuments.us/reader033/viewer/2022051608/54533665af795984568b6461/html5/thumbnails/4.jpg)
![Page 5: Web Services for Fun and Profit](https://reader033.fdocuments.us/reader033/viewer/2022051608/54533665af795984568b6461/html5/thumbnails/5.jpg)
![Page 6: Web Services for Fun and Profit](https://reader033.fdocuments.us/reader033/viewer/2022051608/54533665af795984568b6461/html5/thumbnails/6.jpg)
![Page 7: Web Services for Fun and Profit](https://reader033.fdocuments.us/reader033/viewer/2022051608/54533665af795984568b6461/html5/thumbnails/7.jpg)
![Page 8: Web Services for Fun and Profit](https://reader033.fdocuments.us/reader033/viewer/2022051608/54533665af795984568b6461/html5/thumbnails/8.jpg)
![Page 9: Web Services for Fun and Profit](https://reader033.fdocuments.us/reader033/viewer/2022051608/54533665af795984568b6461/html5/thumbnails/9.jpg)
![Page 10: Web Services for Fun and Profit](https://reader033.fdocuments.us/reader033/viewer/2022051608/54533665af795984568b6461/html5/thumbnails/10.jpg)
![Page 11: Web Services for Fun and Profit](https://reader033.fdocuments.us/reader033/viewer/2022051608/54533665af795984568b6461/html5/thumbnails/11.jpg)
![Page 12: Web Services for Fun and Profit](https://reader033.fdocuments.us/reader033/viewer/2022051608/54533665af795984568b6461/html5/thumbnails/12.jpg)
![Page 13: Web Services for Fun and Profit](https://reader033.fdocuments.us/reader033/viewer/2022051608/54533665af795984568b6461/html5/thumbnails/13.jpg)
![Page 14: Web Services for Fun and Profit](https://reader033.fdocuments.us/reader033/viewer/2022051608/54533665af795984568b6461/html5/thumbnails/14.jpg)
![Page 15: Web Services for Fun and Profit](https://reader033.fdocuments.us/reader033/viewer/2022051608/54533665af795984568b6461/html5/thumbnails/15.jpg)
![Page 16: Web Services for Fun and Profit](https://reader033.fdocuments.us/reader033/viewer/2022051608/54533665af795984568b6461/html5/thumbnails/16.jpg)
![Page 17: Web Services for Fun and Profit](https://reader033.fdocuments.us/reader033/viewer/2022051608/54533665af795984568b6461/html5/thumbnails/17.jpg)
Biggest Website in the World
![Page 18: Web Services for Fun and Profit](https://reader033.fdocuments.us/reader033/viewer/2022051608/54533665af795984568b6461/html5/thumbnails/18.jpg)
½ billionunique users
on yahoo branded properties
![Page 19: Web Services for Fun and Profit](https://reader033.fdocuments.us/reader033/viewer/2022051608/54533665af795984568b6461/html5/thumbnails/19.jpg)
200 millionactive registered users
![Page 20: Web Services for Fun and Profit](https://reader033.fdocuments.us/reader033/viewer/2022051608/54533665af795984568b6461/html5/thumbnails/20.jpg)
3.9 billionpage views a
day
![Page 21: Web Services for Fun and Profit](https://reader033.fdocuments.us/reader033/viewer/2022051608/54533665af795984568b6461/html5/thumbnails/21.jpg)
Building a site this big is hard workhttp://flickr.com/photos/eurleif/186807021/
![Page 22: Web Services for Fun and Profit](https://reader033.fdocuments.us/reader033/viewer/2022051608/54533665af795984568b6461/html5/thumbnails/22.jpg)
Lots of Engineershttp://flickr.com/photos/mn_francis/68739646/
![Page 23: Web Services for Fun and Profit](https://reader033.fdocuments.us/reader033/viewer/2022051608/54533665af795984568b6461/html5/thumbnails/23.jpg)
Lots of servershttp://flickr.com/photos/indi/23580458/
![Page 24: Web Services for Fun and Profit](https://reader033.fdocuments.us/reader033/viewer/2022051608/54533665af795984568b6461/html5/thumbnails/24.jpg)
More concerns about uptime
![Page 25: Web Services for Fun and Profit](https://reader033.fdocuments.us/reader033/viewer/2022051608/54533665af795984568b6461/html5/thumbnails/25.jpg)
More hacking attempts
![Page 26: Web Services for Fun and Profit](https://reader033.fdocuments.us/reader033/viewer/2022051608/54533665af795984568b6461/html5/thumbnails/26.jpg)
More concerns over privacyhttp://flickr.com/photos/44538772@N00/67865829/
![Page 27: Web Services for Fun and Profit](https://reader033.fdocuments.us/reader033/viewer/2022051608/54533665af795984568b6461/html5/thumbnails/27.jpg)
![Page 28: Web Services for Fun and Profit](https://reader033.fdocuments.us/reader033/viewer/2022051608/54533665af795984568b6461/html5/thumbnails/28.jpg)
![Page 29: Web Services for Fun and Profit](https://reader033.fdocuments.us/reader033/viewer/2022051608/54533665af795984568b6461/html5/thumbnails/29.jpg)
![Page 30: Web Services for Fun and Profit](https://reader033.fdocuments.us/reader033/viewer/2022051608/54533665af795984568b6461/html5/thumbnails/30.jpg)
![Page 31: Web Services for Fun and Profit](https://reader033.fdocuments.us/reader033/viewer/2022051608/54533665af795984568b6461/html5/thumbnails/31.jpg)
Application
![Page 32: Web Services for Fun and Profit](https://reader033.fdocuments.us/reader033/viewer/2022051608/54533665af795984568b6461/html5/thumbnails/32.jpg)
Security Issueshttp://www.flickr.com/photos/lizjones/185703028/
![Page 33: Web Services for Fun and Profit](https://reader033.fdocuments.us/reader033/viewer/2022051608/54533665af795984568b6461/html5/thumbnails/33.jpg)
Application Application
![Page 34: Web Services for Fun and Profit](https://reader033.fdocuments.us/reader033/viewer/2022051608/54533665af795984568b6461/html5/thumbnails/34.jpg)
Scalinghttp://flickr.com/photos/lizard_queen/114587853/
![Page 35: Web Services for Fun and Profit](https://reader033.fdocuments.us/reader033/viewer/2022051608/54533665af795984568b6461/html5/thumbnails/35.jpg)
Making changes is hardhttp://www.flickr.com/photos/tico24/16240395/
![Page 36: Web Services for Fun and Profit](https://reader033.fdocuments.us/reader033/viewer/2022051608/54533665af795984568b6461/html5/thumbnails/36.jpg)
?
![Page 37: Web Services for Fun and Profit](https://reader033.fdocuments.us/reader033/viewer/2022051608/54533665af795984568b6461/html5/thumbnails/37.jpg)
?
an
API!
![Page 38: Web Services for Fun and Profit](https://reader033.fdocuments.us/reader033/viewer/2022051608/54533665af795984568b6461/html5/thumbnails/38.jpg)
Application Application
![Page 39: Web Services for Fun and Profit](https://reader033.fdocuments.us/reader033/viewer/2022051608/54533665af795984568b6461/html5/thumbnails/39.jpg)
API!
Application Application
![Page 40: Web Services for Fun and Profit](https://reader033.fdocuments.us/reader033/viewer/2022051608/54533665af795984568b6461/html5/thumbnails/40.jpg)
Separation of concernshttp://flickr.com/photos/adactio/9514864/
![Page 41: Web Services for Fun and Profit](https://reader033.fdocuments.us/reader033/viewer/2022051608/54533665af795984568b6461/html5/thumbnails/41.jpg)
Can easily fix security problemshttp://flickr.com/photos/orinrobertjohn/47667825/
![Page 42: Web Services for Fun and Profit](https://reader033.fdocuments.us/reader033/viewer/2022051608/54533665af795984568b6461/html5/thumbnails/42.jpg)
Can scale or increase redundancyhttp://flickr.com/photos/doublebug/132789025/
![Page 43: Web Services for Fun and Profit](https://reader033.fdocuments.us/reader033/viewer/2022051608/54533665af795984568b6461/html5/thumbnails/43.jpg)
Internal APIs make huge sites possible
![Page 44: Web Services for Fun and Profit](https://reader033.fdocuments.us/reader033/viewer/2022051608/54533665af795984568b6461/html5/thumbnails/44.jpg)
![Page 45: Web Services for Fun and Profit](https://reader033.fdocuments.us/reader033/viewer/2022051608/54533665af795984568b6461/html5/thumbnails/45.jpg)
Internal mashup culturehttp://www.flickr.com/photos/loopzilla/179599888/
![Page 46: Web Services for Fun and Profit](https://reader033.fdocuments.us/reader033/viewer/2022051608/54533665af795984568b6461/html5/thumbnails/46.jpg)
![Page 47: Web Services for Fun and Profit](https://reader033.fdocuments.us/reader033/viewer/2022051608/54533665af795984568b6461/html5/thumbnails/47.jpg)
+ =
![Page 48: Web Services for Fun and Profit](https://reader033.fdocuments.us/reader033/viewer/2022051608/54533665af795984568b6461/html5/thumbnails/48.jpg)
![Page 49: Web Services for Fun and Profit](https://reader033.fdocuments.us/reader033/viewer/2022051608/54533665af795984568b6461/html5/thumbnails/49.jpg)
![Page 50: Web Services for Fun and Profit](https://reader033.fdocuments.us/reader033/viewer/2022051608/54533665af795984568b6461/html5/thumbnails/50.jpg)
![Page 51: Web Services for Fun and Profit](https://reader033.fdocuments.us/reader033/viewer/2022051608/54533665af795984568b6461/html5/thumbnails/51.jpg)
![Page 52: Web Services for Fun and Profit](https://reader033.fdocuments.us/reader033/viewer/2022051608/54533665af795984568b6461/html5/thumbnails/52.jpg)
+ +=
![Page 53: Web Services for Fun and Profit](https://reader033.fdocuments.us/reader033/viewer/2022051608/54533665af795984568b6461/html5/thumbnails/53.jpg)
![Page 54: Web Services for Fun and Profit](https://reader033.fdocuments.us/reader033/viewer/2022051608/54533665af795984568b6461/html5/thumbnails/54.jpg)
![Page 55: Web Services for Fun and Profit](https://reader033.fdocuments.us/reader033/viewer/2022051608/54533665af795984568b6461/html5/thumbnails/55.jpg)
![Page 56: Web Services for Fun and Profit](https://reader033.fdocuments.us/reader033/viewer/2022051608/54533665af795984568b6461/html5/thumbnails/56.jpg)
+ +
+ + … =
![Page 57: Web Services for Fun and Profit](https://reader033.fdocuments.us/reader033/viewer/2022051608/54533665af795984568b6461/html5/thumbnails/57.jpg)
Web Services allow us to build new products faster
![Page 58: Web Services for Fun and Profit](https://reader033.fdocuments.us/reader033/viewer/2022051608/54533665af795984568b6461/html5/thumbnails/58.jpg)
![Page 59: Web Services for Fun and Profit](https://reader033.fdocuments.us/reader033/viewer/2022051608/54533665af795984568b6461/html5/thumbnails/59.jpg)
![Page 60: Web Services for Fun and Profit](https://reader033.fdocuments.us/reader033/viewer/2022051608/54533665af795984568b6461/html5/thumbnails/60.jpg)
Not our idea
![Page 61: Web Services for Fun and Profit](https://reader033.fdocuments.us/reader033/viewer/2022051608/54533665af795984568b6461/html5/thumbnails/61.jpg)
![Page 62: Web Services for Fun and Profit](https://reader033.fdocuments.us/reader033/viewer/2022051608/54533665af795984568b6461/html5/thumbnails/62.jpg)
Two Rules of Hack Day:
1. Build prototype in a day2. Demo to your colleagues
![Page 63: Web Services for Fun and Profit](https://reader033.fdocuments.us/reader033/viewer/2022051608/54533665af795984568b6461/html5/thumbnails/63.jpg)
Hack day makes people happyhttp://flickr.com/photos/drewm/112465631/
![Page 64: Web Services for Fun and Profit](https://reader033.fdocuments.us/reader033/viewer/2022051608/54533665af795984568b6461/html5/thumbnails/64.jpg)
Innovation through making stuff
![Page 65: Web Services for Fun and Profit](https://reader033.fdocuments.us/reader033/viewer/2022051608/54533665af795984568b6461/html5/thumbnails/65.jpg)
Wouldn’t be possible without APIshttp://flickr.com/photos/morton/42327887/
![Page 66: Web Services for Fun and Profit](https://reader033.fdocuments.us/reader033/viewer/2022051608/54533665af795984568b6461/html5/thumbnails/66.jpg)
Web Services help us innovate
![Page 67: Web Services for Fun and Profit](https://reader033.fdocuments.us/reader033/viewer/2022051608/54533665af795984568b6461/html5/thumbnails/67.jpg)
![Page 68: Web Services for Fun and Profit](https://reader033.fdocuments.us/reader033/viewer/2022051608/54533665af795984568b6461/html5/thumbnails/68.jpg)
![Page 69: Web Services for Fun and Profit](https://reader033.fdocuments.us/reader033/viewer/2022051608/54533665af795984568b6461/html5/thumbnails/69.jpg)
WebImageVideo
AudioLocalNews
Yahoo Search APIs
![Page 70: Web Services for Fun and Profit](https://reader033.fdocuments.us/reader033/viewer/2022051608/54533665af795984568b6461/html5/thumbnails/70.jpg)
d.construct
Spelling Suggestions
![Page 71: Web Services for Fun and Profit](https://reader033.fdocuments.us/reader033/viewer/2022051608/54533665af795984568b6461/html5/thumbnails/71.jpg)
deconstruct
Spelling Suggestions
![Page 72: Web Services for Fun and Profit](https://reader033.fdocuments.us/reader033/viewer/2022051608/54533665af795984568b6461/html5/thumbnails/72.jpg)
d.Construct 2005 was the UK’s first grassroots Web 2.0 conference. It was an affordable, one-day event aimed at those building the latest generation of web-based applications. The event discussed how new technology is transforming the web from a document delivery system to an application platform. Internationally renowned speakers covered hot-topics such as Ajax, using the power of API’s and the future of the mobile web.
Term Extraction
![Page 73: Web Services for Fun and Profit](https://reader033.fdocuments.us/reader033/viewer/2022051608/54533665af795984568b6461/html5/thumbnails/73.jpg)
d.Construct 2005 was the UK’s first grassroots Web 2.0 conference. It was an affordable, one-day event aimed at those building the latest generation of web-based applications. The event discussed how new technology is transforming the web from a document delivery system to an application platform. Internationally renowned speakers covered hot-topics such as Ajax, using the power of API’s and the future of the mobile web.
Term Extraction
![Page 74: Web Services for Fun and Profit](https://reader033.fdocuments.us/reader033/viewer/2022051608/54533665af795984568b6461/html5/thumbnails/74.jpg)
XMLSerialized PHP
JSON
Output Formats
![Page 75: Web Services for Fun and Profit](https://reader033.fdocuments.us/reader033/viewer/2022051608/54533665af795984568b6461/html5/thumbnails/75.jpg)
![Page 76: Web Services for Fun and Profit](https://reader033.fdocuments.us/reader033/viewer/2022051608/54533665af795984568b6461/html5/thumbnails/76.jpg)
Hugh GaitskellRoy Jenkins
Aneurin BevanClement Attlee
Winston ChurchillNeville Chamberlain
Neil KinnockMargaret Thatcher
Michael FootTon Blair
James CallaghanHarold Wilson
Michael HeseltineAnthony Barber
Iain MacleodEdward Heath
Harold MacmillanAnthony Eden
![Page 78: Web Services for Fun and Profit](https://reader033.fdocuments.us/reader033/viewer/2022051608/54533665af795984568b6461/html5/thumbnails/78.jpg)
Yahoo Local Maps APIs
![Page 79: Web Services for Fun and Profit](https://reader033.fdocuments.us/reader033/viewer/2022051608/54533665af795984568b6461/html5/thumbnails/79.jpg)
Ajax and Flash
Yahoo Local Maps APIs
![Page 80: Web Services for Fun and Profit](https://reader033.fdocuments.us/reader033/viewer/2022051608/54533665af795984568b6461/html5/thumbnails/80.jpg)
![Page 81: Web Services for Fun and Profit](https://reader033.fdocuments.us/reader033/viewer/2022051608/54533665af795984568b6461/html5/thumbnails/81.jpg)
![Page 82: Web Services for Fun and Profit](https://reader033.fdocuments.us/reader033/viewer/2022051608/54533665af795984568b6461/html5/thumbnails/82.jpg)
![Page 83: Web Services for Fun and Profit](https://reader033.fdocuments.us/reader033/viewer/2022051608/54533665af795984568b6461/html5/thumbnails/83.jpg)
Flickr APIs
![Page 84: Web Services for Fun and Profit](https://reader033.fdocuments.us/reader033/viewer/2022051608/54533665af795984568b6461/html5/thumbnails/84.jpg)
![Page 85: Web Services for Fun and Profit](https://reader033.fdocuments.us/reader033/viewer/2022051608/54533665af795984568b6461/html5/thumbnails/85.jpg)
![Page 86: Web Services for Fun and Profit](https://reader033.fdocuments.us/reader033/viewer/2022051608/54533665af795984568b6461/html5/thumbnails/86.jpg)
![Page 87: Web Services for Fun and Profit](https://reader033.fdocuments.us/reader033/viewer/2022051608/54533665af795984568b6461/html5/thumbnails/87.jpg)
![Page 88: Web Services for Fun and Profit](https://reader033.fdocuments.us/reader033/viewer/2022051608/54533665af795984568b6461/html5/thumbnails/88.jpg)
![Page 89: Web Services for Fun and Profit](https://reader033.fdocuments.us/reader033/viewer/2022051608/54533665af795984568b6461/html5/thumbnails/89.jpg)
Web services aren’t just for internal use
![Page 90: Web Services for Fun and Profit](https://reader033.fdocuments.us/reader033/viewer/2022051608/54533665af795984568b6461/html5/thumbnails/90.jpg)
![Page 91: Web Services for Fun and Profit](https://reader033.fdocuments.us/reader033/viewer/2022051608/54533665af795984568b6461/html5/thumbnails/91.jpg)
Web services and APIs:
• make huge sites possible
![Page 92: Web Services for Fun and Profit](https://reader033.fdocuments.us/reader033/viewer/2022051608/54533665af795984568b6461/html5/thumbnails/92.jpg)
Web services and APIs:
• make huge sites possible
• allow us to build new products faster
![Page 93: Web Services for Fun and Profit](https://reader033.fdocuments.us/reader033/viewer/2022051608/54533665af795984568b6461/html5/thumbnails/93.jpg)
Web services and APIs:
• make huge sites possible
• allow us to build new products faster
• help us innovate
![Page 94: Web Services for Fun and Profit](https://reader033.fdocuments.us/reader033/viewer/2022051608/54533665af795984568b6461/html5/thumbnails/94.jpg)
Web services and APIs:
• make huge sites possible
• allow us to build new products faster
• help us innovate
• aren’t just for internal use