~/talk

Sylius & API Platform: the story of integration

Talkat API Platform Conference 2021 · on Friday, 2021-09-10· [api-design, ruby-on-rails]
slides:none on file

Integration pairs Sylius business core with API Platform as infrastructure using Symfony Messenger and a command+handler pattern so API requests become validated, transactional commands. Handlers never read session/request state; commands carry raw identifiers (order token, product_variant_code) to allow deferred execution and avoid serializing objects. Added command enrichments to inject current user/channel/order before dispatch. Migration notes: experimental breaking changes tracked; shop API migration can be done route-by-route. Testing uses Behat for 1,500+ scenarios (≈17k → 22k steps) and PHPUnit for API contract checks, covering ~80% of shop features.

AI-written summary · about

  1. 0:00Introduction to integration
  2. 2:26Goals of the integration
  3. 3:30Application architecture approach
  4. 7:22Command pattern implementation
  5. 13:22API design and IRI usage
  6. 19:42Data modeling principles
  7. 24:40Testing architecture with BDD
  8. 32:22API contract testing
  9. 33:26Conclusion 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.