Entities lifecycle is usually something more than create and delete. Models with which we are working on day to day basis change their state under some business circumstances. State machine patterns can be a powerful allay when solving this kind of problem.
How does it look like? What are the pros and cons of state machine usage? What are the things that we should be beware of? I will answer these questions during my talk, together with practical differences between the most popular implementation.
What you'll learn from this talk:
Theoretical background of the pattern itself
Major differences between most popular implementations
Practical examples implemented in all examined libraries
This talk was given at the Dutch PHP Conference in 2021, organised and hosted by Ibuildings. Visit https://phpconference.nl or https://ibuildings.nl for more information.
Смотрите видео DPC2021: A short tale about state machine - Łukasz Chruściel онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Ibuildings Dutch PHP Conference 03 Август 2021, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 283 раз и оно понравилось 8 людям.