UI real-time synchronization library for browsers

Can someone tell me the openource jsw library, which can have real-time user interface synchronization between browsers with a server having control between them.

I checked autobahn.ws real-time ui synchronization, but not open source.

It must be compatible with all browsers.

+4
source share
5 answers

Use Ape.

http://www.ape-project.org/

He is not going to create your user interface for you. This is your job. Not. You create data for Push, and then create your customers based on this data.

+1
source

Since you are linking to Autobahn.ws, let me briefly point out a couple of things:

  • The real-time UI synchronization is ideal for WebSocket, as WebSocket not only has a very low backward delay, but also a very low upstream delay. In particular, the latter is very difficult / almost impossible to use the current workarounds, such as Comet, Ajax Push, you select it.
  • Using WebSocket, you can achieve round-trip times between 200 ฮผs (LAN), 10 ms (the same city, a couple of flights), 30 ms (in the same country), 150-200 ms (across the ocean), 80-100 ms (3.5 GHz in the same country) or 25 ms (LTE, one and the same country).
  • Although Autobahn.ws (device) is commercial, the underlying technologies (AutobahnPython, AutobahnJS, AutobahnAndroid, etc.) are fully open source.
  • Autobahn.ws (device), albeit commercially, will have a completely free version limited by the number of simultaneous WebSocket connections.
  • JS-code for demonstrating sliders of the user interface on our website - 50 lines. This is really trivial.
  • Autobahn supports a wide range of desktop and mobile browsers http://autobahn.ws/browsers

Disclaimer: I am the author of Autobahn and work for Tavendo.

+4
source
  • sails.js - a new star in the sky MVC
  • Derby may be what you are looking for. It uses Racer , "a real-time model synchronization mechanism for Node.js."
  • Meteor is another alternative.
  • Lower level (using network sockets)

Discussions regarding comparisons are held at https://stackoverflow.com/questions/10374113/meteor-vs-derbyjs . A discussion comparing these three occurs at https://stackoverflow.com/questions/11857367/socketstream-vs-derbyjs-vs-meteor .

Only the handmade web socket solution will be compatible with the Python backend. Since the question is asked more general, I also listed the scope, including the backend.

+3
source

For real-time synchronization with the user interface, you can use HTML5 features. However, it will not work in all browsers, I am posting this for reference:

http://dev.w3.org/html5/websockets/

http://dev.w3.org/html5/eventsource/

+1
source

You will be interested in this answer: fooobar.com/questions/132158 / ...

This is basically a shell for using Websockets in Python. Software Stack:

  • SockJS (for handling clients)
  • Tornado (as sockjs server)
  • Redis (for Pub / Sub)
0
source

Source: https://habr.com/ru/post/1403971/


All Articles