Many business processes begin with a status column and a few if statements. Then...
Longhorn PHP @longhorn@phpc.social
Many business processes begin with a status column and a few if statements. Then exceptions, retries, approvals, and failure paths appear. Before long, nobody can say with confidence which transitions are valid or what should happen when something fails. Join @byjg for "Stop Controlling Workflows with If Statements: State Machines in PHP". longhornphp.com