<?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: xtype defined</title>
	<atom:link href="http://blog.extjs.eu/know-how/xtype-defined/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.extjs.eu/know-how/xtype-defined/</link>
	<description>For good of all productive developers</description>
	<lastBuildDate>Thu, 09 Sep 2010 02:40:38 +0200</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: joe</title>
		<link>http://blog.extjs.eu/know-how/xtype-defined/comment-page-1/#comment-3745</link>
		<dc:creator>joe</dc:creator>
		<pubDate>Sun, 01 Aug 2010 11:49:45 +0000</pubDate>
		<guid isPermaLink="false">http://blog.extjs.eu/?p=67#comment-3745</guid>
		<description>The example line got broken of, I was just referencing the line from your post. Here is the rest of my comment:
[example line from above(xtype...)], how can I call i.e. getSelectionModel() on mygrid?</description>
		<content:encoded><![CDATA[<p>The example line got broken of, I was just referencing the line from your post. Here is the rest of my comment:<br />
[example line from above(xtype...)], how can I call i.e. getSelectionModel() on mygrid?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: joe</title>
		<link>http://blog.extjs.eu/know-how/xtype-defined/comment-page-1/#comment-3744</link>
		<dc:creator>joe</dc:creator>
		<pubDate>Sun, 01 Aug 2010 11:48:04 +0000</pubDate>
		<guid isPermaLink="false">http://blog.extjs.eu/?p=67#comment-3744</guid>
		<description>Very clear description, thanks.
What I am still wondering though, ow to i call a function on the lazyly instantiated object?
As by the above example ({xtype:\&#039;mygrid\</description>
		<content:encoded><![CDATA[<p>Very clear description, thanks.<br />
What I am still wondering though, ow to i call a function on the lazyly instantiated object?<br />
As by the above example ({xtype:\&#8217;mygrid\</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bulle Bas</title>
		<link>http://blog.extjs.eu/know-how/xtype-defined/comment-page-1/#comment-1736</link>
		<dc:creator>Bulle Bas</dc:creator>
		<pubDate>Tue, 14 Jul 2009 23:32:27 +0000</pubDate>
		<guid isPermaLink="false">http://blog.extjs.eu/?p=67#comment-1736</guid>
		<description>ad 2. Yes I was mistaken, I read pre ext3 where you write pre ext2.

ad 3. Ghe don\&#039;t get me wrong. I love extjs as well, and bought recently a license because I want to use this library. I only wonder how extjs1 worked then. Since the only way of greedy instantiation I can think of is something like the following

p = new SubPanel();
w = new Widget().registerAOnClickFunction(function (e) {p.show()}}

this is a waste indeed.
But why not simply


w = new Widget().registerAOnClickFunction(function (e) {new Panel.show()}}

There is no need to instantiate Panel beforehand, in global scope.


ad 4. It was just an example, definitely not Extjs. $ is (DOM) getElementById, the example I provide here is maybe clearer. Still not extjs, but it illustrates the concept.

:-)</description>
		<content:encoded><![CDATA[<p>ad 2. Yes I was mistaken, I read pre ext3 where you write pre ext2.</p>
<p>ad 3. Ghe don\&#8217;t get me wrong. I love extjs as well, and bought recently a license because I want to use this library. I only wonder how extjs1 worked then. Since the only way of greedy instantiation I can think of is something like the following</p>
<p>p = new SubPanel();<br />
w = new Widget().registerAOnClickFunction(function (e) {p.show()}}</p>
<p>this is a waste indeed.<br />
But why not simply</p>
<p>w = new Widget().registerAOnClickFunction(function (e) {new Panel.show()}}</p>
<p>There is no need to instantiate Panel beforehand, in global scope.</p>
<p>ad 4. It was just an example, definitely not Extjs. $ is (DOM) getElementById, the example I provide here is maybe clearer. Still not extjs, but it illustrates the concept.</p>
<p> <img src='http://blog.extjs.eu/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Saki</title>
		<link>http://blog.extjs.eu/know-how/xtype-defined/comment-page-1/#comment-1732</link>
		<dc:creator>Saki</dc:creator>
		<pubDate>Tue, 14 Jul 2009 20:31:40 +0000</pubDate>
		<guid isPermaLink="false">http://blog.extjs.eu/?p=67#comment-1732</guid>
		<description>1. Not necessarily. You can instantiate/render components when you need, the only difference is that pre-Ext-2.x doesn&#039;t do it for you - you need to do it yourself.

2. Ext 3.x and Ext 2.x are conceptually same in this area.

3. No design mistake in Ext 2.x I know about. The reverse is true: Many ingenious concepts.

4. No idea what&#039;s the line you posted does. What&#039;s $? What .register does? Is it an Ext line?</description>
		<content:encoded><![CDATA[<p>1. Not necessarily. You can instantiate/render components when you need, the only difference is that pre-Ext-2.x doesn&#8217;t do it for you &#8211; you need to do it yourself.</p>
<p>2. Ext 3.x and Ext 2.x are conceptually same in this area.</p>
<p>3. No design mistake in Ext 2.x I know about. The reverse is true: Many ingenious concepts.</p>
<p>4. No idea what&#8217;s the line you posted does. What&#8217;s $? What .register does? Is it an Ext line?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bulle Bas</title>
		<link>http://blog.extjs.eu/know-how/xtype-defined/comment-page-1/#comment-1727</link>
		<dc:creator>Bulle Bas</dc:creator>
		<pubDate>Tue, 14 Jul 2009 10:17:34 +0000</pubDate>
		<guid isPermaLink="false">http://blog.extjs.eu/?p=67#comment-1727</guid>
		<description>Now, if you code such application in an before-Ext-2.x way you need to instantiate all objects in the application at the time of first page loading (application code first run).
How is this different from Ext 3? Was there a design mistake in Ext2. I am inclined to think that lazy loading is what you get normally. Like here:

$(\&#039;id3\&#039;).click.register(function(e) {new Panel().show()})

Just curious.</description>
		<content:encoded><![CDATA[<p>Now, if you code such application in an before-Ext-2.x way you need to instantiate all objects in the application at the time of first page loading (application code first run).<br />
How is this different from Ext 3? Was there a design mistake in Ext2. I am inclined to think that lazy loading is what you get normally. Like here:</p>
<p>$(\&#8217;id3\&#8217;).click.register(function(e) {new Panel().show()})</p>
<p>Just curious.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Saki</title>
		<link>http://blog.extjs.eu/know-how/xtype-defined/comment-page-1/#comment-1714</link>
		<dc:creator>Saki</dc:creator>
		<pubDate>Sat, 27 Jun 2009 19:03:14 +0000</pubDate>
		<guid isPermaLink="false">http://blog.extjs.eu/?p=67#comment-1714</guid>
		<description>Thank you minamu1. I&#039;m glad you like it.</description>
		<content:encoded><![CDATA[<p>Thank you minamu1. I&#8217;m glad you like it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: minamu1</title>
		<link>http://blog.extjs.eu/know-how/xtype-defined/comment-page-1/#comment-1713</link>
		<dc:creator>minamu1</dc:creator>
		<pubDate>Sat, 27 Jun 2009 01:29:43 +0000</pubDate>
		<guid isPermaLink="false">http://blog.extjs.eu/?p=67#comment-1713</guid>
		<description>Simple, precise, and to the point...brilliant!
thanks</description>
		<content:encoded><![CDATA[<p>Simple, precise, and to the point&#8230;brilliant!<br />
thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: asdfasdf</title>
		<link>http://blog.extjs.eu/know-how/xtype-defined/comment-page-1/#comment-1684</link>
		<dc:creator>asdfasdf</dc:creator>
		<pubDate>Sat, 30 May 2009 19:37:15 +0000</pubDate>
		<guid isPermaLink="false">http://blog.extjs.eu/?p=67#comment-1684</guid>
		<description>Finally, a simple explanation..</description>
		<content:encoded><![CDATA[<p>Finally, a simple explanation..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jayashree</title>
		<link>http://blog.extjs.eu/know-how/xtype-defined/comment-page-1/#comment-1656</link>
		<dc:creator>Jayashree</dc:creator>
		<pubDate>Fri, 17 Apr 2009 15:19:18 +0000</pubDate>
		<guid isPermaLink="false">http://blog.extjs.eu/?p=67#comment-1656</guid>
		<description>Great! thank you for the clarification.</description>
		<content:encoded><![CDATA[<p>Great! thank you for the clarification.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
