<?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: Slides from JSConf</title>
	<atom:link href="http://www.phpied.com/slides-from-jsconf/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.phpied.com/slides-from-jsconf/</link>
	<description>Stoyan&#039;s blog about &#60;a href=&#34;/category/xhtml&#34; class=&#34;tag-minor&#34;&#62;(x)html(5)&#60;/a&#62;, &#60;a href=&#34;/category/ajax&#34; class=&#34;tag-major&#34;&#62;ajax&#60;/a&#62;, &#60;a href=&#34;/category/bookmarklets&#34; class=&#34;tag-major&#34;&#62;bookmarklets&#60;/a&#62;, &#60;a href=&#34;/category/browsers&#34; class=&#34;tag-minor&#34;&#62;browsers&#60;/a&#62;, &#60;a href=&#34;/category/css&#34; class=&#34;tag-normal&#34;&#62;css&#60;/a&#62;, &#60;a href=&#34;/category/firebug&#34; class=&#34;tag-minor&#34;&#62;firebug&#60;/a&#62;, &#60;a href=&#34;/category/javascript&#34; class=&#34;tag-numero-uno&#34;&#62;javascript&#60;/a&#62;, &#60;a href=&#34;/category/json&#34; class=&#34;tag-normal&#34;&#62;json&#60;/a&#62;, &#60;a href=&#34;/category/mdb2&#34; class=&#34;tag-minor&#34;&#62;mdb2&#60;/a&#62;, &#60;a href=&#34;/category/mysql&#34; class=&#34;tag-normal&#34;&#62;mysql&#60;/a&#62;, &#60;a href=&#34;/category/pear&#34; class=&#34;tag-numero-uno&#34;&#62;pear&#60;/a&#62;, &#60;a href=&#34;/category/performance&#34; class=&#34;tag-major&#34;&#62;performance&#60;/a&#62;, &#60;a href=&#34;/category/php&#34; class=&#34;tag-numero-uno&#34;&#62;php&#60;/a&#62;, &#60;a href=&#34;/category/phpbb&#34; class=&#34;tag-major&#34;&#62;phpbb&#60;/a&#62;, &#60;a href=&#34;/category/tools&#34; class=&#34;tag-normal&#34;&#62;tools&#60;/a&#62;, &#60;a href=&#34;/category/yslow&#34; class=&#34;tag-minor&#34;&#62;yslow&#60;/a&#62;, &#60;a href=&#34;/category/yui&#34; class=&#34;tag-normal&#34;&#62;yui&#60;/a&#62;, &#60;a href=&#34;/category/writing&#34; class=&#34;tag-minor&#34;&#62;writing&#60;/a&#62;, &#60;a href=&#34;/category/music&#34; class=&#34;tag-major&#34;&#62;music&#60;/a&#62;,... &#60;a href=&#34;/category/life-and-everything&#34; class=&#34;tag-normal&#34;&#62;life and everything&#60;/a&#62;.</description>
	<lastBuildDate>Sat, 11 Feb 2012 14:07:43 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
	<item>
		<title>By: V1</title>
		<link>http://www.phpied.com/slides-from-jsconf/#comment-71516</link>
		<dc:creator>V1</dc:creator>
		<pubDate>Thu, 17 Sep 2009 14:07:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpied.com/?p=745#comment-71516</guid>
		<description>@Stoyan

The var get = document.getElementsByTagName gives a errors indeed in Firefox. You can get around it by doing:

