In this article, Martin Fowler recommends to use the observer pattern only between layer boundaries and to avoid to use it for dependencies in one layer. But what is the alternative to the observer pattern, if I still need some amount of decoupling?
Aucun commentaire:
Enregistrer un commentaire