~/talk

Good API design

Talkat EuroPython 2011 · 2011-06-20..06-26· [api-design]
links:none on file
slides:none on file

Argues that the single worst mistake is no API or an accidental one that exposes the database, and advises providing a documented, runnable examples API from day one. Recommends use REST and JSON for web services, build a layered core API so clients never depend on internals, and design for performance with batch requests (e.g., request ten years of player data in one call to avoid 10 round trips). Pushes phased versioning, a data dictionary, and writing real client scripts to validate the design.

AI-written summary · about

  1. 0:00Intro
  2. 2:07When you do software
  3. 5:52What's an API
  4. 7:16What's an Anti-pattern
  5. 8:45API Design Antipatterns
  6. 9:46More kinds of APIDAS
  7. 10:56The very worst APIDA
  8. 12:58Why "no API" is bad
  9. 17:13What to do instead
  10. 21:18The accidental API
  11. 23:02Why "no design" is bad API
  12. 24:27Wtdi: Think
  13. 26:29Wtdi: Forget
  14. 29:40A worst-case bad API...
  15. 30:56Too many cooks APIS
  16. 35:31API Transition: must plan!
  17. 37:22Fear of commitment
  18. 37:40The "Let's do both!" APIDA
  19. 38:32gmpy as a bad example
  20. 39:18To decide is human
  21. 40:25Inconsistency APIDAS
  22. 41:18Why inconsistency?
  23. 44:40Prog.language support
  24. 47:00Standard-protocol support
  25. 48:35Debugging errors, docs
  26. 50:23Performance issues
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 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
?
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.