~/talk

What they should tell you about API development

Talkat PHP Serbia Conference 2016 · 2016-05-28..05-29· [api-design, documentation]
slides:none on file

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

  1. 0:00Start
  2. 1:37SOAP != Bad
  3. 2:36Don't confuse. REST for a metric of quality
  4. 3:03Making an API 100% REST is hard
  5. 3:34Do you actually need REST?
  6. 3:48REST = Resources RPC = Commands
  7. 4:31Using commands for resources sucks
  8. 6:29State Changes COULD be RPC
  9. 7:55State Machine
  10. 9:10Sometimes a little RPC sneaks in...
  11. 10:09There's a reason Slack use RPC
  12. 19:18Maybe you don't need HATEOAS
  13. 26:22Don't trust self- testing apps/services
  14. 28:06TDD is the easiest way to build a complex HTTP API
  15. 36:31Runscope + Ghost Inspector Full-stack application testing, simplified.
  16. 38:24BUILD APIS YOU WON'T HATE
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.