tag : JZ PubSub
It’s been a little while since I’ve taken a look at JZ Publish/Subscribe, but recently I had a great idea to fix a problem I was having trouble solving. Mix that in with a few more bits of context capability and you have the version 1.3 release of JZ Publish/Subscribe. Go ahead and read a little more to get the scoop on this great idea and how it will make using JZ Publish/Subscribe more stable.
If you don’t already know, JZ Publish/Subscribe is a jQuery plugin that I developed to add a simple, but powerful Pub/Sub feature to the jQuery utility functions. I’m guessing there are some people out there who don’t understand what Pub/Sub is, how to use it, or why to use it. I’m here to bring some answers and give a specific example of how JZ Publish/Subscribe can be used.
I recently started looking through Dojo because another blog writer seemed to highly recommend it while saying there’s no real need to use jQuery. Dojo seemed quite powerful, probably having DOM manipulation on par with jQuery, but only if you required the correct extra modules. Also the syntax for Dojo is far more verbose. Still it seemed like Dojo had something that jQuery didn’t, so I sought to find what jQuery was lacking. It turns out that the only thing that Dojo (excluding Dijit and it’s other separate libraries) had that jQuery didn’t was a publish/subscribe module.