Laravel vs Django - What to choose and why?

  Рет қаралды 21,658

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 7 ай бұрын
Coming from someone who both doesn't know python and php when i started django is easier. Don't quit tho
@Yarkanlaki
@Yarkanlaki 7 ай бұрын
Why Django is pain it's just python function and tuple
@Yarkanlaki
@Yarkanlaki 7 ай бұрын
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
@fifthavenue2105
@fifthavenue2105 Жыл бұрын
Python still remains the fastest language so far! What??? Since when 😂
@techrevolution1408
@techrevolution1408 7 ай бұрын
Python is slowest ever.
@OmarHashimOAD
@OmarHashimOAD 6 ай бұрын
i love python and it is the first time i heard someone said that 🤣🤣
@manishdeshpande
@manishdeshpande 4 ай бұрын
I've not seen any language slower and sluggish than python.😂
@hsemix
@hsemix Жыл бұрын
Python has never been faster than php
@blabla-kk8bl
@blabla-kk8bl 2 ай бұрын
It is faster, stop your lie probaganda.
@harem_lord-FFM
@harem_lord-FFM Жыл бұрын
for APIs, Django has Django Rest Framework.
@TheSilverwolf97
@TheSilverwolf97 6 ай бұрын
I was thinking that the entire time. Django Rest makes handling APIs as easy as in Laravel imo.
@Aerocoder
@Aerocoder 4 ай бұрын
And FAST API
@yungifez
@yungifez Жыл бұрын
If speed is what you need, use octane
@cristianbilu
@cristianbilu Жыл бұрын
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 Жыл бұрын
@@cristianbilu I see people naively saying django is faster than laravel Speed shouldn't be a reason to use 1 framework over the other
@MainActor
@MainActor 6 ай бұрын
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.
@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 11 ай бұрын
nope
@fcnealvillangca7943
@fcnealvillangca7943 7 ай бұрын
Nope and the annotation in python makes it better
@erik.andri12
@erik.andri12 2 ай бұрын
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
@yahya-d3y
@yahya-d3y 3 ай бұрын
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..
@matrix9134
@matrix9134 5 ай бұрын
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.
@blabla-kk8bl
@blabla-kk8bl 2 ай бұрын
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 5 ай бұрын
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
@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
@brianmatovu
@brianmatovu Жыл бұрын
"Steep learning curve for Laravel" - Nah
@paschalokafor9043
@paschalokafor9043 Жыл бұрын
It surprises me
@fcnealvillangca7943
@fcnealvillangca7943 7 ай бұрын
Coming from non IT grad. Laravel and php has steep learning curve than python and django
@TheSilverwolf97
@TheSilverwolf97 6 ай бұрын
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.
@fcnealvillangca7943
@fcnealvillangca7943 7 ай бұрын
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 6 ай бұрын
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.
@dipereira0123
@dipereira0123 5 ай бұрын
Tech discussions aside, Damn I love the art style and the animations =) thumbs up!!
@InfiniteTwice
@InfiniteTwice Жыл бұрын
Horizon actually is a queue manager
@shahsawoodshinwari
@shahsawoodshinwari Жыл бұрын
I have worked in both, but each one has their own goods and bads
@HaifengZhu-pn3uq
@HaifengZhu-pn3uq Жыл бұрын
Is Laravel only backend?
@hsemix
@hsemix Жыл бұрын
Well, not anymore with livewire
@oyobiryani
@oyobiryani 6 ай бұрын
@@hsemix yes livewire is the best
@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.
@harem_lord-FFM
@harem_lord-FFM Жыл бұрын
@@lejames5987 python
@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 7 ай бұрын
Huh? Im pretty sure you can use vite with Django just serve the main html as template
@Yarkanlaki
@Yarkanlaki 7 ай бұрын
Use htmx. And tailwinds you don’t even need js 😂
@fcnealvillangca7943
@fcnealvillangca7943 7 ай бұрын
@@Yarkanlaki agree
@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. 😊
@amanuelmekashaw8738
@amanuelmekashaw8738 4 ай бұрын
Django's license only needs M to be NSWF
@coolcha
@coolcha Жыл бұрын
Laravel is awesome!
@Me-vc4sf
@Me-vc4sf 11 ай бұрын
Php 8.1 is 3 times faster than python
@oyobiryani
@oyobiryani 6 ай бұрын
yes
@artmasterkenya
@artmasterkenya 6 ай бұрын
guys debating why one is better than the other, POV: asking whether I can use both
@mohsensalare
@mohsensalare Жыл бұрын
Wtf Do you know anything about Drf?😂😂😂
@Tschüss101
@Tschüss101 6 ай бұрын
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.
@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 6 ай бұрын
I've been bombarded by offers for laravel devs, I've yet to find one for Django.
@cryptixdaemon7236
@cryptixdaemon7236 2 ай бұрын
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.
@codokit
@codokit 11 ай бұрын
Author of the video: "Django good because it on Python. Laravel is worst because it on PHP". Level of competence is very low.
@kaf83
@kaf83 5 ай бұрын
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.
@nurmuhammetallanov9180
@nurmuhammetallanov9180 10 ай бұрын
Absolutely wrong comparison
@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).
Django vs Laravel | Which Framework DOMINATES in 2024?
6:45
Jelvix | TECH IN 5 MINUTES
Рет қаралды 1,8 М.
I built 10 web apps... with 10 different languages
14:23
Fireship
Рет қаралды 1,6 МЛН
World’s strongest WOMAN vs regular GIRLS
00:56
A4
Рет қаралды 21 МЛН
Players vs Pitch 🤯
00:26
LE FOOT EN VIDÉO
Рет қаралды 76 МЛН
Motorbike Smashes Into Porsche! 😱
00:15
Caters Clips
Рет қаралды 22 МЛН
No-Nonsense Backend Engineering Roadmap
10:16
Codebagel
Рет қаралды 239 М.
FastAPI, Flask or Django - Which Should You Use?
9:49
Tech With Tim
Рет қаралды 97 М.
When should you pick Laravel over WordPress?
26:54
viewSource
Рет қаралды 6 М.
Why is Laravel NOT used in Big Development Projects?
11:53
Stefan Mischook
Рет қаралды 182 М.
Is PHP the new JavaScript?
16:18
Josh Cirre
Рет қаралды 14 М.
PHP is the future
34:27
Aaron Francis
Рет қаралды 180 М.
Python Vs. PHP - Which Is Better?!
4:12
Codemy.com
Рет қаралды 12 М.
How principled coders outperform the competition
11:11
Coderized
Рет қаралды 1,7 МЛН