~/talk

A Contract-First Approach to Building API-Dependent Applications

TalkinRussianat DUMP 2019 · on Friday, 2019-04-19· [api-design]
links:none on file
slides:none on file

Describes replacing fragile per-client XML Schema checks with runtime contracts expressed as refined algebraic types and exhaustive pattern matching in Ruby. The approach runs pre- and post-call validation and attaches semantic debug context to raw request/response pairs, enabling reusable validations across carriers and faster root-cause debugging in production.

AI-written summary · about

  1. 0:00Contract-first introduction
  2. 1:02API dependency problems
  3. 2:07Typical API integration
  4. 3:53What is a software contract
  5. 4:15Schema-based contracts
  6. 7:46Schema validation
  7. 9:51Schema contract challenges
  8. 10:32Functional approach
  9. 12:21Refined types in Haskell
  10. 14:26Refined types in Ruby
  11. 16:54Algebraic data types
  12. 18:18Refined types validation
  13. 20:30Semantic logging with types
  14. 22:40Schema vs types comparison
  15. 24:48Debugging in production
  16. 25:29Recommended books
  17. 26:33Q&A
~/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.