#Observer-Pattern
3 notas · última:
3 Design Patterns Every Developer Should Learn
The article presents design patterns as reusable approaches to recurring software problems and recommends Strategy, Singleton, and Observer as patterns every developer should know, while warning against overusing them.
Using GenStage to Notify a Phoenix Channel of Updates in Elixir
The post explores using GenStage to notify a Phoenix channel about model updates, first as an observer pattern, then by separating a notification center producer from a channel consumer.
Controller-Directive Communication Part 3: Controller to Directive
The post argues for letting a controller notify a directive through an explicit observer pattern, instead of events, services, or scope hacking, to keep the flow clear and robust.
