<?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: LABjs: why not just concat?</title>
	<atom:link href="http://blog.getify.com/2009/11/labjs-why-not-just-concat/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.getify.com/2009/11/labjs-why-not-just-concat/</link>
	<description>open-source, performance, javascript &#38; ui musings</description>
	<lastBuildDate>Tue, 07 Sep 2010 17:21:05 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Filipe Martins</title>
		<link>http://blog.getify.com/2009/11/labjs-why-not-just-concat/comment-page-1/#comment-585</link>
		<dc:creator>Filipe Martins</dc:creator>
		<pubDate>Tue, 07 Sep 2010 17:21:05 +0000</pubDate>
		<guid isPermaLink="false">http://blog.getify.com/?p=97#comment-585</guid>
		<description>I&#039;m not claiming that a 200ms or 1s delay isn&#039;t noticeable. I&#039;m saying that it probably won&#039;t be important because it&#039;s a one time only thing (don&#039;t we love the cache?).
I do agree with you about the visual feedback, though.</description>
		<content:encoded><![CDATA[<p>I&#8217;m not claiming that a 200ms or 1s delay isn&#8217;t noticeable. I&#8217;m saying that it probably won&#8217;t be important because it&#8217;s a one time only thing (don&#8217;t we love the cache?).<br />
I do agree with you about the visual feedback, though.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: getify</title>
		<link>http://blog.getify.com/2009/11/labjs-why-not-just-concat/comment-page-1/#comment-584</link>
		<dc:creator>getify</dc:creator>
		<pubDate>Tue, 07 Sep 2010 12:06:45 +0000</pubDate>
		<guid isPermaLink="false">http://blog.getify.com/?p=97#comment-584</guid>
		<description>&quot;One second&quot; was kind of an exaggeration. It&#039;s been shown that users can perceive a delay if it&#039;s over 200ms, which is quite possible if there&#039;s a decent sized JavaScript file (or several) that need to be loaded when a user clicks a button. Of course, even a really small file could take 200ms if there&#039;s high network latency involved. Because you can&#039;t really guarantee someone&#039;s connection speeds, I&#039;d tend to assume loading files when a button is clicked &lt;strong&gt;could&lt;/strong&gt; have a noticeable delay and would avoid it. 

But certainly if you are going to do this, give some sort of visual indication (like a loader/spinner) even for the short loads (so that it&#039;s present if the load is really long) so users aren&#039;t multiple-clicking things because they click and don&#039;t see a response quickly enough.</description>
		<content:encoded><![CDATA[<p>&#8220;One second&#8221; was kind of an exaggeration. It&#8217;s been shown that users can perceive a delay if it&#8217;s over 200ms, which is quite possible if there&#8217;s a decent sized JavaScript file (or several) that need to be loaded when a user clicks a button. Of course, even a really small file could take 200ms if there&#8217;s high network latency involved. Because you can&#8217;t really guarantee someone&#8217;s connection speeds, I&#8217;d tend to assume loading files when a button is clicked <strong>could</strong> have a noticeable delay and would avoid it. </p>
<p>But certainly if you are going to do this, give some sort of visual indication (like a loader/spinner) even for the short loads (so that it&#8217;s present if the load is really long) so users aren&#8217;t multiple-clicking things because they click and don&#8217;t see a response quickly enough.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Filipe Martins</title>
		<link>http://blog.getify.com/2009/11/labjs-why-not-just-concat/comment-page-1/#comment-583</link>
		<dc:creator>Filipe Martins</dc:creator>
		<pubDate>Tue, 07 Sep 2010 09:50:27 +0000</pubDate>
		<guid isPermaLink="false">http://blog.getify.com/?p=97#comment-583</guid>
		<description>You make a good point, but I&#039;m not sure that&#039;s a problem because we&#039;re talking about a one second delay (give or take, on a bad day) only on the first click. But that&#039;s something for me think about. Thanks for responding.

Filipe Martins</description>
		<content:encoded><![CDATA[<p>You make a good point, but I&#8217;m not sure that&#8217;s a problem because we&#8217;re talking about a one second delay (give or take, on a bad day) only on the first click. But that&#8217;s something for me think about. Thanks for responding.</p>
<p>Filipe Martins</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: getify</title>
		<link>http://blog.getify.com/2009/11/labjs-why-not-just-concat/comment-page-1/#comment-582</link>
		<dc:creator>getify</dc:creator>
		<pubDate>Mon, 06 Sep 2010 20:31:34 +0000</pubDate>
		<guid isPermaLink="false">http://blog.getify.com/?p=97#comment-582</guid>
		<description>I&#039;m definitely a big fan of load-on-demand and load-when-needed approaches. For instance, Facebook now has a &quot;bootstrapper&quot; script (called &quot;Primer&quot;) that they load at the beginning of the page, which can handle default actions, and then they layer in additional functionality with futher downloads as the page loads and gets more complicated.

You do have to balance on-demand with potential slow-downs that can occur if it takes a second to download code when someone clicks a button to do some action. If the user can see these delays when they are interacting with elements, it can detract from the UX. So, I&#039;m in favor of an approach that progressively downloads more behavioral JS in the background so there&#039;s less chance that a user will have to wait on the JS.</description>
		<content:encoded><![CDATA[<p>I&#8217;m definitely a big fan of load-on-demand and load-when-needed approaches. For instance, Facebook now has a &#8220;bootstrapper&#8221; script (called &#8220;Primer&#8221;) that they load at the beginning of the page, which can handle default actions, and then they layer in additional functionality with futher downloads as the page loads and gets more complicated.</p>
<p>You do have to balance on-demand with potential slow-downs that can occur if it takes a second to download code when someone clicks a button to do some action. If the user can see these delays when they are interacting with elements, it can detract from the UX. So, I&#8217;m in favor of an approach that progressively downloads more behavioral JS in the background so there&#8217;s less chance that a user will have to wait on the JS.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Filipe Martins</title>
		<link>http://blog.getify.com/2009/11/labjs-why-not-just-concat/comment-page-1/#comment-581</link>
		<dc:creator>Filipe Martins</dc:creator>
		<pubDate>Mon, 06 Sep 2010 17:28:08 +0000</pubDate>
		<guid isPermaLink="false">http://blog.getify.com/?p=97#comment-581</guid>
		<description>Hello. I&#039;m not convinced with that &quot;huge is ok&quot; approach.
I&#039;m fond of the download-the-code-when-needed approach. Meaning, you click a button and the needed code is downloaded and executed. If the button isn&#039;t clicked the code is not downloaded. The REST architecture itself praises &quot;Code-On-Demand&quot;. 

What&#039;s your opinion on this?</description>
		<content:encoded><![CDATA[<p>Hello. I&#8217;m not convinced with that &#8220;huge is ok&#8221; approach.<br />
I&#8217;m fond of the download-the-code-when-needed approach. Meaning, you click a button and the needed code is downloaded and executed. If the button isn&#8217;t clicked the code is not downloaded. The REST architecture itself praises &#8220;Code-On-Demand&#8221;. </p>
<p>What&#8217;s your opinion on this?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Content Delivery Network via getiblog.2static.it

Served from: blog.getify.com @ 2010-09-10 12:47:59 -->