@diosmosis opened this Issue on August 24th 2014 Member

Would open up more UI possibilities. Should be done after composer used to handle plugin dependencies so the plugin can be required by others.

@mattab commented on August 25th 2014 Member

Would open up more UI possibilities.

I'm interested to learn more in your ideas aroud web sockets. What kind of UI possibilities would this open?

@diosmosis commented on August 25th 2014 Member

WebSockets would allow realtime UI updates w/o polling. For example, the web shell part of the piwik debugger will start a request and display output as it is generated (so you don't have to wait for a long running command to finish in order to see output). To do that, it starts a command via a request, then periodically polls it. This means every couple of seconds a new request is sent and the user has to wait between seconds for output. W/ WebSockets we'd make a connection and receive data from the server w/o having to make extra requests or wait for them to finish. Would be a much smoother UI experience.

WebSockets could be used in Piwik for realtime UI updates, chatting w/ whoever, probably other stuff. Not enough I think to make it part of core, but as a plugin that can be required by other plugins it would be useful.

This Issue was closed on July 8th 2016
Powered by GitHub Issue Mirror