<?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: MooTools Behavior</title>
	<atom:link href="http://mootools.net/blog/2011/12/20/mootools-behavior/feed/" rel="self" type="application/rss+xml" />
	<link>http://mootools.net/blog/2011/12/20/mootools-behavior/</link>
	<description>The Blog</description>
	<lastBuildDate>Sat, 20 Apr 2013 05:31:08 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: aaron</title>
		<link>http://mootools.net/blog/2011/12/20/mootools-behavior/comment-page-1/#comment-2320</link>
		<dc:creator>aaron</dc:creator>
		<pubDate>Thu, 22 Dec 2011 21:48:26 +0000</pubDate>
		<guid isPermaLink="false">http://mootools.net/blog/?p=1525#comment-2320</guid>
		<description>&lt;p&gt;@SJ, it&#039;s a balance question to me. We are always balancing bandwidth, performance, and development. Code patterns that make for easier development can have a big impact on building a better product at the cost of bandwidth or performance. If you optimize for performance that might mean a less interactive experience. What balance works for you and your product is something for you to decide.&lt;/p&gt;

&lt;p&gt;That said, I think that, unless you&#039;re talking about a page with thousands of items that have this markup in them, the bandwidth change is likely to be minimal. Remember that these filters can work however you prefer. For example, a Tabs class doesn&#039;t require you to mark up each tab and each section, but rather allows you to mark up the container of the elements with selectors to find those items. In the same manner, you could author a tips filter that is only instantiated once and runs a selector to find all the tip elements (like Tips in MooTools does now). It&#039;s up to you.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>@SJ, it&#8217;s a balance question to me. We are always balancing bandwidth, performance, and development. Code patterns that make for easier development can have a big impact on building a better product at the cost of bandwidth or performance. If you optimize for performance that might mean a less interactive experience. What balance works for you and your product is something for you to decide.</p>

<p>That said, I think that, unless you&#8217;re talking about a page with thousands of items that have this markup in them, the bandwidth change is likely to be minimal. Remember that these filters can work however you prefer. For example, a Tabs class doesn&#8217;t require you to mark up each tab and each section, but rather allows you to mark up the container of the elements with selectors to find those items. In the same manner, you could author a tips filter that is only instantiated once and runs a selector to find all the tip elements (like Tips in MooTools does now). It&#8217;s up to you.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: aaron</title>
		<link>http://mootools.net/blog/2011/12/20/mootools-behavior/comment-page-1/#comment-2319</link>
		<dc:creator>aaron</dc:creator>
		<pubDate>Thu, 22 Dec 2011 21:44:34 +0000</pubDate>
		<guid isPermaLink="false">http://mootools.net/blog/?p=1525#comment-2319</guid>
		<description>&lt;p&gt;I should note that using data properties to capture UI configuration isn&#039;t unique. There are some things unique to Behaviorjs - the delegator stuff I think is novel but not exactly rocket science - but you&#039;ll find similar patterns in Dojo for example. Re: Knockout JS, I&#039;m not 100% sure what their whole story is, but the inline stuff appears to be only a small part of it.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I should note that using data properties to capture UI configuration isn&#8217;t unique. There are some things unique to Behaviorjs - the delegator stuff I think is novel but not exactly rocket science - but you&#8217;ll find similar patterns in Dojo for example. Re: Knockout JS, I&#8217;m not 100% sure what their whole story is, but the inline stuff appears to be only a small part of it.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Htbaa</title>
		<link>http://mootools.net/blog/2011/12/20/mootools-behavior/comment-page-1/#comment-2318</link>
		<dc:creator>Htbaa</dc:creator>
		<pubDate>Thu, 22 Dec 2011 20:08:43 +0000</pubDate>
		<guid isPermaLink="false">http://mootools.net/blog/?p=1525#comment-2318</guid>
		<description>&lt;p&gt;Am I wrong to think this thing is similar to what Knockout JS is doing?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Am I wrong to think this thing is similar to what Knockout JS is doing?</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Tim</title>
		<link>http://mootools.net/blog/2011/12/20/mootools-behavior/comment-page-1/#comment-2309</link>
		<dc:creator>Tim</dc:creator>
		<pubDate>Wed, 21 Dec 2011 14:36:33 +0000</pubDate>
		<guid isPermaLink="false">http://mootools.net/blog/?p=1525#comment-2309</guid>
		<description>&lt;p&gt;Nice stuff Aaron! Thanks for the update.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Nice stuff Aaron! Thanks for the update.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: SJ</title>
		<link>http://mootools.net/blog/2011/12/20/mootools-behavior/comment-page-1/#comment-2308</link>
		<dc:creator>SJ</dc:creator>
		<pubDate>Wed, 21 Dec 2011 14:34:15 +0000</pubDate>
		<guid isPermaLink="false">http://mootools.net/blog/?p=1525#comment-2308</guid>
		<description>&lt;p&gt;I&#039;m not sure I agree with this approach. I work on website with 45000+ pages and the additional page weight and bandwidth this would introduce could be substantial. I&#039;m guessing there would also be a lot of redundancy where the same options are repeated on different pages? And with the redundancy comes the maintenance issue, changes can&#039;t be made in a single location e.g. If I didn&#039;t want tips any more, every anchor tag in the site would need updated.&lt;/p&gt;

