Flask or Django

Поделиться
HTML-код
  • Опубликовано: 21 ноя 2024

Комментарии • 84

  • @helloworld7313
    @helloworld7313 5 лет назад +36

    I learned both Django and Flask, definitely love flask over Django cuz it's so easy to get started, set up database, everything.

    • @realchrishawkes
      @realchrishawkes  5 лет назад +7

      I still miss the entire admin system django provides.

    • @TheVrunes
      @TheVrunes 5 лет назад +2

      How long have you been learning them? I'm just starting my adventure with them and I'm curious. I know it depends on a lot of things. I'm student who wants to get part-time job while educating :)

    • @LegionXI.
      @LegionXI. 4 года назад +3

      I'm in mobility development. In this quarantine, I learned python for machine learning but then moved to flask out of my love for website development. I really enjoyed it a lot. It's so easy and quick and quite scalable. I have created my own blog, a portfolio website and a few restful APIs using MySQL. Really enjoyed it.

    • @yoyocr2034
      @yoyocr2034 3 года назад

      @@LegionXI. how many days did it take to learn flask for you?

    • @nabil.saadouni
      @nabil.saadouni 3 года назад

      @@yoyocr2034 takes me 3 days to build a small blog

  • @irishRocker1
    @irishRocker1 5 лет назад +10

    Great that you went beyond the typical "django for this, flask for that, some of it is personal preference" by showing job listing and website examples for both etc. It's more than an answer for beginners, it's an answer for professional developers also.

  • @BiancaAguglia
    @BiancaAguglia 5 лет назад +8

    Super useful. Whenever you give specific examples in your videos, like you did with this one, things start clicking for me. 😊 Thank you.

  • @S4Swadhin
    @S4Swadhin 5 лет назад +8

    Had same question in mind, and I choose Flask over Django. Because don't want to spend time on another big framework like JEE. But main advantage of flask is its style now followed by most of the new python async web frameworks ex. responder, sanic etc. So the next popular one may be a flask style one.

  • @101kawsar
    @101kawsar 2 года назад +1

    After using both, Django all the way. I just keep making Django out of Flask by installing all this packages ( Sqlalchemy, flask-sqlalchemy, flask wtform, flask migrate). I can just use Django instead of installing this all this packges. Life's good.

  • @henryhogge8422
    @henryhogge8422 5 лет назад +23

    this video is ridiculously well put together, just jammed full of clout

  • @lardosian
    @lardosian 5 лет назад +8

    As a relatively new developer I kinda feel safer with django after doing a project on each of them. The built in admin and auth are so handy and using the django rest framework to build my first api was a breeze.

    • @realchrishawkes
      @realchrishawkes  5 лет назад

      It will teach you a lot.

    • @lardosian
      @lardosian 5 лет назад +2

      @xOr Hey man, dont worry, just try both and you will see for yourself. Let me try clarify my answer. Django provides a structure for your code which flask doesnt, so this structure prevents you creating your own mess. Another example, i was trying to set up a db migrations package in flask and it was a nightmare to do correctly as i was new, it nearly drove me insane. In django its already included. And like i said the admin section in django is such a great tool which you can expand as well if you want. Flask does not have this feature. Just my opinions. There are 2 amazing projects by Corey Shafer on youtube. He makes a blog in flask and django, watch those and code along. Or even better, tailor his project into something of interest to you to really help you learn. Eg for me a made a recipe app. My preference is django. Get stuck in. Hope that helps.

    • @Smile-to2ii
      @Smile-to2ii 5 лет назад

      Which database they use?

    • @lardosian
      @lardosian 5 лет назад +1

      @@Smile-to2ii sqlite locally and postgres on the heroku deployment

    • @Smile-to2ii
      @Smile-to2ii 5 лет назад

      @@lardosian ok thanks

  • @centurion8158
    @centurion8158 5 лет назад +17

    I found Django very diffiucult for a begginer, so i moved on to flask, i find it way easier and newbir friendly to learn for a beggineer in web development like me, but eventually i will come back to django.

    • @realchrishawkes
      @realchrishawkes  5 лет назад

      Same, I used web2py and still friends with the creator on Facebook. Moving back to Django really allowed me to do big things.

    • @anujkondhalkar9776
      @anujkondhalkar9776 2 года назад +1

      Flask is clear and explicit which may help to learn django functionality.

    • @socb5642
      @socb5642 Год назад

      Me too ... i am on the same path as you

    • @ChanceMinus
      @ChanceMinus Год назад

      @@anujkondhalkar9776, I agree.

  • @ProSimples
    @ProSimples 4 года назад +1

    Django is at the top right now due of its security and development speed. Flask is easy to start. However, for flask to get Django's place it has to become more secure than Django. Now, telling in terms of flask overcoming Django, if yes, and you already know Django it will be much easier to go back. Is kind of stop piloting from a C-130 hercules to a Cesna.

  • @ego_sum_liberi
    @ego_sum_liberi 4 года назад +6

    All I got to say is:
    Why not learn both and use it to your satisfaction 🥳

  • @steelwolf180
    @steelwolf180 5 лет назад +5

    I think if your really into Web development as python developer.
    It might be better to dive into one to try it out.
    For me I still miss the project structure that is built into Django.
    Which takes along time for me to structure my project in flask.
    Unless you know the rough project structure you want in flask. It can be a pain to structure the project.

  • @HostDotPromo
    @HostDotPromo 5 лет назад +9

    Super helpful, I really like Django. I have not tried Flask.

  • @cepuofficial9025
    @cepuofficial9025 4 года назад +2

    At first i try flask, i can code a simple app pretty fast, and then i try django and fallen in love..

  • @ninjedi6710
    @ninjedi6710 4 года назад +1

    the one with less shenanigans

  • @kachrooabhishek
    @kachrooabhishek 2 года назад +1

    which is better for Machine learning model deployment

    • @realchrishawkes
      @realchrishawkes  2 года назад

      Either, really, depends on what exactly you're needing I guess.

  • @leaper7808
    @leaper7808 4 года назад +5

    Django is unbelievably bloated and obtrusive. Flask is the model web framework for all languages in my opinion.

  • @edilson_gudo
    @edilson_gudo 3 года назад

    Flask misses the admin system Django gives straight out of the bat, and some other stuff.
    However, I don't like the Django boilerplate.
    My favorite stills Django, but I definitely will be using flask for prototyping and small projects

  • @mr_don_key
    @mr_don_key 5 лет назад

    netflix doesn't use flask for the front facing side of their infrastructure , flask is used deeper in their systems.. it's e.g. used for accounting/and suggestions etc.. based on what the user does. an internal api of sorts.. not publically reachable by clients.

  • @primorock8141
    @primorock8141 4 года назад

    Thanks for the video! I've chosen Flask as my projects are small for now

  • @losbopfos5637
    @losbopfos5637 5 лет назад +3

    I use Flask simply because of its lightweight.
    Everything I need, I can implement myself or use some already written modules on Github.

  • @CloudandZack1st
    @CloudandZack1st 5 лет назад +4

    Great video! Thanks. I'm going to begin learning web development and this video was straight to the point.

  • @khalid11221122
    @khalid11221122 5 лет назад

    You did a brilliant job. Well done this is truly the best comparison

  • @chre3144
    @chre3144 4 года назад +1

    I use flask to serve json data to my react web app. Django seems better for making a full featured web app if you make use of it for making the actual web pages. I don't use any of that since react is a web app and has its own framework. Nginx serves the react app directly. If you are using a front end web framework like react or angular what benefits does Django have besides authentication / encryption?

  • @digitalsketchguy
    @digitalsketchguy 4 года назад +1

    Wagtail is a very nice Django CMS.

  • @ChristFan868
    @ChristFan868 5 лет назад +5

    Very well done. Thank you very much.

  • @yooscripts5947
    @yooscripts5947 4 года назад +4

    RIP PHP !

  • @mirrormirage0
    @mirrormirage0 5 лет назад +1

    Excellent overview! Thanks! Going ahead with Flask for my Proof-of-concept.

  • @sergeydev8273
    @sergeydev8273 5 лет назад +1

    Hey Chris, how do you think, which of languages will be used over WebAssembly in nearest feature? (Java, C++, C#, etc)

    • @alinawaz4034
      @alinawaz4034 5 лет назад +1

      Blazor of C# .net is Amazing

  • @thefreakingmindistaken
    @thefreakingmindistaken 5 лет назад +4

    Flask is best

  • @simple-youtube-pr
    @simple-youtube-pr 2 года назад

    Golang is the best! Chose it.

  • @akozyrev8
    @akozyrev8 4 года назад +2

    Flask is not just for small apps, e.g. Pinterest moved from Django to Flask. Reddit use Flask. More examples: www.quora.com/What-is-the-biggest-company-that-uses-Python-Flask

  • @KrishnaDasPC
    @KrishnaDasPC Год назад

    no other framework can build apps faster than django with very less number of codes.

  • @marcinbiaecki9731
    @marcinbiaecki9731 3 года назад

    Thank you :)

  • @ljupconewman9357
    @ljupconewman9357 5 лет назад +5

    Just tried .net core. It's .net on freaking steroids...

  • @BDZMINUS
    @BDZMINUS 5 лет назад +1

    thank your video

  • @rossgeography
    @rossgeography 4 года назад

    I guess you need bottle to use bottle ;)

  • @ricardorochadev
    @ricardorochadev 5 лет назад +2

    how to like to many 👍👍👍👍👍👍👍👍👍👍

  • @Ryu53898
    @Ryu53898 4 года назад +1

    Django and flask are still used in 2020?

  • @HOODCLASSICTELEVISION
    @HOODCLASSICTELEVISION 5 лет назад +4

    Who else saw ‘Django’ and thought this was about the ‘Jamie Fox’ film? 🥴

    • @realchrishawkes
      @realchrishawkes  5 лет назад +3

      The framework is actually before that and named after an even older musician.

  • @olegvolkov8006
    @olegvolkov8006 4 года назад +2

    • @TienHuynh5312
      @TienHuynh5312 4 года назад

      Русские Шашки good old days :))

  • @Bryan-wb7te
    @Bryan-wb7te 5 лет назад +4

    I don't see anyone going with Django or Flask with the existence of ASP.NET Core nowadays. I might just be biased though.

  • @realchrishawkes
    @realchrishawkes  4 года назад +2

    🔥 If you're learning to code, check out my website 👉 codehawke.com/all_access.html 🔥
    Learn more 👉 ruclips.net/video/fpp215OSRV0/видео.html

  • @andreacazzaniga8488
    @andreacazzaniga8488 3 года назад

    FastApi

  • @dl1819
    @dl1819 5 лет назад +1

    ... you didn't answer the question.

    • @nl1575
      @nl1575 4 года назад

      The question doesn't have a straightforward answer

  • @jackmaison4209
    @jackmaison4209 4 года назад

    Neither, try Fastapi.

  • @YanestraAgain
    @YanestraAgain 3 года назад

    This was a little bit disappointing video.