typesafehub/activator — pull request #395 by henrikengstrom (2014-03-18 03:05:52+00:00)
Title: Halfbaked integration of the two web sockets. Still some code that can b...

...e removed but I wanted to discuss the approach before tidying up.

**Please only use this as a base for discussions - DO NOT MERGE YET**

The general idea behind this PR is to integrate what's already there in terms of functionality for how to send information via the WS in snap.* with the existing backend for Console. By doing this we can bypass the _connection.js_ altogether (not done yet in this PR though).

The solution is a bit brittle, but this is done with the knowledge that we will overhaul the WS functionality in the next couple of PRs related to WS. This cleanup will have a direct impact on both f/e and b/e components so I figured it'd be good not to invest too much time in this integration as it serves as an intermediate step to the brand new implementation.

If this approach is okay with everyone I will continue to make _connection.js_ obsolete so we can remove it and some other unused parts before making it a "real" PR.

Comments are wanted and appreciated.