<?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 YUI components in a templated environment</title>
	<atom:link href="http://allmybrain.com/2008/04/11/using-yui-components-in-a-templated-environment/feed/" rel="self" type="application/rss+xml" />
	<link>http://allmybrain.com/2008/04/11/using-yui-components-in-a-templated-environment/</link>
	<description>Where stuff from my brain lands</description>
	<lastBuildDate>Tue, 07 Feb 2012 16:14:05 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: papuapost</title>
		<link>http://allmybrain.com/2008/04/11/using-yui-components-in-a-templated-environment/comment-page-1/#comment-1190</link>
		<dc:creator>papuapost</dc:creator>
		<pubDate>Fri, 29 Jul 2011 06:42:07 +0000</pubDate>
		<guid isPermaLink="false">http://allmybrain.com/?p=90#comment-1190</guid>
		<description>I spent years to find this kind of solution. Your solution of YUI Implementation into my wordpress themes has helped me a lot. This is the lightweight and best solution if anyone would like to use it</description>
		<content:encoded><![CDATA[<p>I spent years to find this kind of solution. Your solution of YUI Implementation into my wordpress themes has helped me a lot. This is the lightweight and best solution if anyone would like to use it</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gero</title>
		<link>http://allmybrain.com/2008/04/11/using-yui-components-in-a-templated-environment/comment-page-1/#comment-841</link>
		<dc:creator>Gero</dc:creator>
		<pubDate>Wed, 04 Mar 2009 04:36:14 +0000</pubDate>
		<guid isPermaLink="false">http://allmybrain.com/?p=90#comment-841</guid>
		<description>Hi. Good blog!
Nice solution. Ive been loking for something like this for a long time, as i&#039;m new to javascript.
But its too late, ive figured a solution like yours before =), now i see its an acceptable way of modularizing yui components loading.
I do something like you do, but less modularized.
In my master template i load yuiloader-min.js
And on every page i need yui components, i put at the end of the file the loader
    var loader = new YAHOO.util.YUILoader({
        require: [The components to be used],
        loadOptional: false,
        combine: true,
        filter: &quot;MIN&quot;,
        allowRollup: true,
        onSuccess: function() {
                the page scripts that use components
        });
        loader.insert();</description>
		<content:encoded><![CDATA[<p>Hi. Good blog!<br />
Nice solution. Ive been loking for something like this for a long time, as i&#8217;m new to javascript.<br />
But its too late, ive figured a solution like yours before =), now i see its an acceptable way of modularizing yui components loading.<br />
I do something like you do, but less modularized.<br />
In my master template i load yuiloader-min.js<br />
And on every page i need yui components, i put at the end of the file the loader<br />
    var loader = new YAHOO.util.YUILoader({<br />
        require: [The components to be used],<br />
        loadOptional: false,<br />
        combine: true,<br />
        filter: &#8220;MIN&#8221;,<br />
        allowRollup: true,<br />
        onSuccess: function() {<br />
                the page scripts that use components<br />
        });<br />
        loader.insert();</p>
]]></content:encoded>
	</item>
</channel>
</rss>

