Statebus is a protocol to synchronize state. It replaces HTTP.
HTTP was designed for static pages. It assumes the user will click reload when a page changes. To implement dynamic pages, programmers today connect layers of web frameworks and tooling to ensure clients and servers stay synchronized as they change.
Statebus builds automatic synchronization into HTTP itself, which eliminates the need for all this extra state synchronization code, and all web frameworks, and a large class of bugs. We find that Statebus sites eliminate 70% of the code of their counterparts, as evaluated on both a TodoMVC benchmark and a real-world rewrite of https://consider.it.
Furthermore, Statebus gives a URL to every piece of internal website state — not just every web page, and allows external websites to use any website's state as easily as it uses its own state. This enables a radically opened web architecture — one that breaks up walled gardens like Facebook.
Instructions are here on Github.
And when you're done with that, check out this meme version!
Please email or message (+1-510-282-4312) Michael Toomim with your thoughts.
Statebus has reactive versions of HTTP's GET and PUT methods, and calls them Fetch and Save:
Here are a few sites we built with Statebus:
Instructions are available here on Github.
Michael Toomim would love to help you, send SMS or iMessage to +1-510-282-4312 for help.