State in a Stateless World

Luka Mužinić (14.Apr.2018 at 10:50, 1 hr )
Talk at PHP Yorkshire 2018 (English - UK)

Rating: 5 of 5

Have you ever heard terms like automata theory, Turing machines and finite state machines? While they might sound too abstract or even out of place for web development, rest assured, they can be quite useful in your web applications.

We will quickly cover some basics and then dive right into most popular PHP state machine libraries. After the talk, you will know benefits of using state machines and, most importantly, how and when to implement them.

Who are you?

Claim talk

Talk claims have been moved to the new Joind.in site.

Please login to the new site to claim your talk

Want to comment on this talk? Log in or create a new account or comment anonymously

Write a comment

 
Please note: you are not logged in and will be posting anonymously!
= zero plus four

Comments

Rating: 5 of 5

14.Apr.2018 at 11:32 by James Titcumb (278 comments) via Web2 LIVE

Good detailed look at state machines and explanation of how it works, and so on. Nice!

Rating: 5 of 5

14.Apr.2018 at 11:35 by Matt Cavanagh (2 comments) via Web2 LIVE

Good introduction and overview of state machines. Might have made more sense to go through the door scenario on a transition basis and how the class looks etc. E g show an actual transition in the config and then how it looks in the class when the transition is done.

Might have been good to show how to utilize events e.g log to database etc.

Rating: 5 of 5

14.Apr.2018 at 13:18 by Kenneth Schabrechts (46 comments) via Web2 LIVE

Great talk with a great door example.
Definitely going to try and implement this at work if possible.

Rating: 4 of 5

14.Apr.2018 at 21:31 by Iain Fogg (21 comments) via Web2 LIVE

Good session, thanks!

Rating: 5 of 5

15.Apr.2018 at 11:13 by Pim Elshoff (56 comments) via Web2 LIVE

I want to give this talk a lower score. I loved the idea of the state pattern, but I am a strong opponent of business logic in framework / package code. I would like to see more people separate these concerns better.

But Luka was really good. I have nothing to add to this performance. You rocked our pants off!

Rating: 5 of 5

15.Apr.2018 at 13:41 by Shaun Walker (20 comments) via Web2 LIVE

Nice clear explanation of state machines, I think instead of using the Door example throughout it might have been better to use one of the other real world examples highlighted later on in the talk, like retail order progress or something. As I think the Door example is a little abstract, a more real world example might lead to a better understanding of the useful-ness of the various events highlighted, and potentially lead to better questions.

I appreciate the need to find a simple enough example to fit on slides though.

I enjoyed it and it refreshed me nicely to want to start implementing these in my own code. I particularly appreciated highlighting the need to enforce the usage of implemented state machines throughout a project, reminding people that a pattern is only as good as the developers who follow it.

Would love to see more talks on other topics from Luka.

Rating: 5 of 5

15.Apr.2018 at 15:34 by Vincenzo Ciaccio (10 comments) via Web2 LIVE

Great talk, nice delivery.
A lot of good examples.
Thanks

Rating: 4 of 5

15.Apr.2018 at 17:08 by Adam Prescott (7 comments) via Web2 LIVE

A nice introduction to state-machines, Luka did a good job of taking an abstract concept and explaining it in a practical way with the door example and the symfony/workflow package. I think it would have been useful to see some more practical examples using a functional application.

Rating: 5 of 5

17.Apr.2018 at 13:17 by Andrew Beattie (6 comments) via Web2 LIVE

Great and interesting talk with a good example about a door in several states.

© Joind.in 2018