Dylan Schiemann
Member since Oct 21, 2010
- Profile: /members/7117-dylan-schiemann.htm
- URL: http://dylanschiemann.com/
- Comments: 3
Recent Blog Comments By Dylan Schiemann
-
Simple Publication And Subscription Functionality (Pub/Sub) With jQuery
Posted on Oct 23, 2010 at 2:12 PM
@Ben: onunload is somewhat of a special case because you have to cancel stuff right away to do anything. In thinking about it, such an event is really something you would either handle within your message bus (the thing that routes all the pubsub calls), or some sort of hook in your pubsub router t... read more »
-
Simple Publication And Subscription Functionality (Pub/Sub) With jQuery
Posted on Oct 21, 2010 at 12:43 PM
@Ben: yes, we use an AOP approach. For connectPublisher, we return a handle which can be disconnected through dojo.disconnect() So in the case of registering a publisher in this way, we do retain a reference to it just for disconnect purposes. As far as two competing approaches (connect/bind vs. pu... read more »
-
Simple Publication And Subscription Functionality (Pub/Sub) With jQuery
Posted on Oct 21, 2010 at 11:20 AM
Hi Ben, I've been involved with pubsub for many years in the area of Comet and "later" with Dojo. It's an eventing paradigm that's sorely missing from JS. Anyway, I would strongly recommend looking at phiggins' plug-in as it's pretty elegant, and based on the work we've done with pubsub ... read more »