~/talk

Uniformity ain't all bad getting consistent behavior across your API

github:arsduo
slides:none on file

Concrete techniques and failures: code shows a centralized standard criteria layer for consistent query params, an override render to pass options pattern for tidy serializers and per-client detail levels, and a RESTful batch approach implemented as a batch_api rack middleware gem (sequential execution, potential for parallelism). Examples include the Koala double JSON encoding bug and an executable docs/test harness, plus opinions on single-format JSON, strict output, migration-style versioning. Watch if working code and gotchas matter.

AI-written summary · about

  1. 0:00Start
  2. 4:21Facebook Describes the App Restrictions Api
  3. 9:08Expect Consistent Behavior
  4. 10:36Code Smell
  5. 10:51Api Smell
  6. 16:09Pseudo Code
  7. 17:20Sending Back the Data to the User
  8. 17:39Tour of Render
  9. 20:04Managing Global Behavior
  10. 21:36Bonus Chapters
  11. 22:08Batch Api
  12. 23:21Example To Change Themes
  13. 25:24Final Summary
  14. 26:14How Do You Approach Api Versioning
  15. 28:57Why Did You Not Use Http Pipelining for the Badge Requests
  16. 29:56Do You Do any Documentation Generation from Your Apis
  17. 30:12Executable Documentation
~/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.