October 2018
Intermediate to advanced
590 pages
15h 5m
English
As mentioned earlier the SockJS' API is generic. It doesn't force any communication pattern. What it does is provide a real-time connection between the clients and the server through WebSocket. This gives us the freedom to build the communication pattern that suits our application.
In our application, when multiple users open the same board, everything that happens on that board needs to be updated to all the other users automatically, without refreshing the page. For example, once a user adds a new card to the Todo list, that card should show up immediately in all other users' Todo lists. The communication here is a publish/subscribe pattern. The user who added the new card triggers the publishing ...
Read now
Unlock full access