Python Forum
anyone do both Python and Node.js together? - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Forum & Off Topic (https://python-forum.io/forum-23.html)
+--- Forum: Bar (https://python-forum.io/forum-27.html)
+--- Thread: anyone do both Python and Node.js together? (/thread-24694.html)



anyone do both Python and Node.js together? - Skaperen - Feb-28-2020

does anyone around here do both Python and Node.js together?


RE: anyone do both Python and Node.js together? - snippsat - Feb-28-2020

No as backend i run with build in development WSGI server that comes with Flask or Django.
Flask Wrote:As of Flask 1.0, the WSGI server included with Flask is run in multi-threaded mode by default.
So scale well in local development to,but if want to share with the world then need a production ready WSGI server like Gunicorn or uWSGI with NGINX in front.

In the messy web development world i try to learn more about Vue.js and for CSS i like Bulma.
They integrate well with Flask in test i have done.
If running Node.js as backend then there is more or less JavaScript in front and back and Python is out of the picture.


RE: anyone do both Python and Node.js together? - Skaperen - Mar-03-2020

i might need to scale way beyond what one machine can handle. that means i must design around multiple machines, including any necessary communication, data sharing, data synchronization, etc. that means front-ends like NGINX are not essential but can help with efficiency in critical areas.

i am looking for ways to get the back-end like Node, but stay with Python code for logic. can Flask do that?