~/talk

Building RESTful APIs with Symfony Components

speakerdeck:victoriaq
slides:none on file

Symfony components map HTTP to objects (HTTP Foundation, PSR-7 bridge), convert objects to JSON with the Serializer (groups, max-depth, custom normalizers), validate input with Validator and Form, and authenticate via Guard or JWT (Lexik bundle). Examples include using JSONResponse, returning 201 with Location header, serializing selected fields for list vs detail, and an API Platform demo: working API in ~40s that spins up a Swagger UI successfully. Key bundles: FOSRest/JMS/Hateoas/LexikJWT

AI-written summary · about

  1. 0:00Introduction
  2. 1:02Why RESTful APIs
  3. 5:10Why REST and Symphony
  4. 5:46Why Symphony Components
  5. 7:05How to create your own framework
  6. 8:03HTTP Foundation
  7. 10:12PS7 Standard
  8. 11:28Realizer
  9. 15:37Annotations
  10. 17:54Validator
  11. 21:55Questions
  12. 26:55First Responder
  13. 27:51Jason Token
  14. 29:07Level 3 API
  15. 30:17Documentation Bundle
  16. 31:27API Platform
  17. 35:05Symphonia
  18. 36:13Conclusion
~/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.