Baseball is ninety percent mental. The other half is physical.


If only every single API in the world used REST. Representational State Transfer to be exact. It’s so brilliant, yet so simple. It’s one of those things that you look at and think, why the phuk wasn’t this thought of years ago? How could we have been so stupid. Why the phuk do I have to decrypt a WSDL file for Netsuite? Why in the world do I need struggle and spend my entire Sunday debugging the nusoap library because the SOAP headers aren’t properly formatted. Why?

Yes, I am pissed! When I take a look at Twitters API which utilizes the REST architecture, I can’t believe how easy it is. It’s natural language. I construct the URL based upon the info I am trying to receive, and by changing the extension I can control how I receive the response.

It’s so phuking simple: 

http://twitter.com/statuses/user_timeline/lakeshowonline.rss

That’s the Twitter timeline for lakeshowline. If I want to include the friend list, I change user_timeline to friend_timeline. If I want to pull a different user, I change lakeshowonline.rss to whatdaphuk.rss. Want a serialized JavaScript array instead of RSS? lakeshowonline.rss to lakeshowonline.json

Holy phuk, a 3 year old can do this. Will someone please euthanize the developer of SOAP and the god-awful WSDL?!? It’s unbelievable that this is now only coming into use via the Web 2.0 API’s. Why did we make Webservices (SOAP, XML-RPC) so complicated when it could be so easy? Then again, why is George Bush president?

Seriously, if your API isn’t utilizing REST, go phuking fix it.

Tags:

One Response to “I <3 REST”

  1. IceburgTX Says:

    All of that ended up sounded like this to me when i read it:

    “Woof! Grrrrr… BARK! Bark, bark! Rrrrraaawwrrr! WOOF!”

    I love being stupid.
    D

Leave a Reply

WDP Wall

Latest on November 20, 2008

IceburgTX: http://www.jonathancoulton.com/mp3/Code%20Monkey.mp3. There's your theme song, J.

IceburgTX: God made dirt and dirt bust yo' ass!

unknown: Sharae sound like a sexy vixen.... Did you ever call her?

JM: Yeee-aaaah booo-eee. Go Lakers!

space roach: 3 down, 79 to go

phuker#1: the most dominate team to ever play in the NBA

Deez...: ...Nuts.

phuker#1: Where's them taggers @?

IceburgTX: "I felt like destroying something beautiful."

Matt: U R A SUPER DOUCHE CRISS LETO

» Graffiti The Wall



RSS Facebook Status

Archives

Tags

Blogroll

RSS Reddit

RSS Hollywood Tuna

RSS Digg

RSS DListed

RSS Stereogum

Spam Blocked