Decorator Pattern Complete Guide | Real-time Projects series by

Lets learn basics of decorator pattern and build real projects with using decorators. * What is decorator? * The skeleton of a decorator * Decorator Approaches * What is Handler and how it works? * Build/Create/Set Handlers * Building PyPI library for some kind decorator based works. * More and more.... * All about decorators are here... *

  • Intro | What is Decorators? of Decorator Pattern Complete Guide | Real-time Projects by

    In object-oriented programming, the decorator pattern is a design pattern that allows behavior to be added to an individual object, dynamically, without affecting the behavior of other instances of the same class.[1] The decorator pattern is often useful for adhering to the Single Responsibility Principle, as it allows functionality to be divided between classes with unique areas of concern[2] as well as to the Open-Closed Principle, by allowing the functionality of a class to be extended without being modified.[3] Decorator use can be more efficient than subclassing, because an object's behavior can be augmented without defining an entirely new object.

  • Python & tricks about OOP Design | Special Methods & Examples of Decorator Pattern Complete Guide | Real-time Projects by

    In this lecture, we handle the basics of OOP and we take a look to tricks about OOP design while we'll build projects. Also the basics of Special Methods of classes will included here and examples will added to lecture.

  • Structure of Classical Decorator | Inner Funcs. & Using Examples of Decorator Pattern Complete Guide | Real-time Projects by

    We are making a class about Decorator Pattern structure in this lecture. Also, we learn what is inner function and why we use them in decorators, finally we will see some basic examples about decorator pattern.

  • Decorator Approaches in Classes | Functor/Function Decorators of Decorator Pattern Complete Guide | Real-time Projects by

    In this lecture we learn what is functor class, what is closure types, what is function, why we need a functor class? What is common approaches and their usings? we will learn alllllll oooofffff themmmmmm.

  • Built-in Class/Function Decorators | Examples | How it works? of Decorator Pattern Complete Guide | Real-time Projects by

    In this lecture we will handle how it works builtin class/function decorators and can we write some of them with decorator pattern? questions will be answered and some of them will re-implement.

  • What is handler? Lets make our handlers with decorator pattern. of Decorator Pattern Complete Guide | Real-time Projects by

    In this lecture we will talk about handlers and we will implement some handlers for python projects. Also, In next lecture, we make some projects. For example: BIST100 Share Tracker Application, Bitcoin Price Change Handler, Telegram Bot API handler etc.

  • Lets make 4 great projects begining to end with decorators of Decorator Pattern Complete Guide | Real-time Projects by

    OOP & Decorators & ORM and other techs used in projects below: 1) BIST100 Share Tracker | Handler * In this project we set some SHARES and we will handle them when the share available for our buy/sell filter. 2) News Parser from Feed | Handler * In this project we build a feed parser class and we are trying to scrape news from its source. * When a news published we able to make something with news. Send to telegram, publish on website, save to database, send to notify.... whatever we wanted. 3) Making a manipulator library with decorators * In this project we will implement manipulator functors * Example: @catchexception def divide(a, b): if b == 0: raise ValueError return a / b 4) Telegram Bot API Library Implementation * Getting updates from API and handling messages * Basic message filtering * OOP structured & static typing writing * (Extra) Thoughts about MyPy project and static typing analyzing. * Transforming our project to library and publishing directly on PyPI & GitHub.