4 ms·
As someone who only knows frontend / React, I’ve been curious about Django vs Rails vs Laravel literally for years. One day I intend to take one of these for a
by saltcod 5y ago
As someone who only knows frontend / React, I’ve been curious about Django vs Rails vs Laravel literally for years.
One day I intend to take one of these for an extended spin and see how it contrasts with gluing things together in JavaScript land.
- gtaylor 5y agoOpinions on this vary wildly, but you can be very productive with any of them. Pick what makes the most sense to you and get to it!
- dfsegoat 5y agoA few reasons I like Django in general [Have also used Laravel]: - Out of the box db modeling + true relational schema generation, migrations & rollbacks. Get going with local sqlite right away. - You can always check what db migrations are going to do by generating the raw SQL for a migration file. [1] - It has a separate, secure web admin for data management, user management, + whatever [2]. - Combine with e.g. Django REST Framework [3] for REST API functionality. - Can run it on AWS Lambda with zappa.(<sigh> "serverless") 1 - https://docs.djangoproject.com/en/4.0/ref/models/relations/ https://docs.djangoproject.com/en/4.0/ref/models/relations/ 2 - https://docs.djangoproject.com/en/4.0/intro/tutorial07/ https://docs.djangoproject.com/en/4.0/intro/tutorial07/ 3 - https://www.django-rest-framework.org/ https://www.django-rest-framework.org/ 4 - https://blog.logrocket.com/zappa-and-aws-lambda-for-serverless-django/ https://blog.logrocket.com/zappa-and-aws-lambda-for-serverle... edit: format
- nesarkvechnep 5y agoI would say go for Elixir. It’s the right choice for building backend services.
- dkobia 5y agoAll great options. Really boils down to which language will give you the most mileage for what you’re trying to achieve as a developer - Python, Ruby or PHP. Better yet if you have the time, give them all a spin and let the philosophies that influence each frameworks design drive your decision.
- ldiracdelta 5y agoIf you're considering Django with react front-end, consider Django REST Framework. https://www.django-rest-framework.org/ https://www.django-rest-framework.org/
- g42gregory 5y agoNodejs and surrounding ecosystem is good for extreme performance apps, built with very little hardware expense. I would say very few people have this requirement. Django is absolutely fast enough and it’s pure Python. The benefits are easy and fast development, as well as ability to plug-in a billion of available Python modules, including all of the available AI infrastructure.