Learning path / Editorial roadmap
Design patterns in the KitDesk pickup workflow
Five class and component collaborations in one local application, taught through problems, forces, contracts and trade-offs.
5 articles available · 1 proposed modules
Read at your own pace. This is a growing editorial plan, not a complete course or a progress tracker. Proposed topics have no lesson pages yet.
Explore the path
5 articles available
Five variation points in one application
Compare Strategy, Adapter, Factory Method, Observer and Decorator through one fictional pickup application.
9 min read
Strategy: separate pickup ordering from session rules
Compare oldest-first and deadline-first preparation in KitDesk, then trace the context-policy contract and its fairness trade-offs.
9 min read
Adapter: translate a cabinet SDK without leaking its contract
Connect KitDesk's reservation source to an incompatible cabinet SDK with explicit phase, timestamp, identity and error rules.
9 min read
Factory Method: let export workflows create their encoders
Export KitDesk's selected pickups as text or CSV through concrete creator subclasses, with explicit snapshot, artifact and product-lifetime contracts.
9 min read
Observer: update a pickup board with explicit notification rules
Let KitDesk's ready panel and badge react independently, then examine listener failures, snapshot delivery and cleanup.
9 min read
Decorator: compose manifest options without a subclass explosion
Wrap KitDesk exports with independent annotation decorators, inspect return order, and compare the object graph with a simple options function.