Epeus' epigone

Edifying exquisite equine entrapments

Monday, 26 May 2008

An API is a bespoke suit, a standard is a t-shirt

Brad is calling for APIs, and even the NYT is proposing one, but there is a problem with APIs that goes beyond Dave's concern about availability.

When a site designs an API, what they usually do is take their internal data model and expose every nook and cranny in it in great detail. Obviously, this fits their view of the world, or they wouldn't have built it that way, so they want to share this with everyone. In one way this is like the form-fitting lycra that weekend cyclists are so enamoured of, but working with such APIs is like being a bespoke tailor - you have to measure them carefully, and cut your code exactly right to fit in with their shapes, and the effort is the same for every site you have to deal with (you get more skilled at it over time, but it is a craft nonetheless).

Conversely, when a site adopts a standard format for expressing their data, or how to interact with it, you can put your code together once, try it out on some conformance tests, and be sure it will work across a wide range of different sites - it's like designing a t-shirt for threadless instead.

Putting together such standards, like HTML5, OpenID, OAuth or OpenSocial or, for Dave's example of reviews, hReview, takes more thought and reflection than just replicating your own internal data structures, but the payoff is that implementations can interoperate without knowing of each others' existence, let alone having to have a business relationship.

I had this experience at work recently, when the developers of the Korean Social network idtail visited. I was expecting to talk to them about implementing OpenSocial on their site, but they said they had already implemented an OpenSocial container and apps using OpenID login, and built their own developer site for Korean OpenSocial developers from reading the specification docs.

I'm looking forward to more 'aha' moments like that this week at I/O.

Posted by Kevin Marks at 17:51
Labels: APIs, HTML5, idtail, microformats, OAuth, OpenID, OpenSocial

0 comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

This is my personal blog. Any views you read here are mine, and not my employers.

Subscribe to my Events

Atom Feed

 

Support the Open Rights Group
Technorati search

mediAgora
encourage copying, expect payment

Kevin Marks
My Shared Stuff

People's thoughts I read:

Daily

Rosie
San Jose Young People's Theatre
Dave Weinberger
Doc Searls
Gonzo Engaged
AKMA
Tomalak's Realm
Cory & friends
Denise Howell
Dave Winer
Charles Wiltgen
Shelley Powers
Jonathon Delacour
Dorothea Salo
James Lileks
Megan McArdle
Tim Oren
Suw Charman
Halley Suitt

Weekly

Andrew Marks
Blogsisters
Arts & Letters Daily
Bricklin, Frankston & Reed
Marek
Steve Yost
Jeneane Sessum
Brian Micklethwait et al
Donna Wentworth - CopyFight
Chris Locke
Arnold Kling
Jonathan Peterson
Dana Blankenhorn
Tom Matrullo
Gary Turner
Marc Canter
St Luke's Chapel (Michael Penfield)

Sporadically

As the Apple Turns (back at last)
Small Pieces
Stuart Cheshire
RageBoy
Nonzero
Neil Gaiman
Thomas Vincent
Brad deLong
Andrew Odlyzko
Frank Paynter
ProSUA

No to Mickey Mouse Computers

powered by blogger

