What Are Finite State Machines

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/

Created 2y | Jan 29, 2024, 6:20:04 PM


Login to add comment

Other posts in this group

Community Corner: Verbs with Daniel Coulbourne

In this episode, we talk with Daniel Coulbourne about the Verb library for Laravel, which provides an opinionated, user-friendly introduction to event sourcing. Links: Verbs Library – https:

Aug 8, 2025, 10:20:05 PM | PHP Architect
PHP Podcast: 2025.08.07

The PHP Podcast streams the recording of this podcast live, typically every Thursday at 3 PM PT. Come join us and subscribe to our YouTube channel. X: https://x.com/phparch Mastodon: https://phpar

Aug 8, 2025, 1:20:13 AM | PHP Architect
How PHP Really Reads Your Code (Abstract Syntax Tree (AST))

Do you ever wonder how PHP parses your code? Wonder no longer because in this video, Scott Keck-Warren from the PHP Architect Channel shows you how to inspect your code using the AST with the PHP-

Aug 5, 2025, 5:40:07 PM | PHP Architect
The Psychology of a Developer

This month’s first feature article comes from Nelson Isioma, breaking down ‘Cool Things You Can Do With HTMX’. As Nelson discusses, HTMX brings additional functionality while usin

Jul 30, 2025, 10:40:05 PM | PHP Architect
The PHP Podcast: 2025.07.24

This week on the PHP Podcast, Eric and John talk about Special guest Ben Ramsey, the PHP Community Discord, PHP Community Mastodon, Open Source Licenses, AI in companies and code, HHVM, and more&#

Jul 25, 2025, 1:10:07 AM | PHP Architect
The PHP Podcast: 2025.07.17

This week on the PHP Podcast, Eric and John discuss Spec-driven Development with Kiro, JetBrains on Huggingface, Event Sourcing with Laravel Verbs, Automating your life with n8n, PHP Tek 2026 Webs

Jul 18, 2025, 2:20:04 AM | PHP Architect
The PHP Podcast: 2025.07.10

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

Jul 11, 2025, 1:10:06 AM | PHP Architect