Elektrine lite

← Feed

@Schrank@phpc.social

Post #4270218

2026-07-31 07:36 UTC

Shopware 6 Hidden Gems #6: Two state machine tricks — diagrams for free and forcing “impossible” transitions Order states, delivery states, payment states — Shopware models all of them as state machines with defined transitions. Which is great, until a) a new colleague asks "so which states can an order actually be in?" and you start drawing boxes on a whiteboard, or b) an order gets stuck in a state it can't legally leave and you start writing UPDATE statements… http://winkelwagen.de/2026/07/31/shopware-6-hidden-gems-6-two-state-machine-tricks-diagrams-for-free-and-forcing-impossible-transitions/

Replies (0)

No replies.