One of the many difficulties in the lifecycle of any nontrivial application is ensuring that the right level of modularity is present in the codebase.
There exist various methodologies to create interfaces, objects, and services and implementing design patterns that help us manage the ever-increasing complexity that is inevitably created for a real-world application. One methodology that is often left unexplored for web applications is the in-process
publish-subscribe design pattern.
publish-subscribe, or more colloquially known as pub/sub, is a messaging pattern where two classes of participants exist: publishers and subscribers. Publishers send messages and subscribers subscribe to a subset of the ...