Welcome to the State Machine Pattern
– wendelladriel.com - submitted by Wendell Adriel
Learn what the State Machine Pattern is and how to apply it in your PHP applications with this in-depth article about it
Read more [wendelladriel.com]
Posts tagged with state machines
– wendelladriel.com - submitted by Wendell Adriel
Learn what the State Machine Pattern is and how to apply it in your PHP applications with this in-depth article about it
Read more [wendelladriel.com]
– dev.to
David Khourshid explains how you can use state machines to make your logic more resilient.
Disabling a button is not logic. Rather, it is a sign that logic is fragile and bug-prone. In my opinion, disabling a button should only be a visual cue to the user that clicking the button will have no effect.
Read more [dev.to]