design-patterns
8 posts
Learn how SOLID principles apply to modern JavaScript development. Practical examples with TypeScript, React hooks, and functional patterns - plus when to use them and when they're overkill.
Explore the architectural evolution from rule-based chatbots to autonomous AI agents. Learn ReAct, Plan-and-Execute, and multi-agent patterns with TypeScript implementations and practical migration strategies.
Exploring how Observer, Strategy, Command, State, and Mediator patterns have evolved with RxJS, Redux, XState, and modern reactive programming paradigms in TypeScript.
Exploring how Singleton, Factory, Builder, and Prototype patterns have evolved in TypeScript. Learn when ES modules replace singletons, when factory functions beat classes, and how TypeScript's type system changes the game.
Exploring modern patterns that emerged from JavaScript and TypeScript ecosystems - hooks, compound components, render props, and repository patterns that solve problems the GoF never encountered.
Exploring how Decorator, Adapter, Facade, Composite, and Proxy patterns evolved in React and TypeScript. Learn when HOCs give way to hooks, how adapters isolate third-party APIs, and when facades simplify complexity.
Explore how the Builder pattern leverages TypeScript's type system to create safe, discoverable APIs across serverless, data layers, and testing - with working examples from AWS CDK, query builders, and more.
A comprehensive introduction to Domain-Driven Design - core concepts, building blocks, strategic patterns, and practical guidance on when and how to apply DDD in software development