Python

Python is another language that is gaining wide acceptance and popularity. And there are multiple socket.io server implementations for Python.

The first we look at is gevent-socket.io (https://github.com/abourget/gevent-socketio), which works with any WSGI-based web frameworks. So if you are using any framework such as Pyramid, Pylons, Flask, and Django, this will work for you. The only dependencies are gevent and gevent-websocket.

If Tornado is your framework of choice, take a look at Tornadio 2 (https://github.com/MrJoes/tornadio2), which provides support for socket.io Versions 0.7 and higher. Again, Tornado is an asynchronous framework and good for such applications.

And dedicated to bringing socket.io to Django is django-socketio (https://github.com/stephenmcd/django-socketio).

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset