Django REST Framework

2014-02-06 python / django / architecture / www
Django REST Framework: The Good, the Bad and the Ugly. Presented at MelbDjango 0.9 on 6 Feb 2014

Presented at MelbDjango 0.9 on 6 Feb 2014. Here’s the slides:

Notes

Alternatives to REST

I have some reservations about REST, mostly because it seems very focussed on the “nouns” (resources) at the expense of the “verbs”. Also I fear that REST-as-she-is-spoke is tied a bit too closely to HTTP/1.1.

Whereas RPC approaches are generally protocol-neutral and all about the “verbs” (messages). I quite like designing around messages but they also have their drawbacks and it seems to me there must be some kind of middle ground.

note

I’ve done some further thinking about this: see Tranquil APIs.