O'Reilly logo

Flask Blueprints by Joël Perras

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Publish/subscribe events with Blinker

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.

Generally, 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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required