Python Forum
Why One Should Prefere Django/Python instead of PHP or Nodejs? - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: Web Scraping & Web Development (https://python-forum.io/forum-13.html)
+--- Thread: Why One Should Prefere Django/Python instead of PHP or Nodejs? (/thread-3908.html)



Why One Should Prefere Django/Python instead of PHP or Nodejs? - osforum4 - Jul-07-2017

I have an experience of more than 3 years as a web developer and I feel very comfortable with PHP/NodeJs.
Can anyone tell me why Django is better than above 2?


RE: Why One Should Prefere Django/Python instead of PHP or Nodejs? - DeaD_EyE - Jul-07-2017

Django is just a good Framework. There are couple of other frameworks for web development in Python.

The question should be: Why should I use Python 3 for web development instead of PHP/NodeJs/ASP/...

Python is a general purpose language and was invented before web was existing.
It is from beginning on OO and do also support functional programming.
But I won't compare Python to other languages, others can do it better.

The thing is, when I'm programming in Python, I feel good.
If i need to read C, Shell-Script, PHP, JavaScript, I feel unlucky.

Currently Python is pushed again forward because of the AI Stuff (Machine Learning, NLP).
Additional Python takes good parts from other languages like async, await.
The stdlib of Python is very powerful.


RE: Why One Should Prefere Django/Python instead of PHP or Nodejs? - Larz60+ - Jul-07-2017

There has been a lot of interest (and praise) for Flask lately.
I'd take a look at that while you're in the planning stage.
use an advanced search on this forum for Flask. I believe there
may be some tutorials present here.
also take a look at
http://flask.pocoo.org/
https://www.udemy.com/python-flask-course/
https://code.tutsplus.com/tutorials/creating-a-web-app-from-scratch-using-python-flask-and-mysql--cms-22972


RE: Why One Should Prefere Django/Python instead of PHP or Nodejs? - Jsnlaren - Sep-10-2020

Django is considered the most popular Python framework for web development and it's a full-stack framework that includes all the necessary features by default as compare to nodejs.
However, both are quite powerful technologies for building versatile web and mobile applications with an excellent user interface. But the advantage with django is that, it works with Python applications within a framework of the deadline to help web developers build applications in real-time.