Django vs Node.js vs PHP-MVC

Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

Django
Django

9.6K
7.5K
+ 1
2.9K
Node.js
Node.js

37.8K
31.8K
+ 1
8K
PHP-MVC
PHP-MVC

67
68
+ 1
0
No Stats

What is Django?

Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design.

What is Node.js?

Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices.

What is PHP-MVC?

This project is - by intention - NOT a full framework, it's a bare-bone structure, written in purely native PHP ! The php-mvc skeleton tries to be the extremely slimmed down opposite of big frameworks like Zend2, Symfony or Laravel.
Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

Why do developers choose Django?
Why do developers choose Node.js?
Why do developers choose PHP-MVC?
    Be the first to leave a pro

    Sign up to add, upvote and see more prosMake informed product decisions

      Be the first to leave a con

      Sign up to add, upvote and see more consMake informed product decisions

      What companies use Django?
      What companies use Node.js?
      What companies use PHP-MVC?

      Sign up to get full access to all the companiesMake informed product decisions

      What tools integrate with Django?
      What tools integrate with Node.js?
      What tools integrate with PHP-MVC?

      Sign up to get full access to all the tool integrationsMake informed product decisions

      What are some alternatives to Django, Node.js, and PHP-MVC?
      Flask
      Flask is intended for getting started very quickly and was developed with best intentions in mind.
      Rails
      Rails is a web-application framework that includes everything needed to create database-backed web applications according to the Model-View-Controller (MVC) pattern.
      Laravel
      It is a web application framework with expressive, elegant syntax. It attempts to take the pain out of development by easing common tasks used in the majority of web projects, such as authentication, routing, sessions, and caching.
      PHP
      Fast, flexible and pragmatic, PHP powers everything from your blog to the most popular websites in the world.
      WordPress
      The core software is built by hundreds of community volunteers, and when you’re ready for more there are thousands of plugins and themes available to transform your site into almost anything you can imagine. Over 60 million people have chosen WordPress to power the place on the web they call “home” — we’d love you to join the family.
      See all alternatives
      Decisions about Django, Node.js, and PHP-MVC
      Node.js
      Node.js
      Python
      Python
      MySQL
      MySQL
      Memcached
      Memcached
      nginx
      nginx
      RabbitMQ
      RabbitMQ
      Redis
      Redis
      Django
      Django
      Tornado
      Tornado
      Varnish
      Varnish
      HAProxy
      HAProxy

      Around the time of their Series A, Pinterest’s stack included Python and Django, with Tornado and Node.js as web servers. Memcached / Membase and Redis handled caching, with RabbitMQ handling queueing. Nginx, HAproxy and Varnish managed static-delivery and load-balancing, with persistent data storage handled by MySQL.

      See more
      Node.js
      Node.js
      Python
      Python
      React
      React
      Django
      Django

      In late 2015, following the Series G, Pinterest began migrating their web experience to React, primarily because they “found React rendered faster than our previous template engine, had fewer obstacles to iterating on features and had a large developer community.”

      The legacy setup consistent of Django, Python and Jinja on the backend, with Nunjucks handling template rendering on the client side. They wanted to move to React for handling template rendering across the board, but if they “switched the client-side rendering engine from Nunjucks to React, [they’d] also have to switch [their] server-side rendering, so they could share the same template syntax.”

      They decided on an iterative approach that consolidated a single template rendering engine between client and server, since “If the server could interpret JavaScript, and use Nunjucks to render templates and share our client-side code, we could then move forward with an iterative migration to React.” The team decided to stand up a Node process, behind Nginx, and interpret JavaScript server-side.

      Now, when a user agent makes a request, a latent module render requests that it needs data via an API call. Concurrently, a separate network call is made “to a co-located Node process to render the template as far as it can go with the data that it has.”

      Node then responds with rendered templates, and along with a “holes” array to indicate what data was still needed to complete the render. Finally, the Python webapp makes an API call to fetch the remaining data, and each module is sent back to Node as completely independent module requests/in parallel/.

      With this framework in place, Pinterest developers are in the process of replacing Nunjucks code with React components throughout the codebase.

      See more
      Zarema Khalilova
      Zarema Khalilova
      Frontend Team Lead at Uploadcare · | 8 upvotes · 63.9K views
      atUploadcareUploadcare
      Django
      Django
      Node.js
      Node.js
      React
      React
      Gatsby
      Gatsby
      Netlify
      Netlify
      #Frontend
      #StaticSiteGenerators
      #StaticWebHosting

      Since 2011 our frontend was in Django monolith. However, in 2016 we decide to separate #Frontend from Django for independent development and created the custom isomorphic app based on Node.js and React. Now we realized that not need all abilities of the server, and it is sufficient to generate a static site. Gatsby is suitable for our purposes. We can generate HTML from markdown and React views very simply. So, we are updating our frontend to Gatsby now, and maybe we will use Netlify for deployment soon. This will speed up the delivery of new features to production.

      #StaticSiteGenerators #StaticWebHosting

      See more
      Divine Bawa
      Divine Bawa
      at PayHub Ghana Limited · | 14 upvotes · 195.4K views
      Node.js
      Node.js
      GraphQL
      GraphQL
      MySQL
      MySQL
      Prisma
      Prisma
      graphql-yoga
      graphql-yoga
      React
      React
      styled-components
      styled-components
      Next.js
      Next.js
      Apollo
      Apollo

      I just finished a web app meant for a business that offers training programs for certain professional courses. I chose this stack to test out my skills in graphql and react. I used Node.js , GraphQL , MySQL for the #Backend utilizing Prisma as a database interface for MySQL to provide CRUD APIs and graphql-yoga as a server. For the #frontend I chose React, styled-components for styling, Next.js for routing and SSR and Apollo for data management. I really liked the outcome and I will definitely use this stack in future projects.

      See more
      Francisco Quintero
      Francisco Quintero
      Tech Lead at Dev As Pros · | 7 upvotes · 255.6K views
      atDev As ProsDev As Pros
      Node.js
      Node.js
      Rails
      Rails
      Amazon EC2
      Amazon EC2
      Heroku
      Heroku
      RuboCop
      RuboCop
      JavaScript
      JavaScript
      ESLint
      ESLint
      Slack
      Slack
      Twist
      Twist

      For many(if not all) small and medium size business time and cost matter a lot.

      That's why languages, frameworks, tools, and services that are easy to use and provide 0 to productive in less time, it's best.

      Maybe Node.js frameworks might provide better features compared to Rails but in terms of MVPs, for us Rails is the leading alternative.

      Amazon EC2 might be cheaper and more customizable than Heroku but in the initial terms of a project, you need to complete configurationos and deploy early.

      Advanced configurations can be done down the road, when the project is running and making money, not before.

      But moving fast isn't the only thing we care about. We also take the job to leave a good codebase from the beginning and because of that we try to follow, as much as we can, style guides in Ruby with RuboCop and in JavaScript with ESLint and StandardJS.

      Finally, comunication and keeping a good history of conversations, decisions, and discussions is important so we use a mix of Slack and Twist

      See more
      David Ritsema
      David Ritsema
      Frontend Architect at Herman Miller · | 7 upvotes · 31.9K views
      atHerman MillerHerman Miller
      Node.js
      Node.js
      React
      React
      Next.js
      Next.js
      prismic.io
      prismic.io

      When we started thinking about technology options for our own Design System, we wanted to focus on two primary goals

      1. Build a design system site using design system components - a living prototype
      2. Explore new ways of working to position our technical capabilities for the future

      We have a small team of developers responsible for the initial build so we knew that we couldn’t spend too much time maintaining infrastructure on the Backend. We also wanted freedom to make decisions on the Frontend with the ability to adapt over time.

      For this first iteration we decided to use Node.js, React, and Next.js. Content will be managed via headless CMS in prismic.io.

      1. Next.js so that we can run React serverside without worrying about server code.
      2. prismic.io so that our content is accessible via API and our frontend is fully independent.
      See more
      Node.js
      Node.js
      JavaScript
      JavaScript
      Django
      Django
      Python
      Python

      Django or NodeJS? Hi, I’m thinking about which software I should use for my web-app. What about Node.js or Django for the back-end? I want to create an online preparation course for the final school exams in my country. At the beginning for maths. The course should contain tutorials and a lot of exercises of different types. E.g. multiple choice, user text/number input and drawing tasks. The exercises should change (different levels) with the learning progress. Wrong questions should asked again with different numbers. I also want a score system and statistics. So far, I have got only limited web development skills. (some HTML, CSS, Bootstrap and Wordpress). I don’t know JavaScript or Python.

      Possible pros for Python / Django: - easy syntax, easier to learn for me as a beginner - fast development, earlier release - libraries for mathematical and scientific computation

      Possible pros for JavaScript / Node.js: - great performance, better choice for real time applications: user should get the answer for a question quickly

      Which software would you use in my case? Are my arguments for Python/NodeJS right? Which kind of database would you use?

      Thank you for your answer!

      Node.js JavaScript Django Python

      See more
      Buzz Zhang
      Buzz Zhang
      PHP
      PHP
      Yii
      Yii
      MySQL
      MySQL
      PHP-MVC
      PHP-MVC

      Of all PHP frameworks, my best and only choice is Yii . Think of this: you have a MySQL database, it contains several tables. Now you want to setup a PHP-MVC site, firstly, you must create Models, Yii have a very handy tool called Gii, you can easily create model with Gii just by one click, Gii will read your database table columns and create PHP models automatically for you. Now you need Controller, still with Gii, it will automatically create all 4 php files for you with Insert/Delete/Update/Select even with Search function.

      Well, now the most modern way is to have a RESTful API, that's even easier with Yii, you even don't need to care about all the columns, just 4 lines of code you can expose your database table as RESTful API with all GET/POST/PUT/DELETE support, even you change your database table columns, you don't need to change any PHP code.

      For security, Yii have embedded authentication and RBAC support. For multi language, Yii have embedded i18n support, all with out-of-box. Just play with it, I bet you will love it.

      See more
      Meteor
      Meteor
      Node.js
      Node.js

      Mixmax was originally built using Meteor as a single monolithic app. As more users began to onboard, we started noticing scaling issues, and so we broke out our first microservice: our Compose service, for writing emails and Sequences, was born as a Node.js service. Soon after that, we broke out all recipient searching and storage functionality to another Node.js microservice, our Contacts service. This practice of breaking out microservices in order to help our system more appropriately scale, by being more explicit about each microservice’s responsibilities, continued as we broke out numerous more microservices.

      See more
      Mixmax
      Mixmax
      Meteor
      Meteor
      Node.js
      Node.js
      Amazon EC2
      Amazon EC2
      Go
      Go
      nginx
      nginx
      AWS Elastic Load Balancing (ELB)
      AWS Elastic Load Balancing (ELB)
      AWS Elastic Beanstalk
      AWS Elastic Beanstalk

      As Mixmax began to scale super quickly, with more and more customers joining the platform, we started to see that the Meteor app was still having a lot of trouble scaling due to how it tried to provide its reactivity layer. To be honest, this led to a brutal summer of playing Galaxy container whack-a-mole as containers would saturate their CPU and become unresponsive. I’ll never forget hacking away at building a new microservice to relieve the load on the system so that we’d stop getting paged every 30-40 minutes. Luckily, we’ve never had to do that again! After stabilizing the system, we had to build out two more microservices to provide the necessary reactivity and authentication layers as we rebuilt our Meteor app from the ground up in Node.js. This also had the added benefit of being able to deploy the entire application in the same AWS VPCs. Thankfully, AWS had also released their ALB product so that we didn’t have to build and maintain our own websocket layer in Amazon EC2. All of our microservices, except for one special Go one, are now in Node with an nginx frontend on each instance, all behind AWS Elastic Load Balancing (ELB) or ALBs running in AWS Elastic Beanstalk.

      See more
      Benjamin Bernard-Bouissières
      Benjamin Bernard-Bouissières
      Web Developer at ipexia · | 11 upvotes · 125.4K views
      atipexiaipexia
      Namecheap
      Namecheap
      Django
      Django
      Python
      Python
      Symfony
      Symfony
      PythonAnywhere
      PythonAnywhere

      I really love Django because it is really fast to create a web application from scratch and it has a lot a facilities like the ORM or the Admin module ! The Python language is really easy to read and powerful, that's why I prefer Django over Symfony.

      I use Django at work to make tools for the technicians but I also use it for me to build my personal website which I host on PythonAnywhere, and with a domain name bought on Namecheap.

      See more
      Praveen Mooli
      Praveen Mooli
      Engineering Manager at Taylor and Francis · | 12 upvotes · 537.4K views
      MongoDB Atlas
      MongoDB Atlas
      Java
      Java
      Spring Boot
      Spring Boot
      Node.js
      Node.js
      ExpressJS
      ExpressJS
      Python
      Python
      Flask
      Flask
      Amazon Kinesis
      Amazon Kinesis
      Amazon Kinesis Firehose
      Amazon Kinesis Firehose
      Amazon SNS
      Amazon SNS
      Amazon SQS
      Amazon SQS
      AWS Lambda
      AWS Lambda
      Angular 2
      Angular 2
      RxJS
      RxJS
      GitHub
      GitHub
      Travis CI
      Travis CI
      Terraform
      Terraform
      Docker
      Docker
      Serverless
      Serverless
      Amazon RDS
      Amazon RDS
      Amazon DynamoDB
      Amazon DynamoDB
      Amazon S3
      Amazon S3
      #Backend
      #Microservices
      #Eventsourcingframework
      #Webapps
      #Devops
      #Data

      We are in the process of building a modern content platform to deliver our content through various channels. We decided to go with Microservices architecture as we wanted scale. Microservice architecture style is an approach to developing an application as a suite of small independently deployable services built around specific business capabilities. You can gain modularity, extensive parallelism and cost-effective scaling by deploying services across many distributed servers. Microservices modularity facilitates independent updates/deployments, and helps to avoid single point of failure, which can help prevent large-scale outages. We also decided to use Event Driven Architecture pattern which is a popular distributed asynchronous architecture pattern used to produce highly scalable applications. The event-driven architecture is made up of highly decoupled, single-purpose event processing components that asynchronously receive and process events.

      To build our #Backend capabilities we decided to use the following: 1. #Microservices - Java with Spring Boot , Node.js with ExpressJS and Python with Flask 2. #Eventsourcingframework - Amazon Kinesis , Amazon Kinesis Firehose , Amazon SNS , Amazon SQS, AWS Lambda 3. #Data - Amazon RDS , Amazon DynamoDB , Amazon S3 , MongoDB Atlas

      To build #Webapps we decided to use Angular 2 with RxJS

      #Devops - GitHub , Travis CI , Terraform , Docker , Serverless

      See more
      Martin Johannesson
      Martin Johannesson
      Senior Software Developer at IT Minds · | 11 upvotes · 30.9K views
      atIT MindsIT Minds
      TypeScript
      TypeScript
      Node.js
      Node.js
      TypeORM
      TypeORM
      PostgreSQL
      PostgreSQL
      Apollo
      Apollo
      GraphQL
      GraphQL
      Next.js
      Next.js
      MongoDB
      MongoDB
      React
      React
      PWA
      PWA
      AMP
      AMP
      #B2B
      #Backend
      #Serverless

      At IT Minds we create customized internal or #B2B web and mobile apps. I have a go to stack that I pitch to our customers consisting of 3 core areas. 1) A data core #backend . 2) A micro #serverless #backend. 3) A user client #frontend.

      For the Data Core I create a backend using TypeScript Node.js and with TypeORM connecting to a PostgreSQL Exposing an action based api with Apollo GraphQL

      For the micro serverless backend, which purpose is verification for authentication, autorization, logins and the likes. It is created with Next.js api pages. Using MongoDB to store essential information, caching etc.

      Finally the frontend is built with React using Next.js , TypeScript and @Apollo. We create the frontend as a PWA and have a AMP landing page by default.

      See more
      Michael Mota
      Michael Mota
      CEO & Founder at AlterEstate · | 4 upvotes · 2.6K views
      Django
      Django
      GraphQL
      GraphQL
      Graphene
      Graphene
      Next.js
      Next.js

      I've been using Django for quite a long time and in my opinion I would never switch from it. My company is currently using Django with REST framework and a part in GraphQL using Graphene. On the frontend we use Next.js and so far everything has been running quite good. I've found limitations but manage to solve it.

      As someone mentioned before, if you are comfortable with Django, don't switch. There's no need since with django you can basically achieve anything. Of course this will depend on the project you want to build, but the scalability and flexibility django can offer it's just out of this world. (Don't want to sound like a fan boy haha but it really is).

      See more
      Node.js
      Node.js
      Laravel
      Laravel
      PHP
      PHP
      React
      React
      Vue.js
      Vue.js

      I want to create a video sharing service like Youtube, which users can use to upload and watch videos. I prefer to use Vue.js for front-end. What do you suggest for the back-end? Node.js or Laravel ( PHP ) I need a good performance with high speed, and the most important thing is the ability to handle user's requests if the site's traffic increases. I want to create an algorithm that users who watch others videos earn points (randomly but in clear context) If you have anything else to improve, please let me know. For eg: If you prefer React to Vue.js. Thanks in advance

      See more