EidosOn this pageEidos Creational Patternsβ Abstract FactoryπCreate families of related objects without specifying concrete classesExplanationsLive Demo1 createAbstractFactory BuilderπStep-by-step construction of complex objectsExplanationsLive Demo2 createBuilder createValidatedBuilder Factory MethodDelegate object creation to subclasses or functionsExplanationsLive Demo1 createFactoryMethod Structural Patternsβ AdapterπAdapt function signatures with input/output mappersExplanationsLive Demo2 adapt createAdapter BridgeDecouple abstraction from implementationExplanationsLive Demo2 composeBridges createBridge CompositeπTree structures with uniform leaf/branch handlingExplanationsLive Demo6 branch find flatten fold leaf map DecoratorπBefore/after/around hooks for functionsExplanationsLive Demo4 after around before decorate FacadeSimplified interface to a complex subsystemExplanationsLive Demo1 createFacade ProxyLazy init, caching, rate-limiting, access controlExplanationsLive Demo2 guarded lazy Behavioral Patternsβ Chain of ResponsibilityπPipeline of handlers that can pass or handle requestsExplanationsLive Demo2 createChain safeChain CommandπEncapsulate actions with undo/redo supportExplanationsLive Demo5 createCommandStack createReactiveCommandStack safeExecute undoable undoableState InterpreterEvaluate expressions or DSLsExplanationsLive Demo1 interpret IteratorπTraverse collections without exposing internalsExplanationsLive Demo8 createIterable filter iterate lazyRange map reduce take toArray MediatorπCentralize communication between componentsExplanationsLive Demo1 createMediator MementoπCapture and restore object state (snapshots)ExplanationsLive Demo1 createHistory ObserverπPub/sub event emitter with safe notificationExplanationsLive Demo1 createObservable StateπObject behavior changes based on internal stateExplanationsLive Demo1 createMachine StrategyπSwap algorithms at runtimeExplanationsLive Demo4 createStrategies safeStrategy withFallback withValidation Template MethodπDefine skeleton algorithm, let subclasses fill stepsExplanationsLive Demo2 template templateWithDefaults VisitorAdd operations to objects without modifying themExplanationsLive Demo1 visit