donderdag 30 oktober 2008

REST

Stuk van Mark Little op InfoQ, waarin de hele tijd Roy Fileding wordt aangehaald. 

Hmmmm....

Wat bv te denken van: 
A REST API must not define fixed resource names or hierarchies. Servers must have the freedom to control their own namespace. Instead, allow servers to instruct clients on how to construct appropriate URIs, such as is done in HTML forms and URI templates, by defining those instructions within media types and link relations. [Failure here implies that clients are assuming a resource structure due to out-of band information, such as a domain-specific standard, which is the data-oriented equivalent to RPC's functional coupling]."

Vooral dat stuk tussen die haken, over die resource structuur: ik weet niet zeker of ik he daar wel mee eens ben. Ik ben wel voor die resource structures. 

1 opmerking:

Unknown zei

Tja, eigen schuld dikke bult. Moet je maar definiëren wat resources zijn en wat de semantiek is. REST is voornamelijk syntactisch gedefinieerd, maar dat is niet genoeg.

Kees