Use your database to power state machines

from blog Lawrence Jones, | ↗ original
Most people are familiar with state machines and know their value. The average state machine library can help you model states, prevent invalid transitions, and produce diagrams that help even non-technical people understand how the code behaves. This article isn’t about making the case for state machines. It’s about how you take the concept of a...