Proxy Design Pattern - Advanced Python Tutorial #8
HTML-код
- Опубликовано: 23 фев 2021
- In this video we talk about the proxy design pattern in Python.
◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾
📚 Programming Books & Merch 📚
💻 The Algorithm Bible Book: www.neuralnine.com/books/
🐍 The Python Bible Book: www.neuralnine.com/books/
👕 Programming Merch: www.neuralnine.com/shop
💻 Exclusive Content 💻
👥 Patreon: / neuralnine
🌐 Social Media & Contact 🌐
📱 Website: www.neuralnine.com/
📷 Instagram: / neuralnine
🐦 Twitter: / neuralnine
🤵 LinkedIn: / neuralnine
📁 GitHub: github.com/NeuralNine
🎵 Outro Music From: www.bensound.com/ Наука
I´m a Python professor, and my students show me your chanel. Your content excite my students to learn more python so thanks you :)
Awesome. Very happy to hear that ^^
Interesting, do you publish research on Python?
Straightforward to the point. Cleanest and easiest explanation of the topic I've seen
Only thing i'm searching for about 6months finally i found thanks
^^
I watch your videos since you were at 5k subscribers, I hope you get to a million soon!
thanks brother :D
Why does this channel only have 61k subscribers, its content is really awesome and helpful, thanks bro,
Greetings from El Salvador ;D
Your videos are great, thanks for the content
Great tutorial!
That it was pretty cool, the lessons was awesome, i'll kept it in my mind for all kind of stuff are coming laters on
good job man - this is really helpful.
can you show us more use case of these design pattern in one app not just print stuff, tnx
Thanks for sharing!
Great tutorial.
More design pattern content please:)
very nice video!
Hi! Thanks for video. I have one question: why do you import abstractstaticmethod instead abstractmethod? abstractstaticmethod is deprecated and it is used for declaring static methods (which don’t take the self argument).
The GOAT!!!
Which IDE do you use? VIM or NVIM? Btw awesome videos! Love it :D
this is really an advance tutorial
whats the ide you are using? it looks like Vim but it doesnt have the same icon so Im curious
Can you delineate the difference between this pattern and simply creating another method in the class, say person_method_02, which adds the needed functionality?
thank u!!!
Thank you! We are learning a lot from you. Please keep doing what you are doing, it's awesome!
Question: shouldn't the *__init__* method have a Person attribute? *def __init__(self, person: Person):*
Too late but I don't think so as it defeats the whole purpose of building the proxy person class. The proxy person creates an attribute self person itself when we create an instance of proxy person. I think this design allows adding extra functionality.
Hey!! Cool video, I love Python and your channel too!!
Where would this be useful in real cases? I can't see the real purpose of it
Why are you using abstractstaticmethod when you are overriding with instance methods?
Why not abstractmethod?
Wouldn’t it be better to make the method in Person private? Or does that not make sense?
are you from NYC?. your accent proves me that! And by the way, your videos are brilliant! START UDEMY courses I would like to buy all of your courses!
I am actually from Austria so not even a native speaker ^^
@@NeuralNine i have noticed your speaking in the videos has become more refined over time. You sound great 👌 keep it up.
I may be dumb but what’s the point? 🤨Seems like three layers of complexity for doing one thing 😅
That's what I would like to know as well. Will Person be used 'internally' while ProxyPerson is exposed?
He mentioned it quickly. It's a wrapper around the component that you want with the same interface that restricts access. That proxy can cache, role based access, lazy load around the object being proxied. Similar to decorator, adapter, and façade patterns with key differences with access restriction and same methods/properties as the prime object.
day three of asking: could you do an async/await tutorial please?
yes please
TL;DR: objects can contain other objects. Functions can call other functions. This is not a "pattern".
(ENGLISH):
Hey do you know how to make a portscanner in c# and Windows Forms Application and can make a tutorial ?
(German):
Hey weist du wie mann einen Portscanner in c# und Windows Forms App macht wenn ja kannst du ein tutorial machen ?
Its not bad but just whit on my screen kill my eyes so its bad video for me
can t u give ur code