~/talk

API Tips from the Frontline

slides:none on file

Practical rules and concrete defaults: use JSON in the body with Content-Type application/json, put results under a data key, paginate by default (page size ~25) and never return entire DB, accept comma‑separated filters, version via /v1, and use HTTP 400 plus a JSON error object for validation failures. Use plupload for client file uploads and Guzzle or cURL for server uploads, benchmark with Blackfire, test APIs with Guzzle or framework internal calls, and a project shipped in six weeks had zero bugs using this workflow.

AI-written summary · about

  1. 0:00Intro
  2. 0:24Objectives
  3. 1:26Anna Filina
  4. 2:27Lists
  5. 6:56Details
  6. 7:28Response Example: List
  7. 8:45Verbs
  8. 12:01Multiple Formats
  9. 14:07Request Example: Add
  10. 14:59Upload
  11. 18:50Status Codes
  12. 20:13Example of Error
  13. 22:06Guzzle Test
  14. 24:20Testing Tips
  15. 27:26Multiple Methods
  16. 31:03OAuth2 - Conceptual Diagram
  17. 33:58Digest - Conceptual Diagram
  18. 35:25Progressive Rewrite
  19. 36:07Services vs Libraries
  20. 38:20Tools
  21. 39:03Reuse & Standardize
  22. 39:51Benchmark
  23. 41:07Performance Tips
  24. 42:54Useful Links
~/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.