As developers, we’re constantly managing where entities are in some state. Entities like blog posts, multi-step user registration, and even UI elements can exist in multiple states, and we’re responsible for making sure that they’re always in a valid state. If something unexpected happens in those flows, it can cause bugs, which can cause us […]
The post What Are Finite State Machines appeared first on php[architect].
https://www.phparch.com/2024/01/what-are-finite-state-machines/
Login to add comment
Other posts in this group

This week on the PHP Podcast, Eric and John discuss PHP 8.5’s new INI Diff feature, Exploiting Public APP_KEY Leaks, Does Theo listen to the podcast? Spoiler: NO, and more. Links from the sh

In this episode, we talk with Shane Rosenthal and Simon Hamp about NativePHP for Mobile, which allows you to deploy Laravel applications to mobile devices and use native features like push notific

This week on the PHP Podcast, Eric and John discuss BosonPHP, NativePHP, PHP is the new JavaScript, Shocking stories of Electricity, snake_case vs. camelCase, and why snake_case is better, among o

This week on the PHP Podcast, Eric and John talk about Happy Birthday PHP, PHP Tek 2026 CTF Opened, Quirks in PHP, Laminas MVC Retiring, and more… Links from the show: Happy Birthday, PHP &#

It’s June, and here at PHP Architect Magazine, we’re celebrating something truly monumental, the 30th birthday of the PHP programming language. I’ve found myself wondering where the internet,

In this episode, we talk with Chris Hartjes about his column in PHP Architect Magazine, where he gets to “Yell at Clouds” (as the old Simpsons joke goes) about whatever is on his mind

This week on the PHP Podcast, Eric and John discuss PHP TEK 2025 Tony Plushy going out, JetBrains AI, One Billonth GitHub Repo, Running Linux Inside of Microsoft Excel, Rest-Certain Project, and m