| WebSeitz/wikilog |
| Restful Web Services |
|
| last edited by BillSeitz on Jul 20, 2008 7:59 am |
Leonard Richardson and SamRuby book on ReST-ful Web Services ISBN:0596529260 . [ROA] = [Resource Oriented Architecture].
Interesting how they prefer using XHTML as a format instead of XML. Partially because it's more of a Hyper Media format, which makes it easier for them to provide links from resource to resource, and even use Web Forms as a way of documenting search param formats, etc.
Unfortunately, since XHTML is still Web Browser-focused, they have to use not-yet-standard XHTML-v5 to have HttpPut as a Web Forms method, etc.
they also/still seem to encourage WADL.
Leonard Richardson blog entry on using suffixes to denote representation format varieties (Atom Standards vs HTML, different languages, etc.)
Ah, around p252 I see the piece I want. I want to have as similar a structure between a ReST interface and the Web Browser-targeted interface as possible. There's the model:
design your whole system as a [World Of Resources], and turn operations/functions/transactions into CRUD operations on Resources
when you can't or don't-want-to use HttpPut and Http Delete (LoRest), use Http Post but passing _method=delete as a param in either the URI arguments or header/hidden params.
Helpful reference appendices giving opinions on usefulness of various HTTP Responses and Headers.
| See Back Links: Book List | z2007-02-26- Rest Book | |
| User Options Recent Changes Help Page |