views:

13

answers:

0

A popular topic at the jQuery conference in Boston this month was the idea of Pub/Sub - http://www.bennadel.com/blog/2037-Simple-Publication-And-Subscription-Functionality-Pub-Sub-With-jQuery.htm

A common example of what one may use PubSub to do is tracking for a piece of data changing value in order to execute some other event. As far as I know this can be done using either jQuery or the jQuery Data-Link plugin without requiring a PubSub architecture of your own.

What I would like to know is, what exactly are the differences between what PubSub has to offer and what simple data-binding does?.

Is it perhaps more efficient performance wise?