Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Zed Shaw uses state machines in Mongrel2 to handle connections.

http://sheddingbikes.com/posts/1278464593.html

Here's the image of the state machine: http://sheddingbikes.com/mongrel2_state.png

Now imagine having something like that (say a prettier version of that chart) for web interactions with your complex web app.



A related tweet from him:

"I love state machines. They turn asynchronous event problems into nice tidy well known problems."




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: