CIDARLAB / clotho3

Clotho is a framework for engineering synthetic biological systems and managing the data used to create them. You can author data schemas, run functions and algorithms, and tie Clotho into existing applications.
BSD 3-Clause "New" or "Revised" License
3 stars 0 forks source link

Support SSE as Websocket fallback #463

Closed maxbates closed 9 years ago

maxbates commented 10 years ago

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)

billcao commented 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.