<?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 gets &#8220;Even Faster&#8221; with version 1.0</title>
	<atom:link href="http://ajaxian.com/archives/labjs-gets-even-faster-with-version-1-0/feed" rel="self" type="application/rss+xml" />
	<link>http://ajaxian.com/archives/labjs-gets-even-faster-with-version-1-0</link>
	<description>Cleaning up the web with Ajax</description>
	<lastBuildDate>Thu, 09 Feb 2012 06:55:33 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2</generator>
	<item>
		<title>By: getify</title>
		<link>http://ajaxian.com/archives/labjs-gets-even-faster-with-version-1-0/comment-page-1#comment-276906</link>
		<dc:creator>getify</dc:creator>
		<pubDate>Tue, 01 Dec 2009 07:59:44 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=8053#comment-276906</guid>
		<description>I have bagged on &lt;a href=&quot;http://blog.getify.com/2009/11/why-dom-ready-still-sucks/&quot; rel=&quot;nofollow&quot;&gt;how dynamic script loading makes DOM-ready detection harder&lt;/a&gt; (more &quot;suck&quot;), but here&#039;s a different perspective on &lt;a href=&quot;http://blog.getify.com/2009/12/how-labjs-speeds-up-dom-ready/&quot; rel=&quot;nofollow&quot;&gt;how LABjs improves DOM-ready&lt;/a&gt;. The blessing from the curse, if you will. Just something to keep in mind when thinking about using LABjs.</description>
		<content:encoded><![CDATA[<p>I have bagged on <a href="http://blog.getify.com/2009/11/why-dom-ready-still-sucks/" rel="nofollow">how dynamic script loading makes DOM-ready detection harder</a> (more &#8220;suck&#8221;), but here&#8217;s a different perspective on <a href="http://blog.getify.com/2009/12/how-labjs-speeds-up-dom-ready/" rel="nofollow">how LABjs improves DOM-ready</a>. The blessing from the curse, if you will. Just something to keep in mind when thinking about using LABjs.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Punsons</title>
		<link>http://ajaxian.com/archives/labjs-gets-even-faster-with-version-1-0/comment-page-1#comment-276904</link>
		<dc:creator>Punsons</dc:creator>
		<pubDate>Tue, 01 Dec 2009 03:11:27 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=8053#comment-276904</guid>
		<description>the callback will be fired by jQuery&#039;s document.ready() function (unless the page finishes before jQuery initialises, in which case it fires when all scripts are loaded

From: http://www.getbestflowers.com</description>
		<content:encoded><![CDATA[<p>the callback will be fired by jQuery&#8217;s document.ready() function (unless the page finishes before jQuery initialises, in which case it fires when all scripts are loaded</p>
<p>From: <a href="http://www.getbestflowers.com" rel="nofollow">http://www.getbestflowers.com</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: csuwldcat</title>
		<link>http://ajaxian.com/archives/labjs-gets-even-faster-with-version-1-0/comment-page-1#comment-276901</link>
		<dc:creator>csuwldcat</dc:creator>
		<pubDate>Mon, 30 Nov 2009 21:02:33 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=8053#comment-276901</guid>
		<description>Here is a similar implementation of an asynchronous sequenced loading script for Mootools.  Use it standalone, on functions, and on your Mootools classes: http://blog.citycrawler.com/?p=47</description>
		<content:encoded><![CDATA[<p>Here is a similar implementation of an asynchronous sequenced loading script for Mootools.  Use it standalone, on functions, and on your Mootools classes: <a href="http://blog.citycrawler.com/?p=47" rel="nofollow">http://blog.citycrawler.com/?p=47</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: getify</title>
		<link>http://ajaxian.com/archives/labjs-gets-even-faster-with-version-1-0/comment-page-1#comment-276900</link>
		<dc:creator>getify</dc:creator>
		<pubDate>Mon, 30 Nov 2009 18:48:23 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=8053#comment-276900</guid>
		<description>@jcoglan -- i completely agree, for complex apps, LABjs represents only the nuts &amp; bolts of a complete solution. I wanted to provide the basic components of a loader that was capable of handling execution-order with parallel downloading, and then what I hope is that people will take LABjs and integrate (or wrap) it with more complex and complete dependency management solutions. 
.
For instance, in a comment thread on the &lt;a href=&quot;http://blog.getify.com/2009/11/labjs-new-hotness-for-script-loading/#comments&quot; rel=&quot;nofollow&quot;&gt;LABjs launch blog post&lt;/a&gt;, I suggested some code to how a simple &quot;fallback&quot; mechanism could be wrapped around LABjs to allow you to attempt a load of a file from multiple locations, falling back to subsequent ones if the previous failed (like a CDN and a local fallback, for instance).
.
I believe and hope that LABjs functionality and API is expressive and powerful enough to suit a variety of needs in dependency management, and hopefully people will start innovating in that respect.
.
But, for the general website that simply loads 3 or 4 script files (some local, some remote), and then executes some simple initialization logic for the code that was loaded, I believe the API of LABjs will be quite easy to switch from the &quot;&lt;script&gt; tag soup&quot; seen on most sites to a simple and flexible set of calls to LABjs to load the files dynamically. 
.
My main goal is to almost completely make the &lt;script&gt; tag irrelevant and outdated -- call it &quot;&lt;script&gt; tags 2.0&quot; if you will. :)</description>
		<content:encoded><![CDATA[<p>@jcoglan &#8212; i completely agree, for complex apps, LABjs represents only the nuts &amp; bolts of a complete solution. I wanted to provide the basic components of a loader that was capable of handling execution-order with parallel downloading, and then what I hope is that people will take LABjs and integrate (or wrap) it with more complex and complete dependency management solutions.<br />
.<br />
For instance, in a comment thread on the <a href="http://blog.getify.com/2009/11/labjs-new-hotness-for-script-loading/#comments" rel="nofollow">LABjs launch blog post</a>, I suggested some code to how a simple &#8220;fallback&#8221; mechanism could be wrapped around LABjs to allow you to attempt a load of a file from multiple locations, falling back to subsequent ones if the previous failed (like a CDN and a local fallback, for instance).<br />
.<br />
I believe and hope that LABjs functionality and API is expressive and powerful enough to suit a variety of needs in dependency management, and hopefully people will start innovating in that respect.<br />
.<br />
But, for the general website that simply loads 3 or 4 script files (some local, some remote), and then executes some simple initialization logic for the code that was loaded, I believe the API of LABjs will be quite easy to switch from the &#8220;&lt;script&gt; tag soup&#8221; seen on most sites to a simple and flexible set of calls to LABjs to load the files dynamically.<br />
.<br />
My main goal is to almost completely make the &lt;script&gt; tag irrelevant and outdated &#8212; call it &#8220;&lt;script&gt; tags 2.0&#8243; if you will. :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jcoglan</title>
		<link>http://ajaxian.com/archives/labjs-gets-even-faster-with-version-1-0/comment-page-1#comment-276899</link>
		<dc:creator>jcoglan</dc:creator>
		<pubDate>Mon, 30 Nov 2009 16:50:36 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=8053#comment-276899</guid>
		<description>It&#039;s great to see folks hacking on a general-purpose solution to this, I for one am tired of every framework coming with its own package loader system. Still, I think this is working at too low a level in that you still need to remember each script&#039;s dependencies and the library cannot tell if a script has already been loaded as it has no metadata about what the script contains.

I developed the JS.Class package loader[1] and Helium[2] to hide all these details and let the developer load objects by name rather than by URL -- the package loader knows your dependencies so it can figure out cases where downloads can be parallelized, and whether a script has already been loaded.

I think Closure also uses this object detection approach to figure out whether to load scripts, and I find it much more powerful than loading libraries by their URL.

[1] http://jsclass.jcoglan.com/packages.html
[2] http://he.jcoglan.com</description>
		<content:encoded><![CDATA[<p>It&#8217;s great to see folks hacking on a general-purpose solution to this, I for one am tired of every framework coming with its own package loader system. Still, I think this is working at too low a level in that you still need to remember each script&#8217;s dependencies and the library cannot tell if a script has already been loaded as it has no metadata about what the script contains.</p>
<p>I developed the JS.Class package loader[1] and Helium[2] to hide all these details and let the developer load objects by name rather than by URL &#8212; the package loader knows your dependencies so it can figure out cases where downloads can be parallelized, and whether a script has already been loaded.</p>
<p>I think Closure also uses this object detection approach to figure out whether to load scripts, and I find it much more powerful than loading libraries by their URL.</p>
<p>[1] <a href="http://jsclass.jcoglan.com/packages.html" rel="nofollow">http://jsclass.jcoglan.com/packages.html</a><br />
[2] <a href="http://he.jcoglan.com" rel="nofollow">http://he.jcoglan.com</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>