get.call( document, &#039;head&#039; );</description>
		<content:encoded><![CDATA[<p>@Stoyan</p>
<p>The var get = document.getElementsByTagName gives a errors indeed in Firefox. You can get around it by doing:</p>
<p>get.call( document, &#8216;head&#8217; );</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Boštjan</title>
		<link>http://www.phpied.com/slides-from-jsconf/#comment-70850</link>
		<dc:creator>Boštjan</dc:creator>
		<pubDate>Sat, 16 May 2009 15:15:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpied.com/?p=745#comment-70850</guid>
		<description>Hmm... inexpensive? Our slovenian PHP conference costs only 97$ for 2 days :)
Btw, what Steve said doesn&#039;t work for me either.</description>
		<content:encoded><![CDATA[<p>Hmm&#8230; inexpensive? Our slovenian PHP conference costs only 97$ for 2 days <img src='http://www.phpied.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
Btw, what Steve said doesn&#8217;t work for me either.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cerium</title>
		<link>http://www.phpied.com/slides-from-jsconf/#comment-70804</link>
		<dc:creator>Cerium</dc:creator>
		<pubDate>Fri, 08 May 2009 14:49:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpied.com/?p=745#comment-70804</guid>
		<description>Sorry my comment was broke by Wordpress, I wanted to post an example, like this one :

&lt;code&gt;
&lt;!doctype html&gt;
&lt;html&gt;
	&lt;head&gt;
		&lt;!-- meta tag, link tag goes here --&gt;
	&lt;/head&gt;
	
	&lt;body&gt;
		&lt;!-- content goes here --&gt;
		...
		...
		...
		...
		
		&lt;script src=&quot;all.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;
	&lt;/body&gt;
&lt;/html&gt;
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>Sorry my comment was broke by WordPress, I wanted to post an example, like this one :</p>
<p><code><br />
&lt;!doctype html&gt;<br />
&lt;html&gt;<br />
	&lt;head&gt;<br />
		&lt;!-- meta tag, link tag goes here --&gt;<br />
	&lt;/head&gt;</p>
<p>	&lt;body&gt;<br />
		&lt;!-- content goes here --&gt;<br />
		...<br />
		...<br />
		...<br />
		...</p>
<p>		&lt;script src="all.js" type="text/javascript"&gt;&lt;/script&gt;<br />
	&lt;/body&gt;<br />
&lt;/html&gt;<br />
</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cerium</title>
		<link>http://www.phpied.com/slides-from-jsconf/#comment-70803</link>
		<dc:creator>Cerium</dc:creator>
		<pubDate>Fri, 08 May 2009 14:42:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpied.com/?p=745#comment-70803</guid>
		<description>Nice presentation, but I&#039;ve got a question, on frame #45 you say create a script tag via the DOM avoid to block the load of other elements, but what do you think of doing thins like this (put script tag at the really end of body) :

&lt;code&gt;


    
    &lt;!-- meta, links... --&gt;
    

    
    &lt;!-- content goes here --&gt;
    ...
    ...
    ....
    
    

&lt;/code&gt;

?</description>
		<content:encoded><![CDATA[<p>Nice presentation, but I&#8217;ve got a question, on frame #45 you say create a script tag via the DOM avoid to block the load of other elements, but what do you think of doing thins like this (put script tag at the really end of body) :</p>
<p><code></p>
<p>    <!-- meta, links... --></p>
<p>    <!-- content goes here --><br />
    ...<br />
    ...<br />
    ....</p>
<p></code></p>
<p>?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dreamer's Blog</title>
		<link>http://www.phpied.com/slides-from-jsconf/#comment-70792</link>
		<dc:creator>Dreamer's Blog</dc:creator>
		<pubDate>Tue, 05 May 2009 04:25:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpied.com/?p=745#comment-70792</guid>
		<description>&lt;strong&gt;高性能的 WEB 应用...&lt;/strong&gt;

从 phpied.com 上看到了一个很好的幻灯片，里面讲了一些提高页面性能的技巧，主要是针对JS, CSS 等前端技术，比如减少 HTTP 请求等，值得一看。
幻灯片地址：High Performance Kick Ass Web Apps (JavaScrip...</description>
		<content:encoded><![CDATA[<p><strong>高性能的 WEB 应用&#8230;</strong></p>
<p>从 phpied.com 上看到了一个很好的幻灯片，里面讲了一些提高页面性能的技巧，主要是针对JS, CSS 等前端技术，比如减少 HTTP 请求等，值得一看。<br />
幻灯片地址：High Performance Kick Ass Web Apps (JavaScrip&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dev Blog AF83 &#187; Blog Archive &#187; Veille technologique : Langages, Google App Engine, Javascript, Ruby, Rails, Profiling, PDF, Infrastruture, Performances web</title>
		<link>http://www.phpied.com/slides-from-jsconf/#comment-70787</link>
		<dc:creator>Dev Blog AF83 &#187; Blog Archive &#187; Veille technologique : Langages, Google App Engine, Javascript, Ruby, Rails, Profiling, PDF, Infrastruture, Performances web</dc:creator>
		<pubDate>Mon, 04 May 2009 22:24:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpied.com/?p=745#comment-70787</guid>
		<description>[...] http://www.phpied.com/slides-from-jsconf/ : les slides d&#8217;une présentation de Stoyan Stefanov, qui couvre bien les techniques d&#8217;optimisation du javascript. [...]</description>
		<content:encoded><![CDATA[<p>[...] <a href="http://www.phpied.com/slides-from-jsconf/" rel="nofollow">http://www.phpied.com/slides-from-jsconf/</a> : les slides d&#8217;une présentation de Stoyan Stefanov, qui couvre bien les techniques d&#8217;optimisation du javascript. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Slides from JSConf &#124; Dailytuts.net</title>
		<link>http://www.phpied.com/slides-from-jsconf/#comment-70782</link>
		<dc:creator>Slides from JSConf &#124; Dailytuts.net</dc:creator>
		<pubDate>Sun, 03 May 2009 14:48:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpied.com/?p=745#comment-70782</guid>
		<description>[...] Read the original:  Slides from JSConf [...]</description>
		<content:encoded><![CDATA[<p>[...] Read the original:  Slides from JSConf [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stoyan</title>
		<link>http://www.phpied.com/slides-from-jsconf/#comment-70774</link>
		<dc:creator>Stoyan</dc:creator>
		<pubDate>Fri, 01 May 2009 04:15:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpied.com/?p=745#comment-70774</guid>
		<description>Steve, you&#039;re right, I&#039;m still looking up the element, but the idea was that I&#039;m no longer looking for what&#039;s document and does it have an getElementsByTagName method.

chencheng, that&#039;s weird. I tested FF3.0.9, I wonder if something changed. I also used the profilers in IE8 and Firebug to take measurements, didn&#039;t use new Date(). And last, I ran this code against a simple page (google.com), I wonder if you used a real page to test or created a blank file.</description>
		<content:encoded><![CDATA[<p>Steve, you&#8217;re right, I&#8217;m still looking up the element, but the idea was that I&#8217;m no longer looking for what&#8217;s document and does it have an getElementsByTagName method.</p>
<p>chencheng, that&#8217;s weird. I tested FF3.0.9, I wonder if something changed. I also used the profilers in IE8 and Firebug to take measurements, didn&#8217;t use new Date(). And last, I ran this code against a simple page (google.com), I wonder if you used a real page to test or created a blank file.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://www.phpied.com/slides-from-jsconf/#comment-70772</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Thu, 30 Apr 2009 14:40:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpied.com/?p=745#comment-70772</guid>
		<description>On Frame 70 would this not be the better code?

function foo(){
  var theHead = document.getElementsByTagName(&#039;head&#039;)[0];
  for(var i=0;i&lt;100000;i++)
    //don&#039;t look up the HEAD element again... we already have it!
    //do stuff...
    theHead.appendChild(...);
  }
}

foo();

If I read your slide correctly, you are still &quot;looking up&quot; the element on every loop, you&#039;ve just limited the length of the name of the function you are calling. ;-)

Or am I missing something?
Steve</description>
		<content:encoded><![CDATA[<p>On Frame 70 would this not be the better code?</p>
<p>function foo(){<br />
  var theHead = document.getElementsByTagName(&#8216;head&#8217;)[0];<br />
  for(var i=0;i&lt;100000;i++)<br />
    //don&#8217;t look up the HEAD element again&#8230; we already have it!<br />
    //do stuff&#8230;<br />
    theHead.appendChild(&#8230;);<br />
  }<br />
}</p>
<p>foo();</p>
<p>If I read your slide correctly, you are still &#8220;looking up&#8221; the element on every loop, you&#8217;ve just limited the length of the name of the function you are calling. <img src='http://www.phpied.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>Or am I missing something?<br />
Steve</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Iliyan Peychev</title>
		<link>http://www.phpied.com/slides-from-jsconf/#comment-70764</link>
		<dc:creator>Iliyan Peychev</dc:creator>
		<pubDate>Wed, 29 Apr 2009 21:34:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpied.com/?p=745#comment-70764</guid>
		<description>Great presentation!
WebWorkers look very interesting. There is fresh working draft:
http://www.whatwg.org/specs/web-workers/current-work/</description>
		<content:encoded><![CDATA[<p>Great presentation!<br />
WebWorkers look very interesting. There is fresh working draft:<br />
<a href="http://www.whatwg.org/specs/web-workers/current-work/" rel="nofollow">http://www.whatwg.org/specs/web-workers/current-work/</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>

