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/
  • НаукаНаука

Комментарии • 43

  • @phelipe8888
    @phelipe8888 3 года назад +43

    I´m a Python professor, and my students show me your chanel. Your content excite my students to learn more python so thanks you :)

    • @NeuralNine
      @NeuralNine  3 года назад +11

      Awesome. Very happy to hear that ^^

    • @rafaeel731
      @rafaeel731 Год назад +1

      Interesting, do you publish research on Python?

  • @vanderfed
    @vanderfed 3 года назад +3

    Straightforward to the point. Cleanest and easiest explanation of the topic I've seen

  • @-__--__aaaa
    @-__--__aaaa 3 года назад +6

    Only thing i'm searching for about 6months finally i found thanks

  • @__3093
    @__3093 3 года назад +2

    I watch your videos since you were at 5k subscribers, I hope you get to a million soon!

  • @thebry4n547
    @thebry4n547 3 года назад +1

    Why does this channel only have 61k subscribers, its content is really awesome and helpful, thanks bro,
    Greetings from El Salvador ;D

  • @phelipe8888
    @phelipe8888 3 года назад +1

    Your videos are great, thanks for the content

  • @cedric6941
    @cedric6941 3 года назад +2

    Great tutorial!

  • @fitto9718
    @fitto9718 Год назад

    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

  • @enockoloo3814
    @enockoloo3814 8 месяцев назад

    good job man - this is really helpful.

  • @alialavizadeh2775
    @alialavizadeh2775 3 года назад +9

    can you show us more use case of these design pattern in one app not just print stuff, tnx

  • @girish6064
    @girish6064 Год назад

    Thanks for sharing!

  • @chengzhenbo9187
    @chengzhenbo9187 2 года назад

    Great tutorial.

  • @mickey02423
    @mickey02423 3 года назад +1

    More design pattern content please:)

  • @julianreichelt1719
    @julianreichelt1719 11 месяцев назад

    very nice video!

  • @swimmwatch
    @swimmwatch 2 года назад +2

    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).

  • @Black-mz4wy
    @Black-mz4wy 3 года назад

    The GOAT!!!

  • @sunritjana4573
    @sunritjana4573 3 года назад

    Which IDE do you use? VIM or NVIM? Btw awesome videos! Love it :D

  • @__3093
    @__3093 3 года назад +1

    this is really an advance tutorial

  • @aymancassim8944
    @aymancassim8944 3 года назад

    whats the ide you are using? it looks like Vim but it doesnt have the same icon so Im curious

  • @rafaeel731
    @rafaeel731 Год назад

    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?

  • @julietatallaferro2072
    @julietatallaferro2072 2 года назад

    thank u!!!

  • @plankton383
    @plankton383 3 года назад

    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):*

    • @hindi_recap1
      @hindi_recap1 Год назад +1

      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.

  • @Kiu1812
    @Kiu1812 Год назад

    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

  • @MadOgre22
    @MadOgre22 Месяц назад

    Why are you using abstractstaticmethod when you are overriding with instance methods?
    Why not abstractmethod?

  • @Daniel-of4iz
    @Daniel-of4iz 2 года назад

    Wouldn’t it be better to make the method in Person private? Or does that not make sense?

  • @simon3431
    @simon3431 3 года назад +2

    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!

    • @NeuralNine
      @NeuralNine  3 года назад +3

      I am actually from Austria so not even a native speaker ^^

    • @greenhoodie
      @greenhoodie 3 года назад

      @@NeuralNine i have noticed your speaking in the videos has become more refined over time. You sound great 👌 keep it up.

  • @pcdi7531
    @pcdi7531 3 года назад +3

    I may be dumb but what’s the point? 🤨Seems like three layers of complexity for doing one thing 😅

    • @AlexGb007
      @AlexGb007 3 года назад

      That's what I would like to know as well. Will Person be used 'internally' while ProxyPerson is exposed?

    • @0xjtong
      @0xjtong Год назад

      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.

  • @arthur6999
    @arthur6999 3 года назад +3

    day three of asking: could you do an async/await tutorial please?

  • @SergioInToronto
    @SergioInToronto 8 месяцев назад

    TL;DR: objects can contain other objects. Functions can call other functions. This is not a "pattern".

  • @qrixxs3940
    @qrixxs3940 3 года назад

    (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 ?

  • @tcgvsocg1458
    @tcgvsocg1458 3 года назад

    Its not bad but just whit on my screen kill my eyes so its bad video for me

  • @dumbfuckjuice1146
    @dumbfuckjuice1146 9 месяцев назад

    can t u give ur code