Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement state machine #1

Open
mstade opened this issue Oct 6, 2014 · 0 comments
Open

Implement state machine #1

mstade opened this issue Oct 6, 2014 · 0 comments

Comments

@mstade
Copy link
Owner

mstade commented Oct 6, 2014

Webmachine is a pretty cool take on HTTP processing, and I reckon a nappy version of the state machine could likely be implemented as a separate library. This would be very cool, because HTTP is pretty ubiquitous and it'd provide the node community with a much needed sane and grown up alternative to the oh-so-sad express. I don't care much for the way Webmachine works in general (it's ReqData API is weird and Context is a convenient hack around the how-do-I-pass-a-bunch-of-state-around? problem) but the idea that HTTP processing is a state machine with sane defaults and pluggable processors would be pretty nifty. Coupled with persistent data structures for messages, it could also allow for some seriously cool debugging opportunities, like a visual debugger much like what Webmachine provides.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant