Design patterns are a great tool for developers, providing us with generalised and reusable solutions to common problems in software development. In this post we’ll see one of the more valuable patterns for modern applications, the Publish/Subscribe pattern and how to use it in JavaScript applications. The problem Let me use one of the most common features in modern web applications to introduce t