Closed maxbates closed 9 years ago
Feature development on the Clotho client has halted indefinitely. This feature request/issue will be archived and reopened when relevant again.
This issue will become relevant again if we choose to pursue REST as an alternative to socket on the current client. Current work (and work in the foreseeable future) will be on polishing REST code serverside, and leaving whatever user of Clotho to interface with the REST server however they choose, i.e. not via our implementation of a client in Angular.js.
Because we are pushing forward with REST as an alternative to the socket, we ought to also support server push messages. REST solves the client -> server direction. There are multiple ways of going the other way, but SSE is perhaps the best (common alternative is long-polling)
info: http://en.wikipedia.org/wiki/Server-sent_events
Currently, socket handles all in-bound events, but we should create an abstract layer to do this (like Communicator service)