Creating Finite State Machines in PHP 8.3

As developers, we’re constantly managing where entities are in some flow. 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 Creating Finite State Machines in PHP 8.3 appeared first on php[architect].

https://www.phparch.com/2024/01/creating-finite-state-machines-in-php-8-3/

Creată 11mo | 31 ian. 2024, 17:20:04


Autentifică-te pentru a adăuga comentarii

Alte posturi din acest grup

Community Corner: PHPxWorld with Chris Morrell

In this episode, Scott talks with Chris Morrell about PHPxWorld and a hopeful return to in-person User Groups. Links: PHPxWorld – https://phpx.world/ Chris on BlueSky – https://bsky.ap

20 dec. 2024, 18:20:07 | PHP Architect
php[podcast] 2024.12.19

This week on the PHP Podcast, Eric and John talk about PHP Tek 2025, Home Row Mod, Glutton Malware, Larave Visual Code Extension, Free Copilot, Free Webstorm, and more… Links from the show: P

20 dec. 2024, 04:20:07 | PHP Architect
php[podcast] 2024.12.12

The post php[podcast] 2024.12.12 appeared first on php[architect

13 dec. 2024, 00:50:03 | PHP Architect
Community Corner: Serverless Architectures With Nelson Isioma

In this episode, Scott talks with Nelson Isioma about his article in the November 2024 issue of the php[architect] magazine about Serverless Architectures. Links pScan – https://github.com/N

11 dec. 2024, 18:40:06 | PHP Architect
php[podcast] 2024.12.5: Tek(nically) Speaking

This week on the php podcast, Eric and John talk about Lazy Object in PHP 8.4, php[tek] 2025 first round of speaker selection is done, PHP Architect is now on Bluesky (@phparch.com), join the PHP A

6 dec. 2024, 02:10:04 | PHP Architect
How To: Soft Delete Data in Laravel 11

The terrible thing about deleting data from a database is that it’s gone forever. We can’t even look at the data to see if we need it because it’s gone. If we need the data back,

5 dec. 2024, 19:10:05 | PHP Architect
Community Corner: Concurrency With Florian Engelhardt

In this episode, Scott talks to Florian Engelhardt about concurrency in PHP. Links Florian on Mastodon – https://phpc.social/@flowcontrol Florian’s Website – https://dotbox.org Ar

4 dec. 2024, 22:20:03 | PHP Architect