Skip to main content

Dylan Schiemann

Member since Oct 21, 2010

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 »

I believe in love. I believe in compassion. I believe in human rights. I believe that we can afford to give more of these gifts to the world around us because it costs us nothing to be decent and kind and understanding. And, I want you to know that when you land on this site, you are accepted for who you are, no matter how you identify, what truths you live, or whatever kind of goofy shit makes you feel alive! Rock on with your bad self!
Ben Nadel