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

create plugin that implements server side support for WebSockets #6054

Closed
diosmosis opened this issue Aug 24, 2014 · 2 comments
Closed

create plugin that implements server side support for WebSockets #6054

diosmosis opened this issue Aug 24, 2014 · 2 comments
Labels
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. wontfix If you can reproduce this issue, please reopen the issue or create a new one describing it.
Milestone

Comments

@diosmosis
Copy link
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
Copy link
Member

mattab commented Aug 25, 2014

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?

@mattab mattab added this to the Short term milestone Aug 25, 2014
@diosmosis
Copy link
Member Author

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.

@mattab mattab modified the milestones: Mid term, Short term Oct 12, 2014
@mattab mattab closed this as completed Jul 8, 2016
@mattab mattab added the wontfix If you can reproduce this issue, please reopen the issue or create a new one describing it. label Jul 8, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. wontfix If you can reproduce this issue, please reopen the issue or create a new one describing it.
Projects
None yet
Development

No branches or pull requests

2 participants