<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Ext.ux.MsgBus Plugin</title>
	<atom:link href="http://blog.extjs.eu/plugins/ext-ux-msgbus-plugin/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.extjs.eu/plugins/ext-ux-msgbus-plugin/</link>
	<description>For good of all productive developers</description>
	<lastBuildDate>Sun, 05 Feb 2012 09:37:22 +0100</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Red</title>
		<link>http://blog.extjs.eu/plugins/ext-ux-msgbus-plugin/comment-page-1/#comment-4128</link>
		<dc:creator>Red</dc:creator>
		<pubDate>Wed, 18 Jan 2012 16:27:30 +0000</pubDate>
		<guid isPermaLink="false">http://blog.extjs.eu/?p=473#comment-4128</guid>
		<description>I am little confused about how the actual filtering is performed. Because the subscription is always done for &#039;message&#039; and the publish always fires the &#039;message&#039; event. Is the filtering used in the publish method? 

I am trying to get this to work on ExtJs4..it works allright..but Its basically working by creating a listener for message and firing an event on it. No subject filtering as expected. What am I doing wrong?</description>
		<content:encoded><![CDATA[<p>I am little confused about how the actual filtering is performed. Because the subscription is always done for &#8216;message&#8217; and the publish always fires the &#8216;message&#8217; event. Is the filtering used in the publish method? </p>
<p>I am trying to get this to work on ExtJs4..it works allright..but Its basically working by creating a listener for message and firing an event on it. No subject filtering as expected. What am I doing wrong?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Totti</title>
		<link>http://blog.extjs.eu/plugins/ext-ux-msgbus-plugin/comment-page-1/#comment-3785</link>
		<dc:creator>Totti</dc:creator>
		<pubDate>Thu, 09 Sep 2010 02:40:38 +0000</pubDate>
		<guid isPermaLink="false">http://blog.extjs.eu/?p=473#comment-3785</guid>
		<description>Very nice idea. I\&#039;m gonna use this for my current project as to reduce the coupling.</description>
		<content:encoded><![CDATA[<p>Very nice idea. I\&#8217;m gonna use this for my current project as to reduce the coupling.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Saki</title>
		<link>http://blog.extjs.eu/plugins/ext-ux-msgbus-plugin/comment-page-1/#comment-3759</link>
		<dc:creator>Saki</dc:creator>
		<pubDate>Mon, 16 Aug 2010 01:14:52 +0000</pubDate>
		<guid isPermaLink="false">http://blog.extjs.eu/?p=473#comment-3759</guid>
		<description>Take a look at forum and/or learn section of http://sencha.com/learn Hint: override constructor.</description>
		<content:encoded><![CDATA[<p>Take a look at forum and/or learn section of <a href="http://sencha.com/learn" rel="nofollow">http://sencha.com/learn</a> Hint: override constructor.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: joe</title>
		<link>http://blog.extjs.eu/plugins/ext-ux-msgbus-plugin/comment-page-1/#comment-3754</link>
		<dc:creator>joe</dc:creator>
		<pubDate>Fri, 13 Aug 2010 18:30:11 +0000</pubDate>
		<guid isPermaLink="false">http://blog.extjs.eu/?p=473#comment-3754</guid>
		<description>Very useful stuff indeed. My approach of what I started today before i found your blog post was an event broker component that would pool all events that are relayed to it. Although I do prefer your solution of a message bus.

However, my approach was hooking the necessary code right into Ext.util.Observable, so that all objects that are descendants of Observable could communicate (right now anything thats not of the Component class won\&#039;t accept plugins). However, I failed to override Ext.util.Observable properly, my skillz are not at leet ;)

I\&#039;d love to any pointers by anyone on how to override Ext.util.Observable properly, since it seems to be quite different to overriding Component, to fit the code into the override and have the messagebus be accessible by any descendant of Observable.</description>
		<content:encoded><![CDATA[<p>Very useful stuff indeed. My approach of what I started today before i found your blog post was an event broker component that would pool all events that are relayed to it. Although I do prefer your solution of a message bus.</p>
<p>However, my approach was hooking the necessary code right into Ext.util.Observable, so that all objects that are descendants of Observable could communicate (right now anything thats not of the Component class won\&#8217;t accept plugins). However, I failed to override Ext.util.Observable properly, my skillz are not at leet <img src='http://blog.extjs.eu/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>I\&#8217;d love to any pointers by anyone on how to override Ext.util.Observable properly, since it seems to be quite different to overriding Component, to fit the code into the override and have the messagebus be accessible by any descendant of Observable.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: joe</title>
		<link>http://blog.extjs.eu/plugins/ext-ux-msgbus-plugin/comment-page-1/#comment-3752</link>
		<dc:creator>joe</dc:creator>
		<pubDate>Fri, 13 Aug 2010 17:01:59 +0000</pubDate>
		<guid isPermaLink="false">http://blog.extjs.eu/?p=473#comment-3752</guid>
		<description>re: Konstantin

I think that is a limitation of Ext, since direct Observable descendents to not take the &quot;plugin&quot; property. tried it on a RowSelectionModel instance and it failed as well.</description>
		<content:encoded><![CDATA[<p>re: Konstantin</p>
<p>I think that is a limitation of Ext, since direct Observable descendents to not take the &#8220;plugin&#8221; property. tried it on a RowSelectionModel instance and it failed as well.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Konstantin</title>
		<link>http://blog.extjs.eu/plugins/ext-ux-msgbus-plugin/comment-page-1/#comment-3729</link>
		<dc:creator>Konstantin</dc:creator>
		<pubDate>Fri, 18 Jun 2010 10:29:17 +0000</pubDate>
		<guid isPermaLink="false">http://blog.extjs.eu/?p=473#comment-3729</guid>
		<description>If you attach plugin to Ext.util.Observable or to your class, that extends Observable, it does not work. I wanted it for my core classes which just do some work, they do not appear visually. But ended up with changing parent for these classes to Ext.Component in order to get it working OK.</description>
		<content:encoded><![CDATA[<p>If you attach plugin to Ext.util.Observable or to your class, that extends Observable, it does not work. I wanted it for my core classes which just do some work, they do not appear visually. But ended up with changing parent for these classes to Ext.Component in order to get it working OK.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://blog.extjs.eu/plugins/ext-ux-msgbus-plugin/comment-page-1/#comment-3714</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Sat, 08 May 2010 20:49:31 +0000</pubDate>
		<guid isPermaLink="false">http://blog.extjs.eu/?p=473#comment-3714</guid>
		<description>Saki,
 is there a way to use this to build a chat?  So two people on two different computers could chat?</description>
		<content:encoded><![CDATA[<p>Saki,<br />
 is there a way to use this to build a chat?  So two people on two different computers could chat?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Plant</title>
		<link>http://blog.extjs.eu/plugins/ext-ux-msgbus-plugin/comment-page-1/#comment-3711</link>
		<dc:creator>Plant</dc:creator>
		<pubDate>Mon, 19 Apr 2010 09:53:18 +0000</pubDate>
		<guid isPermaLink="false">http://blog.extjs.eu/?p=473#comment-3711</guid>
		<description>Great plugin, it matched my needs exactly. I just had one question: before a subscriber component is destroyed, should it unsubscribe from all messages? It seems to me as if this is necessary to avoid orphaned subscriptions being left in the bus.

If it is neccessary, this seems to do the trick :

for (subject in this.subs) {
  result = this.unsubscribe(subject);
}

Maybe it could be added to a function called on the beforedestroy event, as part of the plug in?</description>
		<content:encoded><![CDATA[<p>Great plugin, it matched my needs exactly. I just had one question: before a subscriber component is destroyed, should it unsubscribe from all messages? It seems to me as if this is necessary to avoid orphaned subscriptions being left in the bus.</p>
<p>If it is neccessary, this seems to do the trick :</p>
<p>for (subject in this.subs) {<br />
  result = this.unsubscribe(subject);<br />
}</p>
<p>Maybe it could be added to a function called on the beforedestroy event, as part of the plug in?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dixon</title>
		<link>http://blog.extjs.eu/plugins/ext-ux-msgbus-plugin/comment-page-1/#comment-3706</link>
		<dc:creator>dixon</dc:creator>
		<pubDate>Wed, 07 Apr 2010 09:03:39 +0000</pubDate>
		<guid isPermaLink="false">http://blog.extjs.eu/?p=473#comment-3706</guid>
		<description>Nice plug-in! I will probably use it in one of my projects. Therefore I would need some information: is it possible to add the publish and un-/subscribe methods to the prototype instead to each object instance? Or do you think that\\\&#039;s not a good idea ...</description>
		<content:encoded><![CDATA[<p>Nice plug-in! I will probably use it in one of my projects. Therefore I would need some information: is it possible to add the publish and un-/subscribe methods to the prototype instead to each object instance? Or do you think that\\\&#8217;s not a good idea &#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jorge Mariani</title>
		<link>http://blog.extjs.eu/plugins/ext-ux-msgbus-plugin/comment-page-1/#comment-3593</link>
		<dc:creator>Jorge Mariani</dc:creator>
		<pubDate>Fri, 16 Oct 2009 00:04:03 +0000</pubDate>
		<guid isPermaLink="false">http://blog.extjs.eu/?p=473#comment-3593</guid>
		<description>Using onRender worked like a charm.

Thank you!</description>
		<content:encoded><![CDATA[<p>Using onRender worked like a charm.</p>
<p>Thank you!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