&lt;p&gt;Could the same approach not be used with a single external JS configuration file?&lt;/p&gt;

&lt;p&gt;Cheers,&lt;/p&gt;

&lt;p&gt;SJ&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I&#8217;m not sure I agree with this approach. I work on website with 45000+ pages and the additional page weight and bandwidth this would introduce could be substantial. I&#8217;m guessing there would also be a lot of redundancy where the same options are repeated on different pages? And with the redundancy comes the maintenance issue, changes can&#8217;t be made in a single location e.g. If I didn&#8217;t want tips any more, every anchor tag in the site would need updated.</p>

<p>Could the same approach not be used with a single external JS configuration file?</p>

<p>Cheers,</p>

<p>SJ</p>]]></content:encoded>
	</item>
	<item>
		<title>By: nagaozen</title>
		<link>http://mootools.net/blog/2011/12/20/mootools-behavior/comment-page-1/#comment-2307</link>
		<dc:creator>nagaozen</dc:creator>
		<pubDate>Wed, 21 Dec 2011 11:42:25 +0000</pubDate>
		<guid isPermaLink="false">http://mootools.net/blog/?p=1525#comment-2307</guid>
		<description>&lt;p&gt;I&#039;ve been playing with Mootools Behavior and it really really seems to be, at least for me, the next big pattern in coding javascript. Although it doesn&#039;t fit very well for web applications, where you are always injecting stuff dynamically, it&#039;s BY FAR THE BEST way to work with a designers team to get a site up and running.&lt;/p&gt;

&lt;p&gt;Congrats MooTools!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I&#8217;ve been playing with Mootools Behavior and it really really seems to be, at least for me, the next big pattern in coding javascript. Although it doesn&#8217;t fit very well for web applications, where you are always injecting stuff dynamically, it&#8217;s BY FAR THE BEST way to work with a designers team to get a site up and running.</p>

<p>Congrats MooTools!</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Anon</title>
		<link>http://mootools.net/blog/2011/12/20/mootools-behavior/comment-page-1/#comment-2306</link>
		<dc:creator>Anon</dc:creator>
		<pubDate>Wed, 21 Dec 2011 06:39:35 +0000</pubDate>
		<guid isPermaLink="false">http://mootools.net/blog/?p=1525#comment-2306</guid>
		<description>&lt;p&gt;Yawn.  Inversion of control is so 2009.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Yawn.  Inversion of control is so 2009.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan</title>
		<link>http://mootools.net/blog/2011/12/20/mootools-behavior/comment-page-1/#comment-2305</link>
		<dc:creator>Jonathan</dc:creator>
		<pubDate>Wed, 21 Dec 2011 05:30:45 +0000</pubDate>
		<guid isPermaLink="false">http://mootools.net/blog/?p=1525#comment-2305</guid>
		<description>&lt;p&gt;Wouldn&#039;t this cause HTML validation (not Mootools Validation, W3C) issues in older browsers?&lt;/p&gt;

&lt;p&gt;Plus, I think that the net result would be more text written, meaning more bytes, meaning slower load times.&lt;/p&gt;

&lt;p&gt;Further more, you can compress/minify a .js file, but you can&#039;t compress/minify HTML (well, sort of, but not like Javascript).&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Wouldn&#8217;t this cause HTML validation (not Mootools Validation, W3C) issues in older browsers?</p>

<p>Plus, I think that the net result would be more text written, meaning more bytes, meaning slower load times.</p>

<p>Further more, you can compress/minify a .js file, but you can&#8217;t compress/minify HTML (well, sort of, but not like Javascript).</p>]]></content:encoded>
	</item>
</channel>
</rss>
