~/talk

Wiring Prismatic's API with

Talkat Clojure/West 2014 · 2014-03-24..03-26· [api-design]
links:none on file
slides:none on file

Defines how annotated Clojure functions become production APIs by using Plumbing and Schema annotations that fnHouse reads to emit handler metadata, live documentation, a simple router and a ring middleware that coerces JSON string inputs into longs and keywords. Shows a working stack that validates inputs and outputs at runtime, reduces boilerplate, and keeps clients in sync by generating Objective‑C and ClojureScript models with Coax, used successfully at Prismatic.

AI-written summary · about

  1. 0:00Intro
  2. 1:59Guts of a Request
  3. 3:13Handler as Function
  4. 4:42Keyword Functions
  5. 5:24defnk Input Validation
  6. 6:23defnk Default Args
  7. 7:39Guestbook Handler
  8. 9:06Schema for Valid Inputs
  9. 9:41Schematize Input Args
  10. 10:35Schema Validation
  11. 11:29Global Resources
  12. 13:27fnhouse Handler
  13. 15:44Annotated Handler
  14. 16:19Docs for Handlers
  15. 16:49Link to Source
  16. 17:10Swagger
  17. 18:11Routing
  18. 19:30Applications
  19. 21:37JSON Parsing Errors
  20. 22:11Coercion Middleware
  21. 23:16Output Coercion
  22. 23:38Server vs Client Entry
  23. 24:21Output Coercer
  24. 27:09Generate Client Code
  25. 28:07Schema Extensions
  26. 28:56Customizable
  27. 31:13Questions?
~/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.