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.
Knowing this, I checked around to see if others had created any publish/subscribe plugins. Everything I found seemed to be the bare minimum. So I did what any good programmer would do: I wrote my own plugin. I named this plugin JZ Publish/Subscribe. You can go to the project page for JZ Publish/Subscribe to read the full documentation and get the latest version download.