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

Add XState version ❤️ #61

Open
andreineculau opened this issue Mar 9, 2022 · 0 comments
Open

Add XState version ❤️ #61

andreineculau opened this issue Mar 9, 2022 · 0 comments
Assignees

Comments

@andreineculau
Copy link
Member

When we revived HTTP Decision Diagram in 2013, the best way to draw this was Omnigraffle.
Then we moved over to Cosmogol/JSON and SVG versions.

A decade later, there's XState and XState can serve not only for visualization but also for implementation.

Not many know that HTTP Decision Diagram is part of a higher goal of automating the entire request-response flow, from automatic parsing of headers strictly based on their ABNF grammars, via the decision diagram, and down to the core logic of content negotiation and caching and handling conditionals etc. A decade ago, that has been implemented as a proof of concept via Machina (FSM), but why not piff it up with XState.

This is not just about shiny new stuff, but also hope that the tooling around XState will make it easier for others to understand, visualize and ultimately contribute to a key element of HTTP in specific and APIs in general 🚀

Online references:

@andreineculau andreineculau self-assigned this Mar 9, 2022
@andreineculau andreineculau pinned this issue Mar 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant