<?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"
	>
<channel>
	<title>Comments on: Changing the&#160;DOM</title>
	<atom:link href="http://particletree.com/notebook/changing-the-dom/feed/" rel="self" type="application/rss+xml" />
	<link>http://particletree.com/notebook/changing-the-dom/</link>
	<description>Everyone needs a hug.</description>
	<pubDate>Wed, 19 Nov 2008 11:48:44 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
		<item>
		<title>By: Thomas W</title>
		<link>http://particletree.com/notebook/changing-the-dom/#comment-20661</link>
		<dc:creator>Thomas W</dc:creator>
		<pubDate>Thu, 03 May 2007 19:53:41 +0000</pubDate>
		<guid isPermaLink="false">http://s2462.gridserver.com/wordpress/?p=194#comment-20661</guid>
		<description>&lt;p&gt;DomAxh (http://domaxh.sourceforge.net) converts XMLHTTPResponse objects into (X)HTML DOM, reducing the need for innerHTML (of course, it's not as fast as innerHTML) when working with AJAX (AHAH or whatever)&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>DomAxh (http://domaxh.sourceforge.net) converts XMLHTTPResponse objects into (X)HTML DOM, reducing the need for innerHTML (of course, it&#8217;s not as fast as innerHTML) when working with AJAX (AHAH or whatever)</p>]]></content:encoded>
	</item>
	<item>
		<title>By: chochis</title>
		<link>http://particletree.com/notebook/changing-the-dom/#comment-5189</link>
		<dc:creator>chochis</dc:creator>
		<pubDate>Thu, 14 Dec 2006 11:57:07 +0000</pubDate>
		<guid isPermaLink="false">http://s2462.gridserver.com/wordpress/?p=194#comment-5189</guid>
		<description>&lt;p&gt;I know why! appendChild does a request to check if the document is still correct, and more! In IE does every time, in FF just once!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I know why! appendChild does a request to check if the document is still correct, and more! In IE does every time, in FF just once!</p>]]></content:encoded>
	</item>
	<item>
		<title>By: staima</title>
		<link>http://particletree.com/notebook/changing-the-dom/#comment-2099</link>
		<dc:creator>staima</dc:creator>
		<pubDate>Fri, 07 Jul 2006 18:45:53 +0000</pubDate>
		<guid isPermaLink="false">http://s2462.gridserver.com/wordpress/?p=194#comment-2099</guid>
		<description>&lt;p&gt;Jeremy Keith said:
innerHTML is faster, but "heavy-handed" and "sledgehammer", that doesn't mean it's bad! that might sound negative but what I'm striving for is accuracy... innerHTML is fast, easy, proprietary and heavy-handed... DOM methods are slower, long-winded, standardized and precise... Now, which technology have I described with a negative spin? The answer to that question is entirely subjective and depends on where your particular priorities lie!? Please read what I wrote and stop misrepresenting my position on this... because I haven't got one!&lt;/p&gt;

&lt;p&gt;Yeah, right!&lt;/p&gt;

&lt;p&gt;Everyone needs a hug.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Jeremy Keith said:
innerHTML is faster, but &#8220;heavy-handed&#8221; and &#8220;sledgehammer&#8221;, that doesn&#8217;t mean it&#8217;s bad! that might sound negative but what I&#8217;m striving for is accuracy&#8230; innerHTML is fast, easy, proprietary and heavy-handed&#8230; DOM methods are slower, long-winded, standardized and precise&#8230; Now, which technology have I described with a negative spin? The answer to that question is entirely subjective and depends on where your particular priorities lie!? Please read what I wrote and stop misrepresenting my position on this&#8230; because I haven&#8217;t got one!</p>

<p>Yeah, right!</p>

<p>Everyone needs a hug.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Ã§iÃ§ek gÃ¶nder</title>
		<link>http://particletree.com/notebook/changing-the-dom/#comment-2098</link>
		<dc:creator>Ã§iÃ§ek gÃ¶nder</dc:creator>
		<pubDate>Fri, 16 Jun 2006 10:06:22 +0000</pubDate>
		<guid isPermaLink="false">http://s2462.gridserver.com/wordpress/?p=194#comment-2098</guid>
		<description>&lt;p&gt;Ã§iÃ§ek gÃ¶nderirken cicekclub a reklam verirken e-reklamix e gidin&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Ã§iÃ§ek gÃ¶nderirken cicekclub a reklam verirken e-reklamix e gidin</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Dan Webb</title>
		<link>http://particletree.com/notebook/changing-the-dom/#comment-2097</link>
		<dc:creator>Dan Webb</dc:creator>
		<pubDate>Fri, 28 Apr 2006 01:36:16 +0000</pubDate>
		<guid isPermaLink="false">http://s2462.gridserver.com/wordpress/?p=194#comment-2097</guid>
		<description>&lt;p&gt;Blaise: I didn't say that Base.js is better at manipulating the DOM that DOMBuilder, I said it was better than the OO solution I have.  Base.js an OO wrapper - its got nothing to do with the DOM.  It's great at what it does do.&lt;/p&gt;

&lt;p&gt;innerHTML is much faster but the big difference is only really on IE.  It does have large disadvantages though and is obviously not the most elegant way of implementing DOM manipulation as an API.  Shoving strings around just seems wrong to me.  Thing is though is that IE happens to be faster with innerHTML and until that's not the case we are stuck with it.  I don't think its the best way - it's just the way that works best at the moment.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Blaise: I didn&#8217;t say that Base.js is better at manipulating the DOM that DOMBuilder, I said it was better than the OO solution I have.  Base.js an OO wrapper - its got nothing to do with the DOM.  It&#8217;s great at what it does do.</p>

<p>innerHTML is much faster but the big difference is only really on IE.  It does have large disadvantages though and is obviously not the most elegant way of implementing DOM manipulation as an API.  Shoving strings around just seems wrong to me.  Thing is though is that IE happens to be faster with innerHTML and until that&#8217;s not the case we are stuck with it.  I don&#8217;t think its the best way - it&#8217;s just the way that works best at the moment.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Iufer</title>
		<link>http://particletree.com/notebook/changing-the-dom/#comment-2096</link>
		<dc:creator>Chris Iufer</dc:creator>
		<pubDate>Fri, 21 Apr 2006 22:09:09 +0000</pubDate>
		<guid isPermaLink="false">http://s2462.gridserver.com/wordpress/?p=194#comment-2096</guid>
		<description>&lt;p&gt;I cant really speak to the argument that innerHTML is faster, but I can argue for the use of document.createElement. In my experience with relay.statsinsight.com, it really came down to using createElement exclusively because of my heavy use of Objects. For example, I made a class for a Directory and inside it, created a method to generate a visual element. If you use innerHTML in this case, the element has no logical connection to the object, but when you use createElement you automatically get a direct link to the element as an object. This saves you having to give each element an ID then using getElementById to use it. I could simply do a line of code in the class like &lt;code&gt;this.icon = document.createElement('img');&lt;/code&gt; and from then on i could access that icon by &lt;code&gt;directory.icon&lt;/code&gt;... simple and effective when you start getting complicated in your app design.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I cant really speak to the argument that innerHTML is faster, but I can argue for the use of document.createElement. In my experience with relay.statsinsight.com, it really came down to using createElement exclusively because of my heavy use of Objects. For example, I made a class for a Directory and inside it, created a method to generate a visual element. If you use innerHTML in this case, the element has no logical connection to the object, but when you use createElement you automatically get a direct link to the element as an object. This saves you having to give each element an ID then using getElementById to use it. I could simply do a line of code in the class like <code>this.icon = document.createElement('img');</code> and from then on i could access that icon by <code>directory.icon</code>&#8230; simple and effective when you start getting complicated in your app design.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Jan BraÅ¡na</title>
		<link>http://particletree.com/notebook/changing-the-dom/#comment-2095</link>
		<dc:creator>Jan BraÅ¡na</dc:creator>
		<pubDate>Mon, 17 Apr 2006 21:01:07 +0000</pubDate>
		<guid isPermaLink="false">http://s2462.gridserver.com/wordpress/?p=194#comment-2095</guid>
		<description>&lt;p&gt;Maybe somthing like AHAH (http://microformats.org/wiki/rest/ahah) would work better here?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Maybe somthing like AHAH (http://microformats.org/wiki/rest/ahah) would work better here?</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Tyler McMullen</title>
		<link>http://particletree.com/notebook/changing-the-dom/#comment-2094</link>
		<dc:creator>Tyler McMullen</dc:creator>
		<pubDate>Mon, 17 Apr 2006 16:36:54 +0000</pubDate>
		<guid isPermaLink="false">http://s2462.gridserver.com/wordpress/?p=194#comment-2094</guid>
		<description>&lt;p&gt;Hah.  I never realized that innerHTML was that much faster.  That makes me feel good for using it, when in the past I had just considered a lazy habit.&lt;/p&gt;

&lt;p&gt;But yeah, really consider XSLT next time.  It makes the code so much easier to work with and it is incredibly fast with large XML documents.&lt;/p&gt;

&lt;p&gt;The project that I'm working on right now is relatively large.  Its a survey system to be used within a rather large international company to survey their plants and offices around the world, regarding productivity and efficiency.  I have dozens of XSL files for this... some with just a few lines in them.  But it makes the JS so much easier to read... and much smaller.  I did the first version without XSLT and ended up with 1000 line+ JS files.  The latest version however has JS files with no more than 350 lines each in them.&lt;/p&gt;

&lt;p&gt;Very nice. :)&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hah.  I never realized that innerHTML was that much faster.  That makes me feel good for using it, when in the past I had just considered a lazy habit.</p>

<p>But yeah, really consider XSLT next time.  It makes the code so much easier to work with and it is incredibly fast with large XML documents.</p>

<p>The project that I&#8217;m working on right now is relatively large.  Its a survey system to be used within a rather large international company to survey their plants and offices around the world, regarding productivity and efficiency.  I have dozens of XSL files for this&#8230; some with just a few lines in them.  But it makes the JS so much easier to read&#8230; and much smaller.  I did the first version without XSLT and ended up with 1000 line+ JS files.  The latest version however has JS files with no more than 350 lines each in them.</p>

<p>Very nice. :)</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Jeremy Keith</title>
		<link>http://particletree.com/notebook/changing-the-dom/#comment-2093</link>
		<dc:creator>Jeremy Keith</dc:creator>
		<pubDate>Sun, 16 Apr 2006 02:45:53 +0000</pubDate>
		<guid isPermaLink="false">http://s2462.gridserver.com/wordpress/?p=194#comment-2093</guid>
		<description>&lt;p&gt;Dustin wrote:
"As for Jeremy Keith, I'm done giving him crap on the matter, and I don't want to lose a good friend over some stupid debate"&lt;/p&gt;

&lt;p&gt;Dustin, you gave me crap because you (incorrectly) thought that I was favouring DOM methods over innerHTML. In fact, all I did was compare the pros and cons of both without declaring either to be superior or inferior.&lt;/p&gt;

&lt;p&gt;Please read what I wrote and stop misrepresenting my position on this... because I haven't got one; I'm quite happy sitting on the fence.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Dustin wrote:
&#8220;As for Jeremy Keith, I&#8217;m done giving him crap on the matter, and I don&#8217;t want to lose a good friend over some stupid debate&#8221;</p>

<p>Dustin, you gave me crap because you (incorrectly) thought that I was favouring DOM methods over innerHTML. In fact, all I did was compare the pros and cons of both without declaring either to be superior or inferior.</p>

<p>Please read what I wrote and stop misrepresenting my position on this&#8230; because I haven&#8217;t got one; I&#8217;m quite happy sitting on the fence.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan Snook</title>
		<link>http://particletree.com/notebook/changing-the-dom/#comment-2092</link>
		<dc:creator>Jonathan Snook</dc:creator>
		<pubDate>Sat, 15 Apr 2006 02:58:28 +0000</pubDate>
		<guid isPermaLink="false">http://s2462.gridserver.com/wordpress/?p=194#comment-2092</guid>
		<description>&lt;p&gt;Anup: one thing I've been doing is creating HTML shells on the page that have no content (therefore, screenreaders wouldn't hear or have any issues) and simply populating them via JavaScript/AJAX as need be.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Anup: one thing I&#8217;ve been doing is creating HTML shells on the page that have no content (therefore, screenreaders wouldn&#8217;t hear or have any issues) and simply populating them via JavaScript/AJAX as need be.</p>]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.414 seconds -->
