Backend technologies comparison - HE-Arc/social-audio-free-market GitHub Wiki
Backend technologies comparison
What is the most appropriate programming language for this project backend application ?
Programming Language
JavaScript (Node.js)
- Better performance than Django
- Event driven programming
- Huge number of connections, but small messages
- Real-time data
- Not good when complexe CPU calculations are needed
Python (Django)
- More scalable than Node.js
- Model-Template-View architecture
- Better security (against CSRF, SQL injection, ...)
- Supports ORM and is better with CRUD-heavy operations than Node.js
Summary
Django seems to be a better choice than Node.js for this project, which is mostly a Relational-Database-CRUD application. Furthermore, Django is also a great choice when developing an API backend application.
Nodes.js is powerful when dealing with real-time applications and sending small messages.
Framework (Django or Flask)
Django seems to be a better choice than Flask, because of the following reasons :
- Powerful ORM
- Support for generating and managing database migrations
- Includes by default CRUD operations
- Auth
- Account management
- Admin panel for CRUD operations
- Includes by default form validation (with security against CSRF, XSS, SQL injection)