Event is over
done

Buy tickets for the next conference PHP fwdays'20!

Buy ticket

Using the Workflow component for e-commerce

Talk video

Talk presentation

We got the task to make an order API, from open order, to delivered, with payments in between and after. So there are naturally a lot of states, and a lot of transitions where we needed to calculate the prices correctly and handle credit card transfers. Keeping track of all of this, and when we need to do what, ensuring that an order is always up to date, and that it has the data it needs, and that we send good error messages when a user can not do an action, was a challenge for us until we discovered the workflow component.

This is a real happy use case story where I will show you how we did this, and how much more straightforward it was for us to build an otherwise complex system using the workflow component.

Michelle Sanver
Liip
  • A software engineer at Liip.
  • Michelle is a code-passionate colourful geek and has more than 15 years of PHP experience.
  • She proudly does many things at Liip, including organising internal hiking events!
  • In daily work she uses mainly Symfony, ElasticSearch and RabbitMQ.
  • Twitter, GitHub
Sign in
Or by mail
Sign in
Or by mail
Register with email
Register with email
Forgot password?