Which One Should You Choose? | Django vs FastAPI

preview_player
Показать описание
Django and FastAPI? I often get asked about which one to use. My advice is to be cautious when working with big frameworks like Django because it’s opinionated and imposes a lot on you. FastAPI is more limited, but it provides more freedom.

#arjancodes #softwaredesign #python
Рекомендации по теме
Комментарии
Автор

Is it possible to reduce the volume of the background music in future videos? Its distractingly loud - especially at the beginning.

fn
Автор

Arjan, with all my sincere respect, the difference between the two is not what you say. "Freedom" and "personal growth" are buzzwords in this context. It's not time proven that Flask users tend to be more proficient freedom enjoyers than Django users. It's rather that Flask apps tend to be messier because most users don't know what to do with the freedom they are granted. And FastAPI is significantly more opinionated than Flask which weakens this freedom/growth argument even further.

ManInSombrero
Автор

Django simple because the ORM is going to get you 95% of where you need to go. The problem with Flask and FastAPI is they give you basically nothing. I don't want to man handle HTTP requests. I need a suite of security tools. Django gives you everything and you don't have to use it all. I've never been in a situation where I had to fight against Django. Been using it since 2011.

WarrenBey
Автор

Django ORM and Django Rest framework are the best things that ever happened to me as a developer.

michaeldjango
Автор

FastApi can be very easily combined with separate frontends like Angular. I use it all the time, gives you the freedom, and simplifies everything just enough as is necessary.

CaptainCsaba
Автор

Fastapi is honestly the best backend framework. Personally, I can write very scalable code when I'm not fighting against a framework. I can implement logic the way I see fit and can implement optimisations with testing as I know what code i've written. Django sucks and it shouldn't be used aside from ssr.

ApartmentAngelsFireStarters
Автор

Can you make a video about using FastAPI?

jumper
Автор

What about flask? Can you make a video about flask vs fastapi?

EmiliaKaida
Автор

What would you combine FastAPI with if you were building an app? Is there such a thing?

Alticroo
Автор

Hey Arjan, I love your content, but is it really necessary to have this stock clips throughout the video?

fexofenadinaGenerica
Автор

FastAPI is definitely worth using.
"Honestly, what you've built looks super solid and polished. In many ways, it's what I wanted Hug to be - it's really inspiring to see someone build that."

Timothy Crosley - Hug creator
Hug is a very interesting tool too, and when you read this quote, you obviously want to give FastAPI a try ;-)

jean-marcfraisse
Автор

What's wrong with choosing flask? Before every webapp project I ask myself which of the three to use and most times I choose flask. Although that may be, because that's what I am most used to.
What is the common ground of opinions?
Flask is more lightweight than Django?
Choose fastapi when planning to do an API only?
What about simple webhooks? Only a couple of lines in flask.

seurig
Автор

FastAPI losses the Django security? the default middlewares included in Django.

miguelvasquez
Автор

My opinion is to Choose FastAPI because it's very very easy to learn and handle everything.

I also trying to help Bangladeshi people to learn Python FastAPI because in Bengali there is no tutorials to learn this Framework.

STSabbir
Автор

Thanks to your bgm.. Didn't hear anything clearly 👍

qwerqwe
Автор

can you say at least two words without gluing? 🤡

ivan-ivanov-ivanovich
welcome to shbcf.ru