Watch Out When Using A Framework Like Django

  Рет қаралды 55,495

ArjanCodes

ArjanCodes

Жыл бұрын

If you work with a framework like Django or React, there are consequences to that choice that you need to be aware of.
👷 Join the FREE Code Diagnosis Workshop to help you review code more effectively using my 3-Factor Diagnosis Framework: www.arjancodes.com/diagnosis
💻 ArjanCodes Blog: www.arjancodes.com/blog.
🎓 Courses:
The Software Designer Mindset: www.arjancodes.com/mindset
The Software Designer Mindset Team Packages: www.arjancodes.com/sas
The Software Architect Mindset: Pre-register now! www.arjancodes.com/architect
Next Level Python: Become a Python Expert: www.arjancodes.com/next-level...
The 30-Day Design Challenge: www.arjancodes.com/30ddc
🛒 GEAR & RECOMMENDED BOOKS: kit.co/arjancodes.
👍 If you enjoyed this content, give this video a like. If you want to watch more of my upcoming videos, consider subscribing to my channel!
💬 Discord: discord.arjan.codes
🐦Twitter: / arjancodes
🌍LinkedIn: / arjancodes
🕵Facebook: / arjancodes
📱Instagram: / arjancodes
#arjancodes #softwaredesign #python
DISCLAIMER - The links in this description might be affiliate links. If you purchase a product or service through one of those links, I may receive a small commission. There is no additional charge to you. Thanks for supporting my channel so I can continue to provide you with free content each week!

