<?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: using.js: manage JavaScript dependencies</title>
	<atom:link href="http://ajaxian.com/archives/usingjs-manage-javascript-dependencies/feed" rel="self" type="application/rss+xml" />
	<link>http://ajaxian.com/archives/usingjs-manage-javascript-dependencies</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: ericnguyen</title>
		<link>http://ajaxian.com/archives/usingjs-manage-javascript-dependencies/comment-page-1#comment-262827</link>
		<dc:creator>ericnguyen</dc:creator>
		<pubDate>Mon, 14 Apr 2008 23:57:25 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=3547#comment-262827</guid>
		<description>I agree with stimpy77. A lot of sites need something lightweight that can pull in code from multiple sources, without fully buying into a single framework.

I currently work at &lt;a href=&quot;http://instructables.com&quot; rel=&quot;nofollow&quot;&gt;Instructables.com&lt;/a&gt;, and we wrote a GPL&#039;ed library called JSLoad that does a similar thing. It&#039;s been working beautifully on IE, FF, and Safari for almost a year now, serving about a million page views a day.

One difference between using and JSLoad seems to be that the dependencies are managed centrally by a JSLoad singleton; we work with many existing libraries and scripts, and adding dependency code to files we didn&#039;t create seemed like a maintenance and upgrading headache.

JSLoad was also written with flexibility in mind. Dependencies come in the form of &quot;tags&quot;, which allows for all kinds dependency structures that are independent of the js files themselves. This was very useful since I was handed a good amount of legacy code when I started; JSLoad allowed me to encapsulate the code according to initial guesses and refactor for efficiency and maintainability over time.

&lt;a href=&quot;http://www.instructables.com/blog/B2OLM73F5LDFN2Z/&quot; rel=&quot;nofollow&quot;&gt;Here&#039;s the link JSLoad&lt;/a&gt;.</description>
		<content:encoded><![CDATA[<p>I agree with stimpy77. A lot of sites need something lightweight that can pull in code from multiple sources, without fully buying into a single framework.</p>
<p>I currently work at <a href="http://instructables.com" rel="nofollow">Instructables.com</a>, and we wrote a GPL&#8217;ed library called JSLoad that does a similar thing. It&#8217;s been working beautifully on IE, FF, and Safari for almost a year now, serving about a million page views a day.</p>
<p>One difference between using and JSLoad seems to be that the dependencies are managed centrally by a JSLoad singleton; we work with many existing libraries and scripts, and adding dependency code to files we didn&#8217;t create seemed like a maintenance and upgrading headache.</p>
<p>JSLoad was also written with flexibility in mind. Dependencies come in the form of &#8220;tags&#8221;, which allows for all kinds dependency structures that are independent of the js files themselves. This was very useful since I was handed a good amount of legacy code when I started; JSLoad allowed me to encapsulate the code according to initial guesses and refactor for efficiency and maintainability over time.</p>
<p><a href="http://www.instructables.com/blog/B2OLM73F5LDFN2Z/" rel="nofollow">Here&#8217;s the link JSLoad</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: stimpy77</title>
		<link>http://ajaxian.com/archives/usingjs-manage-javascript-dependencies/comment-page-1#comment-262820</link>
		<dc:creator>stimpy77</dc:creator>
		<pubDate>Mon, 14 Apr 2008 17:56:00 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=3547#comment-262820</guid>
		<description>@arapehl: You missed the point; the footprint of using.js is 4kb.

@MorganRoderick: There will only be one extra delay per library that hasn&#039;t been loaded, and that delay only occurs once. This is the same delay that occurs when the user hits the page; it is only lazily loaded. Ultimately, it&#039;s up to the developer and scenario to determine whether this is feasible UX or not.</description>
		<content:encoded><![CDATA[<p>@arapehl: You missed the point; the footprint of using.js is 4kb.</p>
<p>@MorganRoderick: There will only be one extra delay per library that hasn&#8217;t been loaded, and that delay only occurs once. This is the same delay that occurs when the user hits the page; it is only lazily loaded. Ultimately, it&#8217;s up to the developer and scenario to determine whether this is feasible UX or not.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MorganRoderick</title>
		<link>http://ajaxian.com/archives/usingjs-manage-javascript-dependencies/comment-page-1#comment-262810</link>
		<dc:creator>MorganRoderick</dc:creator>
		<pubDate>Mon, 14 Apr 2008 14:28:07 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=3547#comment-262810</guid>
		<description>For most sites, stuff like this would actually detract from the user experience, as you impose extra delays, after the user has begun using the site / app.

And, it even adds more complexity to your code.

But, under the right conditions, I suppose it&#039;s great.</description>
		<content:encoded><![CDATA[<p>For most sites, stuff like this would actually detract from the user experience, as you impose extra delays, after the user has begun using the site / app.</p>
<p>And, it even adds more complexity to your code.</p>
<p>But, under the right conditions, I suppose it&#8217;s great.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: arapehl</title>
		<link>http://ajaxian.com/archives/usingjs-manage-javascript-dependencies/comment-page-1#comment-262808</link>
		<dc:creator>arapehl</dc:creator>
		<pubDate>Mon, 14 Apr 2008 14:14:15 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=3547#comment-262808</guid>
		<description>Looks a whole lot like YUILoader and the YAHOO global object&#039;s register method. :-)</description>
		<content:encoded><![CDATA[<p>Looks a whole lot like YUILoader and the YAHOO global object&#8217;s register method. :-)</p>
]]></content:encoded>
	</item>
</channel>
</rss>

