The H Factor for Media Types
unlike the REST Patterns article, which categorizes hypermedia based on CRUD capabilities, i've tried to parse out various features of a media type that allow servers and clients to share information about hypermedia capabilities. i've dubbed my effort The H Factor.
currently, i have identified two classes of factors: link support, and control data support. here's my current breakdown:
- Link Support
- Embedding links (LE)
- Outbound links (LO)
- Templated queries (LT)
- Non-Idempotent Updates (LN)
- Idempotent Updates (LI)
XmlHttpRequestobject w/ PUT or DELETE
- Control data for reads (CR)
- Control data for updates (CU)
- Control data for methods (CM)
- Control data for link relations (CL)
by identifying elements of a media type that support link semantics and detailing the ways clients and servers can decorate these elements with added information to modify the method used and the control data supplied, media types become more than representations of data, they become the instrument of application flow for both the client and server.
that is the essence of a hypermedia type.