Laravel vs Django - What to choose and why?

  Рет қаралды 20,674

Digitalya OPS

Digitalya OPS

Күн бұрын

Пікірлер: 86
@Muhammed-nani964
@Muhammed-nani964 Жыл бұрын
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.
@virallake
@virallake Жыл бұрын
the fact that he said that laravel is harder to learn than django broke my heart django is a pain for me
@JohnRoux
@JohnRoux Жыл бұрын
It's also just very much not true
@paschalokafor9043
@paschalokafor9043 Жыл бұрын
it is not true. Laravel is easier to learn if you are already good with php
@mumu2413
@mumu2413 Жыл бұрын
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
@Yarkanlaki
@Yarkanlaki 5 ай бұрын
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 ай бұрын
Python has never been faster than php
@blabla-kk8bl
@blabla-kk8bl 19 күн бұрын
It is faster, stop your lie probaganda.
@fifthavenue2105
@fifthavenue2105 Жыл бұрын
Python still remains the fastest language so far! What??? Since when 😂
@techrevolution1408
@techrevolution1408 5 ай бұрын
Python is slowest ever.
@OmarHashimOAD
@OmarHashimOAD 4 ай бұрын
i love python and it is the first time i heard someone said that 🤣🤣
@manishdeshpande
@manishdeshpande 2 ай бұрын
I've not seen any language slower and sluggish than python.😂
@brianmatovu
@brianmatovu Жыл бұрын
"Steep learning curve for Laravel" - Nah
@paschalokafor9043
@paschalokafor9043 Жыл бұрын
It surprises me
@fcnealvillangca7943
@fcnealvillangca7943 6 ай бұрын
Coming from non IT grad. Laravel and php has steep learning curve than python and django
@TheSilverwolf97
@TheSilverwolf97 4 ай бұрын
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 Ай бұрын
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..
@yungifez
@yungifez Жыл бұрын
If speed is what you need, use octane
@cristianbilu
@cristianbilu 11 ай бұрын
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 ай бұрын
@@cristianbilu I see people naively saying django is faster than laravel Speed shouldn't be a reason to use 1 framework over the other
@botcontador3286
@botcontador3286 Жыл бұрын
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 Жыл бұрын
@@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 Жыл бұрын
@@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
@MainActor
@MainActor 4 ай бұрын
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.
@banwa_non
@banwa_non Жыл бұрын
for APIs, Django has Django Rest Framework.
@TheSilverwolf97
@TheSilverwolf97 4 ай бұрын
I was thinking that the entire time. Django Rest makes handling APIs as easy as in Laravel imo.
@Aerocoder
@Aerocoder 3 ай бұрын
And FAST API
@alkadoHs
@alkadoHs Жыл бұрын
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 Жыл бұрын
Both languages was easier for me, and I started with PHP before learning Python.
@banwa_non
@banwa_non Жыл бұрын
@@lejames5987 python
@guitubeyt
@guitubeyt Жыл бұрын
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 Жыл бұрын
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
@blabla-kk8bl
@blabla-kk8bl 19 күн бұрын
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.
@adampatterson
@adampatterson 4 ай бұрын
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
@dipereira0123
@dipereira0123 4 ай бұрын
Tech discussions aside, Damn I love the art style and the animations =) thumbs up!!
@InfiniteTwice
@InfiniteTwice Жыл бұрын
Horizon actually is a queue manager
@fcnealvillangca7943
@fcnealvillangca7943 6 ай бұрын
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 4 ай бұрын
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.
@matrix9134
@matrix9134 4 ай бұрын
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
@herrduenschnlate2359
@herrduenschnlate2359 Жыл бұрын
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.
@HaifengZhu-pn3uq
@HaifengZhu-pn3uq Жыл бұрын
Is Laravel only backend?
@hsemix
@hsemix 10 ай бұрын
Well, not anymore with livewire
@oyobiryani
@oyobiryani 5 ай бұрын
@@hsemix yes livewire is the best
@techinsider3611
@techinsider3611 Жыл бұрын
As a django developer. One thing that is missing in django is vite for frontend building
@jakewolf079
@jakewolf079 Жыл бұрын
vite is amazing
@nocopyrightgameplaystockvi231
@nocopyrightgameplaystockvi231 Жыл бұрын
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 ай бұрын
Use htmx. And tailwinds you don’t even need js 😂
@fcnealvillangca7943
@fcnealvillangca7943 5 ай бұрын
@@Yarkanlaki agree
@shahsawoodshinwari
@shahsawoodshinwari Жыл бұрын
I have worked in both, but each one has their own goods and bads
@amanuelmekashaw8738
@amanuelmekashaw8738 3 ай бұрын
Django's license only needs M to be NSWF
@coolcha
@coolcha Жыл бұрын
Laravel is awesome!
@hoceynesouala2813
@hoceynesouala2813 Жыл бұрын
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. 😊
@Me-vc4sf
@Me-vc4sf 9 ай бұрын
Php 8.1 is 3 times faster than python
@oyobiryani
@oyobiryani 5 ай бұрын
yes
@Fate5742
@Fate5742 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.
@codokit
@codokit 9 ай бұрын
Author of the video: "Django good because it on Python. Laravel is worst because it on PHP". Level of competence is very low.
@cryptixdaemon7236
@cryptixdaemon7236 20 күн бұрын
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.
@mohsensalare
@mohsensalare Жыл бұрын
Wtf Do you know anything about Drf?😂😂😂
@artmasterkenya
@artmasterkenya 5 ай бұрын
guys debating why one is better than the other, POV: asking whether I can use both
@kapilpoudel8452
@kapilpoudel8452 Жыл бұрын
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 Жыл бұрын
@@RaefetOuafiqo but so many drawback of django 😢😢
@RaefetOuafiqo
@RaefetOuafiqo Жыл бұрын
@@kapilpoudel8452 nah it's good, ive been using it for so long, and created many high products.
@alex.andru.m
@alex.andru.m Жыл бұрын
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 Жыл бұрын
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).
@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.
@AbderrahmanFodili
@AbderrahmanFodili Жыл бұрын
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 Жыл бұрын
Really? I've seen many more job ads about PHP than Python for Web development, especially in freelancing.
@TheSilverwolf97
@TheSilverwolf97 4 ай бұрын
I've been bombarded by offers for laravel devs, I've yet to find one for Django.
@nurmuhammetallanov9180
@nurmuhammetallanov9180 9 ай бұрын
Absolutely wrong comparison
You should just choose Laravel
13:23
Josh Cirre
Рет қаралды 32 М.
FastAPI, Flask or Django - Which Should You Use?
9:49
Tech With Tim
Рет қаралды 83 М.
The Joker wanted to stand at the front, but unexpectedly was beaten up by Officer Rabbit
00:12
Minecraft Creeper Family is back! #minecraft #funny #memes
00:26
Laravel First Impressions From A JavaScript Dev
21:08
adamdotdev
Рет қаралды 131 М.
How principled coders outperform the competition
11:11
Coderized
Рет қаралды 1,7 МЛН
Switching Your Tech Stack (Rails to Laravel).  Worth it?
15:01
Brian Casel
Рет қаралды 2,5 М.
Laravel, Django, Next.js ... which framework would I use for building a SaaS?
11:35
Maximilian Schwarzmüller
Рет қаралды 28 М.
DHH discusses SQLite (and Stoicism)
54:00
Aaron Francis
Рет қаралды 69 М.
Turns out REST APIs weren't the answer (and that's OK!)
10:38
Dylan Beattie
Рет қаралды 159 М.
Brutally honest advice for new .NET Web Developers
7:19
Ed Andersen
Рет қаралды 192 М.
Is Django FINALLY dying? (Let's Investigate)
2:38
PEXT
Рет қаралды 8 М.
Why Don't We Have A Laravel For JavaScript?
12:36
Theo - t3․gg
Рет қаралды 103 М.
The Joker wanted to stand at the front, but unexpectedly was beaten up by Officer Rabbit
00:12