~/talk

Crafting Elegant APIs with Laravel

Talkat phpday 2024 · 2024-05-16..05-17· [laravel, frontend-architecture]
slides:none on file

Argues for designing APIs before coding and shows concrete results: API list/detail use Laravel resource classes and route model binding, endpoints get protected by middleware tokens and optionally Laravel Sanctum, specification is validated against OpenAPI with unit tests and a validator package, client caching uses eTag caching, real-world work reduces a page stack from 80 seconds to 200–300 ms, server cache hit rates drop below 1% so BFF layers and URL versioning (v1/v2) handle breaking changes.

AI-written summary · about

  1. 0:00API design with Laravel
  2. 3:33API design considerations
  3. 11:18Securing API endpoints
  4. 16:17Live Laravel API demo
  5. 27:18Verifying APIs post-deployment
  6. 31:08Q&A
~/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.