News for hackers. Stuff that matters.
Re:The realtime web: evolution of the user experience by overlisted on Monday May 09, 2022 @08:58AM (#31313480)
Those sequence diagrams are outstandingly useless.
Re:The realtime web: evolution of the user experience by stichers on Monday May 09, 2022 @09:14AM (#31313608)
Thanks for your feedback. Could you elaborate a little? I'm not being snarky -- I came up with them based on similar things I'd seen online and I'm not great at visual communication, so if you've improvement suggestions, I'd genuinely like to hear them.
Re:The realtime web: evolution of the user experience by overlisted on Monday May 09, 2022 @11:32AM (#31315446)
They would be a lot clearer if they showed how the messages actually look, with some example data.

For example the HTTP one could have `{ timeout: 60000 }` in its requests and stuff like `{ events: [{ type: "something_changed" }] }` in the responses.

And the WS messages could look something like `{ action: "send_message", content: "hi" }` and `{ event: "new_message", content: "hi" }`.

Just an idea.

Re:The realtime web: evolution of the user experience by stichers on Monday May 09, 2022 @12:54PM (#31316575)
Thanks