<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="/stylesheets/rss.css" type="text/css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>David's Computer Stuff Journal: YUI Compressor</title>
    <link>http://journal.dedasys.com/articles/2007/11/07/yui-compressor</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description></description>
    <item>
      <title>YUI Compressor</title>
      <description>&lt;p&gt;One of the things I love about programming is that you are always learning new things.  You &lt;em&gt;have&lt;/em&gt; to learn new things to keep up.&lt;/p&gt;

&lt;p&gt;One of the benefits of using the Plotr Javascript library for the language popularity stats I did is that instead of having to download separate images for each statistic, a user just fetches the library once and then a few small bits of data for each chart, which is probably a net savings, especially when I start to add more statistics.  However, Plotr, plus its various supporting libraries, is fairly hefty, so I needed to find a way to compress it.  One of the helpful people on the freenode IRC network's #javascript channel pointed me at Yahoo's &lt;a href="http://developer.yahoo.com/yui/compressor/"&gt;YUI Compressor&lt;/a&gt;, which is a nicely done project that squeezes quite a bit out of Javascript files.  I would recommend it to anyone else who needs to pare down their production JS files to the bare minimum.  Best of all, it's available under a very liberal open source license!&lt;/p&gt;

&lt;p&gt;Incidentally, over the course of the language stats project, I was surprised at how much helpful stuff Yahoo provides, first and foremost, a real &lt;a href="http://developer.yahoo.com/search/"&gt;API for their search engine&lt;/a&gt;, something that Google no longer has.  Hopefully, it's a sign of better things to come for them (if for no other reason than to keep Google on their toes!).&lt;/p&gt;

&lt;p&gt;By the way, for those interested in the language stats project, I set up a &lt;a href="http://forum.langpop.com/forums/1"&gt;forum&lt;/a&gt; with RSS feeds, where I will be posting updates, and accepting suggestions for further improvements.&lt;/p&gt;</description>
      <pubDate>Wed, 07 Nov 2007 11:29:00 -0800</pubDate>
      <guid isPermaLink="false">urn:uuid:37220b7f-6c45-4bdc-95ed-cb30f4668350</guid>
      <author>David N. Welton</author>
      <link>http://journal.dedasys.com/articles/2007/11/07/yui-compressor</link>
      <category>javascript</category>
      <trackback:ping>http://journal.dedasys.com/articles/trackback/1819</trackback:ping>
    </item>
  </channel>
</rss>
