Upgrade to Pro — share decks privately, control downloads, hide ads and more …

PHP Railway Flow Based Programming

PHP Railway Flow Based Programming

This talk is about Railway Flow Based Programming based from the work of Anton Mishchuk


Here we present the concept and show an implementation in PHP

Source code associated to this talk


Article associated to this talk


Video associated to this talk


Mathieu Ledru

March 25, 2021

More Decks by Mathieu Ledru

Other Decks in Programming


  1. Two layers in FBP application @matyo91 @matyo91 25-03-2021 Botton layer

    : « business logic » Top Layer : « communication logic »
  2. Request : (userId, name, email) Name is blank, email is

    not valid User DB not found Authorization error Timeout Exemple @matyo91 Receive request Validate and canonicalize request Update existing user record Send verification email Return result to user 25-03-2021
  3. @matyo91 AddOne MulByTwo MinusThree Producer Consumer Client 25-03-2021 Supervisor IP

    {number:3} IP {number:3} IP {number:4} IP {number:5} IP {number:5} IP {number:8}
  4. Hello! I Am Mathieu Ledru You can contact me at

    @matyo91 @matyo91 Thanks! Any questions? 25-03-2021