Home Projects Portfolio Dashboard Export PDF Log in

Languages

English
52

Latest Updates

Documenting code, one commit at a time.

RxJS 1 post
×

Decoupling Appointment Logic with Factory and Observer Patterns

Managing a complex scheduling system like mediTurn requires a delicate balance between flexibility and maintainability. As our appointment management needs grew, the core code started becoming brittle, with too many responsibilities crammed into a single service. To address this, we recently refactored the module by implementing the Factory and Observer patterns.

The Problem: Tightly Coupled