design-patternscsharptypescriptbehavioral-patterns
Homeowners, Handymen, and the Scheduler all need to talk to each other, but none of them should know about each other directly. Learn how the Mediator pattern centralises communication through a DispatchCenter in C# and TypeScript.
design-patternscsharptypescriptbehavioral-patterns
Traversing a handyman's job card queue without exposing the internal list structure. Learn the Iterator pattern and why you've been using it every time you write a for...of loop, in C# and TypeScript.
design-patternscsharptypescriptbehavioral-patterns
Assign, Pause, Cancel, Complete; encapsulating job actions as undoable command objects. Queue them, replay them, undo them. Learn the Command pattern in C# and TypeScript.
design-patternscsharptypescriptbehavioral-patterns
A job approval chain: Handyman → Supervisor → Manager, based on cost threshold. Learn how the Chain of Responsibility pattern passes requests along a chain until one handler deals with it, in C# and TypeScript.
design-patternscsharptypescriptstructural-patterns
A handyman shouldn't access electrical job cards without certification. Learn how the Proxy pattern adds access control, logging, and lazy loading without changing the original class in C# and TypeScript.
design-patternscsharptypescriptstructural-patterns
FixIt Pro manages thousands of job cards. Learn how the Flyweight pattern shares common metadata across instances to drastically reduce memory usage in C# and TypeScript.
design-patternscsharptypescriptstructural-patterns
Scheduling, assigning, notifying, and billing, FixIt Pro's dispatch process involves five subsystems. Learn how the Facade pattern hides that complexity behind a single clean interface, in C# and TypeScript.
design-patternscsharptypescriptstructural-patterns
Adding urgency, insurance, and warranty to a job card at runtime, without modifying the original class or creating a subclass for every combination. Learn the Decorator pattern in C# and TypeScript.
design-patternscsharptypescriptstructural-patterns
A Full Kitchen Renovation is made up of plumbing, electrical, and carpentry job cards. Learn how the Composite pattern lets you treat a single job and a group of jobs identically — in C# and TypeScript.