Open AlJohri opened 10 years ago
https://github.com/kennethreitz/flask-sockets https://github.com/miguelgrinberg/Flask-SocketIO
http://blog.miguelgrinberg.com/post/easy-websockets-with-flask-and-gevent -- talks about both flask-sockets and Flask-SocketIO
In all honesty, using raw WebSockets seems like a terrible idea. Should probably use socketio or sockjs.
SockJS is considered a "better" implementation than Socket.io. Check out this quora for an explanation http://www.quora.com/Sock-js/What-are-the-pros-and-cons-of-socket-io-vs-sockjs
Using SockJS with AngularjS on client side
https://gist.github.com/lrvick/7043627
not specific to python, but the angular side looks fine http://www.gilesthomas.com/2013/02/a-super-simple-chat-app-with-angularjs-sockjs-and-node-js/
https://github.com/progrium/dokku/issues/148