Status: Usable, but a work in progress. Feedback encouraged!
An open standard describing a mix of client and server-side code designed to communicate over a persistent connection. This will usually be a WebSocket connection, but any Realtime Transport module is compatible.
Realtime Services are designed to be very easy to understand, write, test and share on
var service =console.log'Message in from server:' msg;setIntervalserverbroadcast'Hello!';1000;
(all alpha quality for now)
Realtime Services do not care about:
Realtime Services are currently implemented in Prism, the realtime server component of SocketStream 0.4.
As other frameworks / toolkits implement them, they will be listed here.
Realtime Services consist of
Realtime Services are the evolution of an idea called "Request Responders" which first appeared in SocketStream 0.3. Despite a horribly clunky API, the idea proved to be popular with third-party modules for Backbone and Angular soon appearing.
Realtime Services will be one of the key features of SocketStream 0.4. However, I hope by ensuring the spec is a simple as possible (with minimal dependencies), other frameworks will support Realtime Services in the future. The ultimate goal is an ecosystem of reusable components using 100% standard