Tag: pubsub

Articles and experiments related to pubsub.

Building a simple PubSub system in JavaScript

In this post, I share a simple client-side JavaScript PubSub system I built. Motivated by the Not-Invented-Here syndrome and the desire for independent UI components, I created a lightweight event manager called EventManager. It allows components to communicate without direct dependencies by publishing and subscribing to named events. While similar to tools like Redux, this approach avoids separate state management, leveraging the browser's existing state. The code is available on GitHub.

Read article

Response to Comment From Rafer

Thanks to Scott Rafer for the comment! I'm experimenting with providing topic search results rather than keyword searches to offer broader perspectives on a topic. RSS feeds are there because I like staying up-to-date, sort of like a personalized PubSub. I'm open to change though, so I'll experiment with adding color-coded boxes at the bottom of each post linking to Technorati tags, Feedster, and MSN Search results, all related to the post's topic to avoid tag spam.

Read article

Stay in the loop.

I'm trialing a newsletter. Join for monthly insights into web dev, Chrome, and the open web.

alternate_email

Get in touch

Open to chat about Chrome or Web development.

Book a consultation