news.volyx.in

Modern JavaScript for Django developers (saaspegasus.com)

240 points by rob · 566 days ago · 158 comments on HN

Article summary

The article discusses the challenges of using modern JavaScript with Django and provides a guide for Django developers to learn and integrate modern JavaScript tools and frameworks into their projects. It covers topics such as organizing front-end code, using tools like Vite and Webpack, and building hybrid applications with React and Vue. The guide aims to help Django developers overcome the barriers to using modern JavaScript and provide a clear and frustration-free way of doing modern JavaScript development with Django.

Main themes

  • Django and JavaScript integration
  • Modern JavaScript tools and frameworks
  • Front-end development
  • Backend frameworks
  • Web development

What commenters say

  • Some developers prefer using frameworks like Blazor with C# over Django due to the ease of use and minimal need for JavaScript.
  • Django's ORM and admin interface can be limiting when working with existing databases, making other frameworks like Flask more appealing.
  • The job market for PHP developers is limited, with few talented individuals and low pay, leading some to abandon the language for others like Python or JavaScript.
  • Inertia.js can be a good solution for using React or Vue with backend frameworks like Django, but some developers have had negative experiences with it due to lack of hot-reloading and custom code requirements.
  • Some developers prefer using Django for new projects, but find it less suitable for integrating with existing databases, while others have had success with it for large-scale applications.
  • The choice of backend framework depends on the specific needs of the project, with some developers preferring Django, while others prefer Laravel, Rails, or other frameworks.
  • WSL and tools like ddev can make PHP development on Windows more manageable, but some developers still prefer to use other languages and frameworks.
  • The Django community has mixed opinions on the framework's strengths and weaknesses, with some praising its logical organization and documentation, while others criticize its limitations and outdated aspects.