Laravel vs Django - What to choose and why?

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 ต.ค. 2024

ความคิดเห็น • 86

  • @virallake
    @virallake ปีที่แล้ว +38

    the fact that he said that laravel is harder to learn than django broke my heart django is a pain for me

    • @JohnRoux
      @JohnRoux ปีที่แล้ว +2

      It's also just very much not true

    • @paschalokafor9043
      @paschalokafor9043 ปีที่แล้ว +3

      it is not true. Laravel is easier to learn if you are already good with php

    • @mumu2413
      @mumu2413 ปีที่แล้ว +3

      I think it is subjective, you can learn django faster if you have solid knowledge about python.

    • @fcnealvillangca7943
      @fcnealvillangca7943 6 หลายเดือนก่อน

      Coming from someone who both doesn't know python and php when i started django is easier. Don't quit tho

    • @Yarkanlaki
      @Yarkanlaki 5 หลายเดือนก่อน

      Why Django is pain it's just python function and tuple

  • @Muhammed-nani964
    @Muhammed-nani964 ปีที่แล้ว +34

    I think as a backend engineer, learning your first framework is the hardest part. After that, it will be much easier to switch to another framework if your company asks you to. However, it is important to choose a framework that is in demand in your area. For example, if most companies in your area use Express, it would be a waste of time to learn Symfony. It is better to focus on learning a framework that will help you land a job. Once you have a job, you can learn whatever framework you want. There is no competition between frameworks, and they all have their own purpose.

  • @Yarkanlaki
    @Yarkanlaki 5 หลายเดือนก่อน +9

    Django Rest api is almost as built in package its has part of Django documentation also if just add Django rest api you would get ur rest api. All CRUD and authentication done ✅ for all models. Unlike laravel you have build routing and controller for each model

  • @hsemix
    @hsemix 10 หลายเดือนก่อน +21

    Python has never been faster than php

    • @blabla-kk8bl
      @blabla-kk8bl 26 วันที่ผ่านมา +1

      It is faster, stop your lie probaganda.

  • @fifthavenue2105
    @fifthavenue2105 ปีที่แล้ว +16

    Python still remains the fastest language so far! What??? Since when 😂

    • @techrevolution1408
      @techrevolution1408 6 หลายเดือนก่อน +2

      Python is slowest ever.

    • @OmarHashimOAD
      @OmarHashimOAD 4 หลายเดือนก่อน +1

      i love python and it is the first time i heard someone said that 🤣🤣

    • @manishdeshpande
      @manishdeshpande 3 หลายเดือนก่อน

      I've not seen any language slower and sluggish than python.😂

  • @brianmatovu
    @brianmatovu ปีที่แล้ว +20

    "Steep learning curve for Laravel" - Nah

    • @paschalokafor9043
      @paschalokafor9043 ปีที่แล้ว

      It surprises me

    • @fcnealvillangca7943
      @fcnealvillangca7943 6 หลายเดือนก่อน +2

      Coming from non IT grad. Laravel and php has steep learning curve than python and django

    • @TheSilverwolf97
      @TheSilverwolf97 5 หลายเดือนก่อน +1

      To me Laravel and Django as FRAMEWORKS are the same in terms of difficulty, maaaybe Laravel a bit harder since the file structure is not as intuitive and simple as Django. Language wise, yes PHP is harder than Python purely by how Python writes syntax so cleanly, but is mostly that, a harder language would be C since there you have to declare everything.

  • @yahya-d3y
    @yahya-d3y 2 หลายเดือนก่อน +1

    choose django. Because you would have to learn python and python is a better and more complete language.You can build anything you want with python. If you want to code a blockchain app you can do it, a console app you can do it etc..

  • @alkadoHs
    @alkadoHs ปีที่แล้ว +6

    Django is easier than Laravel...??
    Brother seriously ???
    Do you know Django really??

    • @lejames5987
      @lejames5987 ปีที่แล้ว

      Based on your personal experience, which one was easier to learn, python or php?

    • @alkadoHs
      @alkadoHs ปีที่แล้ว +2

      Both languages was easier for me, and I started with PHP before learning Python.

    • @banwa_non
      @banwa_non ปีที่แล้ว

      @@lejames5987 python

  • @mohsensalare
    @mohsensalare ปีที่แล้ว +4

    Wtf
    Do you know anything about Drf?😂😂😂

  • @yungifez
    @yungifez ปีที่แล้ว +10

    If speed is what you need, use octane

    • @cristianbilu
      @cristianbilu 11 หลายเดือนก่อน +2

      Who needs speed my friend? Both frameworks can handle the load 95% of the websites today get. If you think your app will be a new facebook you are delusional, and if you really can get there, you’ll have a lot of money to hire someone to fix the problem and you won’t even care

    • @yungifez
      @yungifez 11 หลายเดือนก่อน +1

      @@cristianbilu I see people naively saying django is faster than laravel
      Speed shouldn't be a reason to use 1 framework over the other

  • @blabla-kk8bl
    @blabla-kk8bl 26 วันที่ผ่านมา

    Django is way to go. Soo happy using it and it much mature and stable than laravel. In built automatic admin creation, ORM makes it perfect.

  • @cryptixdaemon7236
    @cryptixdaemon7236 27 วันที่ผ่านมา

    Sorry, cannot agree with this any less and the business use case shown isn't valid for comparison as it wasn't a fair comparison, clearly not knowing Python well enough to know it could do all Laravel could and then some. I like both Laraval and Python and both are really great, but if you don't know what you should know about what there is to know then you won't know what you're missing out on. This is by no means a true comparison.

  • @botcontador3286
    @botcontador3286 ปีที่แล้ว +11

    Php8.1 onward versions have execution time way faster than python. Now, all of most popular and stable php frameworks have not yet caught up with the latest php language features.

    • @khangle6872
      @khangle6872 ปีที่แล้ว

      "most popular and stable frameworks" is just Laravel and Symfony anyway...
      Both of them had integrate a ton of new php 8+ to their ecosystem. Most notably 8.1 enum and return type

    • @botcontador3286
      @botcontador3286 ปีที่แล้ว +1

      @@khangle6872 at the end of the day you most likely do not need a framework. I used to have that mentality but contrary to what most people would argue, less is more. Why add an extra layer of complexity?

    • @khangle6872
      @khangle6872 ปีที่แล้ว +3

      @@botcontador3286 time efficiency and consistency
      Back when i first learned web development, i built a system in pure java, spent months writing my own router, password hash, directory structures, etc.
      It was fun figuring out stuff but took way too long, i can accomplish everything i had done in those months in literally 10 minutes with Laravel.
      In a company, time spent is critical. It is money and the quick kickstart of framework is quite frankly indispensable. If we stop working with frameworks we would be gone in less than 6 months
      You could argue that i can write common components that can be copy-pasted between projects to save time. But that is literally what a framework is, if i am creating my own custom framework. I'd rather use a battle-tested one
      Then we also have coding style. Custom code is by default hard to onboard. We contracted a legacy Java codebase written in a custom internal framework not so long ago. There is absolutely NO document and we spend almost 2 months to figure out wtf it is doing and what belong to what.
      In contrast, a recent Laravel contract took us about 2-3 days to know the ins and outs, with the official documents already explain like 60-70% of the code base

  • @adampatterson
    @adampatterson 4 หลายเดือนก่อน +1

    Laravel hosting is more readily available compared to Django. And maybe knowing a bit more PHP is required for Laravel the environment setup for Python I always found to be pain.
    Especially on a Mac

  • @Me-vc4sf
    @Me-vc4sf 9 หลายเดือนก่อน +3

    Php 8.1 is 3 times faster than python

    • @oyobiryani
      @oyobiryani 5 หลายเดือนก่อน

      yes

  • @matrix9134
    @matrix9134 4 หลายเดือนก่อน +1

    guys tbh with u
    don't ever listen to this thing
    i can't believe if he knows what he's taking about .
    1- django is slower cus of python
    2- django has django rest framework for api support
    3- django is heavy weight framework

  • @MainActor
    @MainActor 4 หลายเดือนก่อน +1

    I personally think Laravel is way easier to learn, and based on what I’ve seen recently, it’s way more feature packed than any other framework, it’s got pretty much everything you could ask for.
    Maybe it’s true for Django as well, but I’ve given up learning it years ago.

  • @herrduenschnlate2359
    @herrduenschnlate2359 ปีที่แล้ว +2

    rest_framework in combination with drf_spectacular and djangorestframework_dataclasses is a great experience in django.
    You get serializer generation based on typed dataclasses full openai specifications generated for your api's and quite quick and flexible api development using function or class views, everything customizable to the core but with sensible default inital setups.

  • @guitubeyt
    @guitubeyt ปีที่แล้ว +12

    Pretty sure the speed is faster on Laravel, due to new PHP 8 that is faster than Python, and combined with FPM or Octane which is blazingly fast

    • @luisloyola3591
      @luisloyola3591 ปีที่แล้ว +3

      after python 3.11 maybe not.

    • @SAsquirtle
      @SAsquirtle 9 หลายเดือนก่อน

      nope

    • @fcnealvillangca7943
      @fcnealvillangca7943 6 หลายเดือนก่อน

      Nope and the annotation in python makes it better

    • @erik.andri12
      @erik.andri12 หลายเดือนก่อน

      I used Octane with Swoole and my API become blazingly fast, i have compared it with Golang Fiber, and the result is very very slight difference, sometimes Fiber faster and sometimes Swoole faster. But i never Benchmark it with Jango, so curious

  • @dipereira0123
    @dipereira0123 4 หลายเดือนก่อน +1

    Tech discussions aside, Damn I love the art style and the animations =) thumbs up!!

  • @banwa_non
    @banwa_non ปีที่แล้ว +12

    for APIs, Django has Django Rest Framework.

    • @TheSilverwolf97
      @TheSilverwolf97 5 หลายเดือนก่อน +1

      I was thinking that the entire time. Django Rest makes handling APIs as easy as in Laravel imo.

    • @Aerocoder
      @Aerocoder 3 หลายเดือนก่อน +2

      And FAST API

  • @amanuelmekashaw8738
    @amanuelmekashaw8738 3 หลายเดือนก่อน +1

    Django's license only needs M to be NSWF

  • @InfiniteTwice
    @InfiniteTwice ปีที่แล้ว +2

    Horizon actually is a queue manager

  • @codokit
    @codokit 9 หลายเดือนก่อน +6

    Author of the video: "Django good because it on Python. Laravel is worst because it on PHP". Level of competence is very low.

  • @fcnealvillangca7943
    @fcnealvillangca7943 6 หลายเดือนก่อน +1

    What's with the violent reaction with laravel has more steep learning curve than django?
    Probably because schools teach you php as basic starter language but for people who just started with both from scratch and no IT degree it's probably true that django is easier to learn than laravel

    • @TheSilverwolf97
      @TheSilverwolf97 5 หลายเดือนก่อน

      My school taught me C as a starter language to force to have fundamental levels of programming lol. I thank them so much, after learning C, everything was a smooth ride.

  • @hoceynesouala2813
    @hoceynesouala2813 ปีที่แล้ว +2

    how do you animate your videos which all are awesome🤯

    • @alex.andru.m
      @alex.andru.m ปีที่แล้ว

      Thank you. I do the animations in Adobe After Effects. 😊

  • @coolcha
    @coolcha ปีที่แล้ว +2

    Laravel is awesome!

  • @kaf83
    @kaf83 4 หลายเดือนก่อน

    This video is full of lies. Almost every take is wrong.
    I don't know where to start. PHP has been faster than Python for a long time. And Laravel is by far easier to learn. The only reason Django would be easier is if you are already a python dev. Laravel has also has full stack sub-frameworks like inertia and livewire so saying its only better for API's is just a weird take.

  • @Tschüss101
    @Tschüss101 4 หลายเดือนก่อน

    I am quite offended by this title. Coz these apps are the same and yet so different. If you want to make yourself suffer, learn Laravel but if it's what you need to land a job, then I get you. But Django is like Laravel but like awyyyyyyy easier.

  • @HaifengZhu-pn3uq
    @HaifengZhu-pn3uq ปีที่แล้ว +2

    Is Laravel only backend?

    • @hsemix
      @hsemix 10 หลายเดือนก่อน +3

      Well, not anymore with livewire

    • @oyobiryani
      @oyobiryani 5 หลายเดือนก่อน

      @@hsemix yes livewire is the best

  • @shahsawoodshinwari
    @shahsawoodshinwari ปีที่แล้ว +1

    I have worked in both, but each one has their own goods and bads

  • @artmasterkenya
    @artmasterkenya 5 หลายเดือนก่อน

    guys debating why one is better than the other, POV: asking whether I can use both

  • @nurmuhammetallanov9180
    @nurmuhammetallanov9180 9 หลายเดือนก่อน

    Absolutely wrong comparison

  • @techinsider3611
    @techinsider3611 ปีที่แล้ว +2

    As a django developer.
    One thing that is missing in django is vite for frontend building

    • @jakewolf079
      @jakewolf079 ปีที่แล้ว +1

      vite is amazing

    • @nocopyrightgameplaystockvi231
      @nocopyrightgameplaystockvi231 ปีที่แล้ว +1

      That will come up in the future.

    • @fcnealvillangca7943
      @fcnealvillangca7943 6 หลายเดือนก่อน

      Huh? Im pretty sure you can use vite with Django just serve the main html as template

    • @Yarkanlaki
      @Yarkanlaki 5 หลายเดือนก่อน +3

      Use htmx. And tailwinds you don’t even need js 😂

    • @fcnealvillangca7943
      @fcnealvillangca7943 5 หลายเดือนก่อน +1

      @@Yarkanlaki agree

  • @kapilpoudel8452
    @kapilpoudel8452 ปีที่แล้ว +5

    i was learning Django now i think i need to shift to laravel 😢😢

    • @RaefetOuafiqo
      @RaefetOuafiqo ปีที่แล้ว

      Django is good enough to create any project you dream of

    • @kapilpoudel8452
      @kapilpoudel8452 ปีที่แล้ว +2

      @@RaefetOuafiqo but so many drawback of django 😢😢

    • @RaefetOuafiqo
      @RaefetOuafiqo ปีที่แล้ว +1

      @@kapilpoudel8452 nah it's good, ive been using it for so long, and created many high products.

    • @alex.andru.m
      @alex.andru.m ปีที่แล้ว +8

      I don't necessarily think you need to shift to one or the other. Just learn the two frameworks, more power to you. Plus frameworks evolve over time, keeping pace with both them should help you as well. Plus, sometimes I think one can come up with new breaking features and you can easily pick it up since you have basic knowledge of both.

    • @jayveloper
      @jayveloper ปีที่แล้ว +8

      Keep learning Django. Once you get a grasp on it, learning Laravel will be way more easier as it will be a matter of comparing the different ways to do things in Laravel to Django (which you already know).

  • @AbderrahmanFodili
    @AbderrahmanFodili ปีที่แล้ว +2

    I work with Laravel. it's great and all but not a lot of job opportunities compared to Django. I'll start learning Django next because that's where the money is!

    • @pavel9004
      @pavel9004 ปีที่แล้ว +4

      Really? I've seen many more job ads about PHP than Python for Web development, especially in freelancing.

    • @TheSilverwolf97
      @TheSilverwolf97 5 หลายเดือนก่อน

      I've been bombarded by offers for laravel devs, I've yet to find one for Django.