Пікірлер: 50
@ArjanCodes
@ArjanCodes 11 ай бұрын
👷 Join the FREE Code Diagnosis Workshop to help you review code more effectively using my 3-Factor Diagnosis Framework: www.arjancodes.com/diagnosis
@samucancld
@samucancld 9 ай бұрын
Django is the GOAT 🐐
@sydneymccarty5501
@sydneymccarty5501 3 ай бұрын
No, it sucks. Anachronistic legacy project. It has the worse orm in the business too. If you're a beginner working in python, pick up flask instead. Just follow a tutorial and learn/use all the packages they included in for the tutorial.
@EldorJ10
@EldorJ10 Жыл бұрын
Agree, although in terms of how fast you can actually deliver and put things to production, frameworks are actually good. As they say, the best framework is the one that ships things the fastest.
@jorisjansen2892
@jorisjansen2892 Жыл бұрын
100% agree, but what would you consider the “django way of doing things”? Could you do a example about it?
@guillaumequittet9418
@guillaumequittet9418 Жыл бұрын
Implementing fallback from another tables in Django was pretty terrible
@guillaumequittet9418
@guillaumequittet9418 Жыл бұрын
Get validation without using a serializer was also a 🤯🔫
@heroe1486
@heroe1486 Жыл бұрын
@@guillaumequittet9418 You don't have to use a serializer of any kind to get server validation, you can just catch the errors and return it. You don't even have to use DRF serializers even with DRF views. All of that is just sugar you can opt ouf from
@idk____idk6530
@idk____idk6530 Жыл бұрын
Agree 💯
@ArjanCodes
@ArjanCodes Жыл бұрын
Thank you , glad you liked the video!
@MatisCCCC
@MatisCCCC Жыл бұрын
at my company we're using an onion based DDD architecture, and the architect did indeed have some trouble combining it with django, but we found a way and now it all goes fine
@vman2780-ur3ux
@vman2780-ur3ux 3 ай бұрын
Do you mind sharing
@sipho4265
@sipho4265 Жыл бұрын
You’re starting to look like Jurgen Klopp more and more
@zinaright
@zinaright 2 ай бұрын
Sounding more and more like Mourinho. Tons of words, no weight to content
@michaelbrittain4937
@michaelbrittain4937 Жыл бұрын
It would be good to explore the best way to design and integrate business logic within a framework like Django. The out of the box “real estate” is quite thin - views for request/response processing, ORM for data access, templates for html. But what if the business logic is more complex, such as a workflow management system? Then we still need to design the appropriate class hierarchies and figure out the best way to integrate back into the framework.
@DevlogBill
@DevlogBill Жыл бұрын
I think I found my soulmate for backend frameworks, Django.
@kachekijaanlega
@kachekijaanlega 11 ай бұрын
what do you like about it
@manan-543
@manan-543 10 ай бұрын
​@@kachekijaanlegaits based on python for starters 😂
@learnmore5438
@learnmore5438 10 ай бұрын
​@@manan-543starter? Oh wow. Have you learned django?
@usoppgostoso
@usoppgostoso 8 ай бұрын
@@learnmore5438 he meant 'to begin with', probably. Django is not for starters in my opinion. It mixes different languages and requires a good understanding of each, as well as a lot of other concepts.
@manny7662
@manny7662 8 ай бұрын
@@kachekijaanlega I like the ease of connectivity to databases, user management, admin panel, and it's Object relational Mapping workflow.
@Rei-m3g
@Rei-m3g Жыл бұрын
Very true! But I want to break out and use golang .
@rommellagera8543
@rommellagera8543 Жыл бұрын
I used a framework in Java that really helped me a lot (OpenXava), I learned how to maximize JPA, organize my code structure and much more. Maybe it depends on the framework. Also, the framework maker may have tried different approaches already but have to pick-up a way that gets the job done. In any case, it pays to know the basics. As I always say technology does not solve the problem, it is up to the developer to create a solution to address the problem.
@aashayamballi
@aashayamballi Жыл бұрын
Totally 💯
@ArjanCodes
@ArjanCodes Жыл бұрын
Thanks Aashay
@lofmaan
@lofmaan Жыл бұрын
Nice video, but I am not sure I fully understand. What's the problem with Django? :)
@manomancan
@manomancan Жыл бұрын
Not me watching this and panicking about using Google Cloud
@mahmudhasan3093
@mahmudhasan3093 Жыл бұрын
Hello arjan, i was just asking which frontend framework goes best with django?
@richardzitha3591
@richardzitha3591 Жыл бұрын
any frontend framework of your choice will work well with Django.
@zinaright
@zinaright 2 ай бұрын
Django gives you room, to do things "your way". Problem is that most devs are just lazy or want shortcut solutions!
@JOJO-jp6js
@JOJO-jp6js 6 ай бұрын
Framework documentation is annoying. Tried rest framework and simple jwt , had to abandon the project because i couldn't find a solution to setting cookies. Returns access and refresh token
@DBriddo
@DBriddo 5 ай бұрын
Have you asked ChatGPT to help you out?
@d.5688
@d.5688 9 ай бұрын
Are you dutch? Do hear some dutch ish accent lol, great video!
@ArjanCodes
@ArjanCodes 9 ай бұрын
Yes I am! :)
@spidey677
@spidey677 8 ай бұрын
Django is great because at the end of the day you can always just use it as your backend for an API and that’s it.
@DBriddo
@DBriddo 5 ай бұрын
It's way more flexible than that
@spidey677
@spidey677 5 ай бұрын
@@DBriddo as a front end dev… I agree 1000000000%
@augus7587
@augus7587 Жыл бұрын
What does that mean
@arunny9430
@arunny9430 Жыл бұрын
Do you find learning frameworks challenging enough or intellectually less stimulating than learning programming languages? Do you find your learning process for learning a new framework differs from learning a new programming language? What are some useful things to follow while learning frameworks, if you could think of some?
@ArjanCodes
@ArjanCodes Жыл бұрын
It depends. I find frameworks very interesting, mainly because of the design choices that have been made in those frameworks and how that affects the code you write. It always gives me lots of insights to look into the thought process behind the framework. So as a general tip I highly recommend learning about the background and the "why" of a framework. This can help you decide whether the framework will integrate well into your own code and whether your current design needs revision.
@zinaright
@zinaright 2 ай бұрын
The same can be said of any programming language. When you use them, you choose to do things "their way". So, what's your point? Lol
@adrianvmois9426
@adrianvmois9426 Жыл бұрын
Being married with React is terrible. Lately is composed of so many hacks just to fit the requirements of the largest company on the Earth that uses SPAs. Is ok only if one work for that company. For the rest of devs is like being married with the largest bride.
@MehdiGuizani
@MehdiGuizani 9 ай бұрын
Yes 😅 kinda sad
@skidipap6673
@skidipap6673 Жыл бұрын
agree. i'm solo developer so i'm gonna marry django
@daviddelaney363
@daviddelaney363 Жыл бұрын
You should commit to the programming approach you have chosen for at least 10 to 15 years. This will ensure that eventually you will be an expert within your modality. The alternative is to become a victim of FOMO. You will end up studying a variety of topics and never remembering any of them very well.
@ArmadilloFactory
@ArmadilloFactory Жыл бұрын
Frameworks are beautiful at first and miserable gremlins in 5 years.
@adrianvmois9426
@adrianvmois9426 Жыл бұрын
You are right. React was amazing in the first years, now it is totally sh_t. Created ideally for a single company Fbook, now it doesn’t represents its community anymore. Devs are leaving it for other similar frameworks or clones.
@xplosive830
@xplosive830 Жыл бұрын
​@@adrianvmois9426 what's the new replacement for react according to developers..? will django be relevant in coming years? if not what's the next best replacement for django?
@adrianvmois9426
@adrianvmois9426 Жыл бұрын
@@xplosive830 might be a react clone like SolidJs. But also might be even React LTS if somebody with enough resources will figure that there is such a need for a Long Term Support version of React. The new Angular have LTS and web components integration, why React's developers refuse to offer that? Also VDOM have to be optional, so it could be switched off for the situations when not needed
@MagnusAnand
@MagnusAnand Жыл бұрын
have your heard about htmx? Cool and easy way to enhance your html to get a SPA but with html 🤯
CrowdStrike Exposes a FUNDAMENTAL Problem in Software
5:30
ArjanCodes
Рет қаралды 33 М.
Best KFC Homemade For My Son #cooking #shorts
00:58
BANKII
Рет қаралды 52 МЛН
WHO LAUGHS LAST LAUGHS BEST 😎 #comedy
00:18
HaHaWhat
Рет қаралды 23 МЛН
You Need to Know This About the Stack and the Heap
15:38
ArjanCodes
Рет қаралды 23 М.
The Story of Next.js
12:13
uidotdev
Рет қаралды 555 М.
Why is Mojo's dictionary slower (!) than Python's?
12:16
EKB PhD
Рет қаралды 3,8 М.
When You Ask the Intern to Review Your Code
4:01
Nicholas T.
Рет қаралды 566 М.
Brutally honest advice for new .NET Web Developers
7:19
Ed Andersen
Рет қаралды 94 М.
Functions vs Classes: When to Use Which and Why?
10:49
ArjanCodes
Рет қаралды 147 М.
FastAPI, Flask or Django - Which Should You Use?
9:49
Tech With Tim
Рет қаралды 57 М.
Python Logging: How to Write Logs Like a Pro!
11:02
ArjanCodes
Рет қаралды 159 М.
I built 10 web apps... with 10 different languages
14:23
Fireship
Рет қаралды 1,5 МЛН
The TRUTH About Golang Backend Frameworks
6:31
Melkey
Рет қаралды 106 М.
Best KFC Homemade For My Son #cooking #shorts
00:58
BANKII
Рет қаралды 52 МЛН