Hello.

I am Paul Kinlan.

A Developer Advocate for Chrome and the Open Web at Google.

I love the web. The web should allow anyone to access any experience that they need without the need for native install or content walled garden.

Building a simple PubSub system in JavaScript

Paul Kinlan

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 More

Response to Comment From Rafer

Paul Kinlan

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 More