<?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: Refactoring ExtJS for readability</title>
	<atom:link href="http://honoluluhacker.com/2008/12/17/refactoring-extjs-for-readability/feed/" rel="self" type="application/rss+xml" />
	<link>http://honoluluhacker.com/2008/12/17/refactoring-extjs-for-readability/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=refactoring-extjs-for-readability</link>
	<description>Tech, Linux, Rails by Honululu-based Kevin English</description>
	<lastBuildDate>Sat, 31 Mar 2012 10:51:21 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
	<item>
		<title>By: Juan Mendes</title>
		<link>http://honoluluhacker.com/2008/12/17/refactoring-extjs-for-readability/comment-page-1/#comment-1716</link>
		<dc:creator>Juan Mendes</dc:creator>
		<pubDate>Mon, 25 Oct 2010 23:03:23 +0000</pubDate>
		<guid isPermaLink="false">http://honoluluhacker.com/?p=426#comment-1716</guid>
		<description>Hello, I think using Ext.getCmp with and id is a bad pattern. Here&#039;s why: What if you need to use two of these components on a page? you&#039;re out of luck since you&#039;re relying on an id. For the example you mentioned, you should have just set the scope of the selection change to be the current panel by passing &#039;this&#039; as the scope argument. What you have is not that much better than globals, since Ext.getCmp manages a global list of components.</description>
		<content:encoded><![CDATA[<p>Hello, I think using Ext.getCmp with and id is a bad pattern. Here&#8217;s why: What if you need to use two of these components on a page? you&#8217;re out of luck since you&#8217;re relying on an id. For the example you mentioned, you should have just set the scope of the selection change to be the current panel by passing &#8216;this&#8217; as the scope argument. What you have is not that much better than globals, since Ext.getCmp manages a global list of components.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

