I have a web application where the site is built with Python Flask. Now we want to introduce a real time chat system in a page. Is it advisable to mix both flask and express.js, or develop only the chat page using express.js and the rest with Flask, or do we have any Framework like express.js in python that can work along with flask?
In python you can use
http://twistedmatrix.com/trac/
http://www.gevent.org/
http://eventlet.net/
Look into this
http://librelist.com/browser//flask/2010/9/1/flask-and websockets/
Twisted has huge support and lot of success projects are built based upon it.
gevent is light when compared to twisted.
Look into this comparison http://oddments.org/?p=494
Try Socket.io with backend https://github.com/SocketTornadIO/SocketTornad.IO this way you keep your sever python all the way.
It's also ok if you mix Node.js with python, but you'll have 2 servers up and running.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With