~/talk

Developing an API without API Platform

slides:none on file

Starts from a plain Symfony app (composer require api) and reconstructs API Platform features with a few dozen lines: View listener to serialize controller results, value resolver to deserialize and validate JSON into API models, and a custom ValidationException handled by an EXCEPTION listener that formats violations. Adds a tiny CORS listener, hand‑written SDK, user manual and a React+TypeScript+Redux admin. v0.1 implements the POST/GET review API (about 80% feature parity); it works but maintenance and boilerplate motivate using modern API Platform with pagination, SDK generation and Mercure.

AI-written summary · about

  1. 0:00Introduction and background
  2. 2:35Defining the API requirements
  3. 5:31First attempt with API Platform
  4. 7:59Switching to NelmioApiDocBundle
  5. 9:49Simplifying controller logic
  6. 10:53ViewListener for serialization
  7. 12:02Value resolver for request handling
  8. 14:22Exception handling for validation
  9. 16:49CORS listener implementation
  10. 18:16Initial API v0.1 completion
  11. 19:02User manual and SDK requests
  12. 21:13Admin interface development
  13. 22:18Project outcomes and reflections
  14. 23:47API Platform today vs four years ago
  15. 25:36Closing remarks and Q&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.