Media Types, Plumbing and Democracy

December 22, 2009

One of the recurring debates in the REST community is the use of media types. There are two opinions about the use of media types.

Opinion 1: Web services must use standard media types to be RESTful.
Opinion 2: Custom media types are necessary to keep interactions visible, and to serve as contracts.

24 comments Read the full article →

Second Draft of RESTful Web Services Cookbook

November 19, 2009

A second draft of the book is now available on Safari Online.

0 comments Read the full article →

JAOO Slides on REST

October 7, 2009

I spoke at JAOO yesterday on a track run by Stefan Tilkov on REST. Mike Amundsen picked up some topics. The theme was to illustrate the kinds of trade-offs you may have to make to favor one aspect of architecture over another. The slides are here.
REST: Theory vs Practice

1 comment Read the full article →

Enterprise Web Apps

September 5, 2009

In his post titled The Web in the Enterprise Stefan makes an excellent point about the enterprise web.

Many web frameworks, especially those within the Java space, try to support the development of desktop applications that are delivered over the Web as opposed to “web sites”, and I believe this idea is deeply flawed: Any Web [...]

2 comments Read the full article →

RESTful Leaky Abstractions

August 7, 2009

John Calcote in RESTful Transactions:

It’s clear that creating proper RESTful transaction semantics is a tricky problem.

Yes, only when you try to replicate connection-oriented interactions over HTTP. The solution to this problem is simple – "don't do it".
HTTP is not a data manipulation API. Transactions come into picture only when you treat HTTP as a [...]

5 comments Read the full article →

Is this RESTful?

July 20, 2009

This is a wrong question to start with. My request and recommendation to those designing RESTful applications is to never start with the question of whether any given design decision is RESTful or not. After all, REST is an architectural style. An architectural style, on its own, serves no end function.
A healthy discussion around (a) [...]

4 comments Read the full article →

A YardStick for the RESTful Web Services Cookbook

July 8, 2009

After some deliberations and late night conference calls, Mike and I came up with the following yardstick for our RESTful Web Services Cookbook.

Can we, with a straight face, explain and justify any given recipe in this book to our prospective readers? If the answer is yes, the recipe stays. If not, it’s out.

See A Measure [...]

0 comments Read the full article →

BTC 2009

June 28, 2009

I just came back from the 2009 Bicycle Tour of Colorado. This was a 515 mile long (excluding an optional segment to the Colorado National Monument) loop ride from Glenwood Springs, Colorado with over 1700 other riders from all around US and a few other countries. We started the ride on June 21 from Glenwood [...]

2 comments Read the full article →

Caching Chapter

May 25, 2009

Here is a post on our thoughts on the chapter on caching for our RESTful Web Services Cookbook.
Let us know if you have any comments.

0 comments Read the full article →

Orca Hurt

May 25, 2009

My bike, hurt but still standing after yesterday’s crash.

The right shifter looks bad. Both the levers are damaged. The front break assembly is bent. The fork and the front wheel seem alright, as I was able to ride for 15 more miles with the front break assembly disengaged. It is going to the shop today.

0 comments Read the full article →