mhdy hasanphp-basics-revisions.hashnode.dev·Aug 11, 2024Design-PatternsDecorator Pattern: suppose you want to have burgers with your friends The burger cost you $4 //initial price with initial burger structure or basic price basic burger structure but you want to add some extra things like , cheese , sauce , meat etc he...Discussdesign patterns
Tarun Sharmatapstechie.hashnode.dev·Aug 7, 2024Simplifying Python Decorators: What You Need to Know1. What is a Decorator? Definition:A decorator is a function that takes another function as input and extends or alters its behavior without modifying its actual code. It’s a powerful tool for enhancing code reuse and separating concerns. Use Case:De...DiscussPython Interview Prep: Essential Concepts and TechniquesPython
Shrey Dikshantshreysblog.hashnode.dev·Aug 7, 2024Unlocking the Power of Python Decorators: Enhancing Your Code with EaseIntroduction Decorators are a powerful feature in Python that allow you to modify the behavior of functions or classes. They are used for logging, access control, memoization, and more. This blog post will introduce you to Python decorators, providi...Discussdecorators
Jobin Mathewjobin-mathew.hashnode.dev·Aug 5, 2024✨ Understanding Method Decorators in TypeScript: A Beginner's Guide🚀 Introduction If you're familiar with JavaScript and new to TypeScript, you might have heard about decorators. Decorators are a powerful feature that allows you to add metadata and modify the behavior of your classes and methods. In this guide, we'...Discussmethod decorators
Tarun Sharmatapstechie.hashnode.dev·Aug 4, 2024The Basics of Python's @property Decorator ExplainedUnderstanding Python's @property Decorator In Python, the @property decorator is a powerful feature that allows you to manage object attributes with more control and elegance. To fully grasp @property, it helps to understand the concept of getters an...Discuss·10 likesPython Interview Prep: Essential Concepts and TechniquesPython
Nicanor Talks Webblog.nicanor.me·Jul 31, 2024NestJS DecoratorsDecorators in NestJS play a crucial role in enhancing the functionality and readability of the code. They are a powerful feature that allows you to modify the behaviour of classes, methods, and properties in a declarative way. Origin of Decorators De...Discussnestjs
Mehdi Jaimehdijai.hashnode.dev·Jul 29, 2024Step-by-Step Guide to Creating a NodeJS/ExpressJS API Using Controller PatternIntroduction Abstraction is a core objective of programming language frameworks, including LaravelPHP, NestJS, and ASP.NET. These frameworks implement the MVC (Model-View-Controller) pattern, effectively abstracting HTTP handling, routing, and databa...DiscussNodeExpAPIcontrollers
Anuj Kumar Upadhyayanuj1.hashnode.dev·Jul 20, 2024Decorators in TypeScriptWelcome back to our TypeScript series! Today, we’ll explore decorators, a powerful feature that allows you to modify classes, methods, properties, and parameters. Decorators provide a way to add annotations and a meta-programming syntax for class dec...Discuss·1 likeTypeScriptTypeScript
Amit Kumar Maitymyt.hashnode.dev·Jul 19, 2024The `@Injectable()` decorator in AngularThe @Injectable() decorator in Angular is crucial for enabling dependency injection, a design pattern that promotes loose coupling and code reusability. Here's why it's needed and a real-world analogy to simplify the concept: Why Use @Injectable()? ...DiscussAngular
ByteScrum TechnologiesforByteScrum Technologiesblog.bytescrum.com·Jul 18, 2024Building Powerful APIs with NestJS ControllersNestJS is a progressive Node.js framework that allows you to build efficient, reliable, and scalable server-side applications. One of the key components of a NestJS application is the controller, which is responsible for handling incoming requests, p...Discuss·60 likes·65 readsnest controller