~/talk

Build RESTful APIs easily with Symfony

Talkat PHP UK Conference 2015 · 2015-02-18..02-20· [php, web-platform]
slides:none on file

Concrete recipes and working configs for building JSON APIs with FOSRestBundle, object serialization via JMS serializer, and hypermedia using the HATEOAS project. Shows content‑type negotiation, a request body converter that maps incoming JSON to domain objects, automatic validation producing a ConstraintViolationList, and a wrapper for consistent error payloads. Demonstrates Bazinga HATEOAS output with _links and _embedded plus pagination metadata, and using Guzzle for service‑to‑service calls, all wired and tested in real examples.

AI-written summary · about

  1. 0:00Intro
  2. 0:21Who am I?
  3. 0:50What is REST?
  4. 2:10Layered System (4/6)
  5. 2:31Uniform interface (5/6)
  6. 3:07Code on demand (optional) (6/6)
  7. 3:39HTTP Methods
  8. 5:48Levels
  9. 8:00Configuration
  10. 8:30Usage
  11. 10:00Exclusion strategy
  12. 11:28Serializer Handler
  13. 14:56Other features
  14. 16:18Controller
  15. 18:17Content type negotiation
  16. 19:17Request Body Converter
  17. 20:29Validation (with the Symfony Validator Component)
  18. 24:51Error handling
  19. 27:45HATEOAS
  20. 33:56Result
  21. 35:48Representation
  22. 37:10Guzzle Bundle
  23. 38:21Authentication
  24. 39:48Authorisation
  25. 44:11Some references
~/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.