What they should tell you about API development
summary
Argues documentation, testing and caching must be planned first, not afterthoughts; uses API Blueprint or RAML plus Dredd to run doc examples as tests. Recommends Docker Compose for full-stack local testing, Runscope/Ghost Inspector for real-user request replay, and Kong for rate limiting. Shows state machines to handle transitions (patching status replaces ad hoc start/finish endpoints) and says removing deep includes cuts a 5s mega‑query to <0.5s by whitelisting allowed eager loads. Advises mixing REST and RPC pragmatically and using OAuth2 for auth.
AI-written summary · about
chapters (16)
- 0:00Start
- 1:37SOAP != Bad
- 2:36Don't confuse. REST for a metric of quality
- 3:03Making an API 100% REST is hard
- 3:34Do you actually need REST?
- 3:48REST = Resources RPC = Commands
- 4:31Using commands for resources sucks
- 6:29State Changes COULD be RPC
- 7:55State Machine
- 9:10Sometimes a little RPC sneaks in...
- 10:09There's a reason Slack use RPC
- 19:18Maybe you don't need HATEOAS
- 26:22Don't trust self- testing apps/services
- 28:06TDD is the easiest way to build a complex HTTP API
- 36:31Runscope + Ghost Inspector Full-stack application testing, simplified.
- 38:24BUILD APIS YOU WON'T HATE
