<?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: Events Explained</title>
	<atom:link href="http://blog.extjs.eu/know-how/events-explained/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.extjs.eu/know-how/events-explained/</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: Siddharth</title>
		<link>http://blog.extjs.eu/know-how/events-explained/comment-page-1/#comment-4122</link>
		<dc:creator>Siddharth</dc:creator>
		<pubDate>Mon, 02 Jan 2012 07:52:28 +0000</pubDate>
		<guid isPermaLink="false">http://blog.extjs.eu/?p=72#comment-4122</guid>
		<description>When we are throwing a user defined event we are throwing it for only one component. If we want many components to listen the event, then we have to fire events for each components. Something like this.

component1.fireEvent(&#039;assigned&#039;, this, employee, position);
component2.fireEvent(&#039;assigned&#039;, this, employee, position);
component3.fireEvent(&#039;assigned&#039;, this, employee, position);

This is similar to call any normal function. It looks like custom events are not solving any technical challenge but they are providing a better design approach.</description>
		<content:encoded><![CDATA[<p>When we are throwing a user defined event we are throwing it for only one component. If we want many components to listen the event, then we have to fire events for each components. Something like this.</p>
<p>component1.fireEvent(&#8217;assigned&#8217;, this, employee, position);<br />
component2.fireEvent(&#8217;assigned&#8217;, this, employee, position);<br />
component3.fireEvent(&#8217;assigned&#8217;, this, employee, position);</p>
<p>This is similar to call any normal function. It looks like custom events are not solving any technical challenge but they are providing a better design approach.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Radha Krishna</title>
		<link>http://blog.extjs.eu/know-how/events-explained/comment-page-1/#comment-4119</link>
		<dc:creator>Radha Krishna</dc:creator>
		<pubDate>Tue, 27 Dec 2011 17:29:40 +0000</pubDate>
		<guid isPermaLink="false">http://blog.extjs.eu/?p=72#comment-4119</guid>
		<description>If you have multiple components in your application like grid panel,form etc. when you select something in grid . you will throw an user defined event. you have listeners in panel and from that will update their status according to the event. &#039;Event&#039; is like broadcasting, listeners are like the people who are interested in event. It is like television broadcasting . there can be many channels available to you but you are interested in channel &#039;abc&#039; and someone might be interested in &#039;TNT&#039; etc.</description>
		<content:encoded><![CDATA[<p>If you have multiple components in your application like grid panel,form etc. when you select something in grid . you will throw an user defined event. you have listeners in panel and from that will update their status according to the event. &#8216;Event&#8217; is like broadcasting, listeners are like the people who are interested in event. It is like television broadcasting . there can be many channels available to you but you are interested in channel &#8216;abc&#8217; and someone might be interested in &#8216;TNT&#8217; etc.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Siddharth</title>
		<link>http://blog.extjs.eu/know-how/events-explained/comment-page-1/#comment-4118</link>
		<dc:creator>Siddharth</dc:creator>
		<pubDate>Tue, 27 Dec 2011 12:52:19 +0000</pubDate>
		<guid isPermaLink="false">http://blog.extjs.eu/?p=72#comment-4118</guid>
		<description>I did not get it. Can you give an example.</description>
		<content:encoded><![CDATA[<p>I did not get it. Can you give an example.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Radha Krishna</title>
		<link>http://blog.extjs.eu/know-how/events-explained/comment-page-1/#comment-4117</link>
		<dc:creator>Radha Krishna</dc:creator>
		<pubDate>Mon, 26 Dec 2011 18:39:31 +0000</pubDate>
		<guid isPermaLink="false">http://blog.extjs.eu/?p=72#comment-4117</guid>
		<description>I think events are used when there are multiple listeners, and when you have multiple asynchronous calls.</description>
		<content:encoded><![CDATA[<p>I think events are used when there are multiple listeners, and when you have multiple asynchronous calls.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Siddharth</title>
		<link>http://blog.extjs.eu/know-how/events-explained/comment-page-1/#comment-4116</link>
		<dc:creator>Siddharth</dc:creator>
		<pubDate>Thu, 22 Dec 2011 14:00:16 +0000</pubDate>
		<guid isPermaLink="false">http://blog.extjs.eu/?p=72#comment-4116</guid>
		<description>Hi Saki,

Thanks for this article. It is really helpful. However, I have one query. From example given here it looks like we are firing event manually using “this.fireEvent(&#039;assigned&#039;, this, employee, position);”. If we are firing event manually then why can’t we simply call a normal function here. Please correct me if I am missing anything.

Thanks,
Siddharth Jain</description>
		<content:encoded><![CDATA[<p>Hi Saki,</p>
<p>Thanks for this article. It is really helpful. However, I have one query. From example given here it looks like we are firing event manually using “this.fireEvent(&#8217;assigned&#8217;, this, employee, position);”. If we are firing event manually then why can’t we simply call a normal function here. Please correct me if I am missing anything.</p>
<p>Thanks,<br />
Siddharth Jain</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jan</title>
		<link>http://blog.extjs.eu/know-how/events-explained/comment-page-1/#comment-4110</link>
		<dc:creator>Jan</dc:creator>
		<pubDate>Wed, 23 Nov 2011 13:02:35 +0000</pubDate>
		<guid isPermaLink="false">http://blog.extjs.eu/?p=72#comment-4110</guid>
		<description>Thanks a million.</description>
		<content:encoded><![CDATA[<p>Thanks a million.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: neo</title>
		<link>http://blog.extjs.eu/know-how/events-explained/comment-page-1/#comment-4091</link>
		<dc:creator>neo</dc:creator>
		<pubDate>Sat, 30 Jul 2011 03:56:12 +0000</pubDate>
		<guid isPermaLink="false">http://blog.extjs.eu/?p=72#comment-4091</guid>
		<description>Thanks
one question please:
when we fire event &quot;dismissed&quot; for example that will call the &quot;dismissed&quot; function which also fire the even again! that will lead to execute code inside &quot;dismissed&quot; function forever ?</description>
		<content:encoded><![CDATA[<p>Thanks<br />
one question please:<br />
when we fire event &#8220;dismissed&#8221; for example that will call the &#8220;dismissed&#8221; function which also fire the even again! that will lead to execute code inside &#8220;dismissed&#8221; function forever ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Irina</title>
		<link>http://blog.extjs.eu/know-how/events-explained/comment-page-1/#comment-3949</link>
		<dc:creator>Irina</dc:creator>
		<pubDate>Wed, 08 Dec 2010 02:09:43 +0000</pubDate>
		<guid isPermaLink="false">http://blog.extjs.eu/?p=72#comment-3949</guid>
		<description>This is extremely helpful, thank you.</description>
		<content:encoded><![CDATA[<p>This is extremely helpful, thank you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Saki</title>
		<link>http://blog.extjs.eu/know-how/events-explained/comment-page-1/#comment-3758</link>
		<dc:creator>Saki</dc:creator>
		<pubDate>Mon, 16 Aug 2010 01:12:09 +0000</pubDate>
		<guid isPermaLink="false">http://blog.extjs.eu/?p=72#comment-3758</guid>
		<description>@all, sorry I won&#039;t answer here questions of &quot;How do I ...&quot; nature. There is fantasic forum for this at ext home page. http://www.sencha.com/forum</description>
		<content:encoded><![CDATA[<p>@all, sorry I won&#8217;t answer here questions of &#8220;How do I &#8230;&#8221; nature. There is fantasic forum for this at ext home page. <a href="http://www.sencha.com/forum" rel="nofollow">http://www.sencha.com/forum</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Saki</title>
		<link>http://blog.extjs.eu/know-how/events-explained/comment-page-1/#comment-3757</link>
		<dc:creator>Saki</dc:creator>
		<pubDate>Mon, 16 Aug 2010 01:09:47 +0000</pubDate>
		<guid isPermaLink="false">http://blog.extjs.eu/?p=72#comment-3757</guid>
		<description>No, no. I&#039;ve been around FORTRAN in 80-ties.</description>
		<content:encoded><![CDATA[<p>No, no. I&#8217;ve been around FORTRAN in 80-ties.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

