REST and document types

2008-04-18 @ 18:29#

this post hits the nail on the head when i comes to clearing up the details of the REST approach. the big one i notice here - document-types are constrained.

this tends to be one of the later constraints that REST-ful folks deal with. it's hard to remember that HTML is a document type and that XML is not. HTML as a schema. XML does not. that means text/html is a REST-ful document type and text/xml is *not*. that's why Atom is so useful. it's an extensible XML schema that works well for XML-based documents on the web.

there entire article is quite good. check it out!