Design Patterns
Articles about Design Patterns
4 articles
Strategy PatternDesign Patterns
Strategy Pattern: interchangeable algorithms
Guide to the Strategy pattern in TypeScript: define interchangeable algorithms at runtime and eliminate complex conditionals.
·1 min read
Observer PatternDesign Patterns
Observer Pattern: event handling in applications
Implement the Observer pattern in TypeScript for event handling and decoupled communication between application components.
·1 min read
Factory PatternDesign Patterns
Factory Pattern: flexible object creation
Learn the Factory Pattern in TypeScript: Factory Method and Abstract Factory for flexible, decoupled, and extensible object creation.
·1 min read
RepositoryDAO
Repository vs DAO: differences and when to use each pattern
Repository and DAO are different data access patterns. Learn their differences, advantages, and when to use each one in your projects.
·1 min read