October 11, 2005 § Leave a comment

I’ve been noodling some more about how to clarify
the concepts behind STRUM, and particularly how it relates to REST.

I’ve stripped the idea down further to something
I call DETH: like REST, but more so. 🙂
DETH = Dictionaries
Encoding/Transmitting HTML.
I’ve started mocking it up on the
forms-brainstorming page:

DETH is intended to be the microformat
(or HTML compound, whatever) for XHTML Basic

is, it is a stylized convention for how to parse useful information out of a
human-readable structure. But not just any information. The goal, in
fact, is to extract REST-compliant web services out of XHTML forms.
Not only would this allow you to use a generic web browser to invoke/test
these web services, but it also ensures that the API is (at least minimally, and
possibly significantly)

The idea is that a
DETH web service is described by a URI, e.g., “http//”.
You can either:

a)do a GET (with no
body) against that URI, or

b) doa POST
containing a ‘dl’ dictionary or an url-encoding key-value

The reply would contain at least
one “class=deth” form or anchor which could be parsed to determine which
messages could be sent as followup. And so on, and so

To be sure, this is not a “full”
REST solution. It wouldn’t support PUT or DELETE, or any input more
complicated than a dictionary. But that’s the point — the goal is
to build the simplest possible system that does *any* useful work, so we can
find out where the real pressure points are *in practice*. Hopefully this
gets us 80% of the benefit with 20% of the effort. Actually, I think it is
more like 51.2% (80x80x80) of the benefit with 0.8% (20x20x20) of the effort,
but you get the idea.

Rendered (but
non-working) examples are available

Leave a Reply

Please log in using one of these methods to post your comment: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

What’s this?

You are currently reading STRUM, REST, and DETH at iHack, therefore iBlog.


%d bloggers like this: