James on REST

Since everyone is blogging about REST I was feeling left out, so here is my post.

Think about this as ordering a Domino’s Pizza.

You make a call and you get something in return. If you do it while lying down on the recliner, that is very RESTful.

If Howard Dean is screaming for a pizza, that isn’t very RESTful.

See how simple this all is? Ordering from a lazy-boy recliner, RESTful. Having Howard Dean order the pizza, not RESTful. All this talk about ATOM, COBRA, COM, HTTP, SOA, SOAP just confuses folks (if I wasn’t so hungry I probably would have used a Simpson’s example, but you’ll have to deal with this because I’m going to order a pizza right now).

11 Comments

  1. Bill says:

    Whew! Glad that’s cleared up.

    Oh, don’t forget the beer.

  2. Erin says:

    Damn funny James. I’ve been wondering about all these “REST examples” people have been coming up with.

  3. Sean Gillies says:

    Couldn’t you have worked in the dork with white hat and iPod or the meditating babes? That would really clear things up.

  4. James Fee says:

    The “Dork” is only for ESRI podcasts. I can’t just trot him out for anything as unimportant as REST.

  5. Bill says:

    It’s those kinds of standards that keep us coming back. ;)

  6. Chad says:

    But how does it work with Manifold though?

    ;)

  7. KoS says:

    Only took 7 posts!!

    KoS

  8. Bill says:

    That depends. Intake or exhaust? :)

  9. August says:

    I’m confused.

    Do they cache the pizzas at your house ahead of time?

  10. James Fee says:

    Good question, maybe I should have used DiGiorno and cached them in my freezer.