Blog Archive

  • ►  2009 (22)
    • ►  November (2)
      • Publics, Flow, Phatic, Tummeling and Out-groups - ...
      • We'll be Fruitful, Virile and Fertile, they can ke...
    • ►  October (2)
      • Baron Mandelson and Magna Carta
      • T-mobile's Contacts Roach Motel loses them all
    • ►  September (2)
      • Tummling, SideWiki, Twitter and the Tragedy of the...
      • In 1999, Douglas Adams got it right
    • ►  August (3)
      • Pear Analytics Study Missing the Phatic Wood for t...
      • How Twitter works in theory
      • The Flow Past Web: even better than the RealTime t...
    • ►  July (2)
      • Apple's fussyness shows the real platform - the we...
      • Could Amazon deKindle returned books?
    • ►  June (2)
      • Celebrities - social objects or fake friends?
      • Farewell to Google
    • ►  May (2)
      • Faces call the trust code in our brains
      • Press Release Use Causes "Serious" Brain Damage, M...
    • ►  April (1)
      • WSJ dubbed internet parasite by WSJ editor
    • ►  February (2)
      • A load of Thunderer
      • OpenSocial WeekendApps
    • ►  January (4)
      • Mark Cuban's Big Lie
      • Notes on Charlene Li's Future of Social Networks S...
      • Hold your breath while Googling to save the planet...
      • MacWorld wishlist
  • ▼  2008 (29)
    • ►  December (2)
      • My twittered notes on the Leweb Social panel
      • Cycling to new layers of freedom
    • ►  November (3)
      • OpenSocial’s birthday today
      • Missing the point of OpenID
      • Blogging's not dead, it's becoming like air
    • ►  August (1)
      • Social Disease, or making magic?
    • ►  July (3)
      • Open Source and Social Cloud Computing
      • Here Comes Everybody - Tummlers, Geishas, Animateu...
      • Shortening URLs, or getting inbetween?
    • ►  June (3)
      • Google as a restaurant? Watch Gordon Ramsay
      • I'm with the stupid network
      • How not to be viral
    • ▼  May (5)
      • Miasma theory - wrong in the 1840s, wrong now
      • An API is a bespoke suit, a standard is a t-shirt
      • Talking about OpenSocial all over the place
      • Portable Apps, not data?
      • Mixing degrees of publicness in HTTP
    • ►  April (2)
      • Digital publics, Conversations and Twitter
      • Comcast's Bialystock and Bloom Business Model?
    • ►  February (3)
      • Be Organic, not Viral
      • The Social Cloud
      • LIFT Conference starts
    • ►  January (7)
      • Sheet music redux
      • Fear of the new - the Internet, Tea, and MapReduc...
      • OpenSocial Hackathon next week in SF
      • Identity Theft is not a crime
      • memes, dreams and themes
      • URLs are people too
  • ►  2007 (45)
    • ►  November (3)
    • ►  October (4)
    • ►  September (4)
    • ►  August (10)
    • ►  July (3)
    • ►  June (8)
    • ►  April (2)
    • ►  March (6)
    • ►  February (3)
    • ►  January (2)
  • ►  2006 (119)
    • ►  December (13)
    • ►  November (8)
    • ►  October (16)
    • ►  September (10)
    • ►  August (3)
    • ►  July (6)
    • ►  June (24)
    • ►  May (3)
    • ►  April (10)
    • ►  March (7)
    • ►  February (8)
    • ►  January (11)
  • ►  2005 (101)
    • ►  December (10)
    • ►  November (13)
    • ►  October (9)
    • ►  September (8)
    • ►  August (7)
    • ►  July (7)
    • ►  June (8)
    • ►  May (12)
    • ►  April (7)
    • ►  March (6)
    • ►  February (1)
    • ►  January (13)
  • ►  2004 (53)
    • ►  December (8)
    • ►  November (5)
    • ►  October (6)
    • ►  September (7)
    • ►  July (5)
    • ►  June (3)
    • ►  May (2)
    • ►  March (3)
    • ►  February (7)
    • ►  January (7)
  • ►  2003 (196)
    • ►  December (12)
    • ►  November (14)
    • ►  October (21)
    • ►  September (23)
    • ►  August (19)
    • ►  July (11)
    • ►  June (14)
    • ►  May (9)
    • ►  April (22)
    • ►  March (20)
    • ►  February (16)
    • ►  January (15)
  • ►  2002 (225)
    • ►  December (15)
    • ►  November (21)
    • ►  October (22)
    • ►  September (12)
    • ►  August (11)
    • ►  July (28)
    • ►  June (19)
    • ►  May (29)
    • ►  April (18)
    • ►  March (19)
    • ►  February (17)
    • ►  January (14)
  • ►  2001 (13)
    • ►  December (2)
    • ►  November (11)

About Me

My Photo
Kevin Marks
Kevin Marks works at BT as VP of Web Services. From 2007 to 2009, he worked at Google on OpenSocial. From 2003 to 2007 he was Principal Engineer at Technorati responsible for the spiders that make sense of the web and track millions of blogs daily. He has been inventing and innovating for over 17 years in emerging technologies where people, media and computers meet. Before joining Technorati, Kevin spent 5 years in the Quicktime Engineering team at Apple, building video capture and live streaming into OS X. He was a founder of The Multimedia Corporation in the UK, where he served as Production Manager and Executive Producer, shipping million-selling products and winning International awards. He has a Masters degree in Physics from Cambridge University and is a BBC-qualified Video Engineer.One of the driving forces behind microformats.org he regularly speaks at Conferences and Symposia on emergent net technologies and their cultural impact.
View my complete profile