<?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: Automating JS Behavior Registration</title>
	<atom:link href="http://ajaxian.com/archives/automating-js-behavior-registration/feed" rel="self" type="application/rss+xml" />
	<link>http://ajaxian.com/archives/automating-js-behavior-registration</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: Jesse Kuhnert</title>
		<link>http://ajaxian.com/archives/automating-js-behavior-registration/comment-page-1#comment-250609</link>
		<dc:creator>Jesse Kuhnert</dc:creator>
		<pubDate>Fri, 18 May 2007 23:26:31 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=2412#comment-250609</guid>
		<description>Sorry for all the pooh pooh Gabe.  I thought it looked interesting and so submitted it without your consent. ..Err next time maybe I&#039;ll just let you do it. :/  

(but hey at least you got some more hits - even if they were angry pooh pooh hits ;) )</description>
		<content:encoded><![CDATA[<p>Sorry for all the pooh pooh Gabe.  I thought it looked interesting and so submitted it without your consent. ..Err next time maybe I&#8217;ll just let you do it. :/  </p>
<p>(but hey at least you got some more hits &#8211; even if they were angry pooh pooh hits ;) )</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gabriel Handford</title>
		<link>http://ajaxian.com/archives/automating-js-behavior-registration/comment-page-1#comment-250608</link>
		<dc:creator>Gabriel Handford</dc:creator>
		<pubDate>Fri, 18 May 2007 23:11:00 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=2412#comment-250608</guid>
		<description>This was just a proof of concept (and not even entirely functional). The idea was to parse the DOM all in one shot, so if you have a ton of behaviors, you don&#039;t have to deal with alot of selector rules. You could add other naming conventions to automate common tasks, do binding, etc.

It is verbose, inefficient, not original or entirely unobstrusive, and probably not worthy of a spotlight on ajaxian :O</description>
		<content:encoded><![CDATA[<p>This was just a proof of concept (and not even entirely functional). The idea was to parse the DOM all in one shot, so if you have a ton of behaviors, you don&#8217;t have to deal with alot of selector rules. You could add other naming conventions to automate common tasks, do binding, etc.</p>
<p>It is verbose, inefficient, not original or entirely unobstrusive, and probably not worthy of a spotlight on ajaxian :O</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Warren Konkel</title>
		<link>http://ajaxian.com/archives/automating-js-behavior-registration/comment-page-1#comment-250600</link>
		<dc:creator>Warren Konkel</dc:creator>
		<pubDate>Fri, 18 May 2007 17:37:30 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=2412#comment-250600</guid>
		<description>The power of behaviors is that it attaches javascript to DOM elements... not just onClick behaviors, but anything.  Behaviors can do anything at init time (move stuff around in the DOM, anything), attach to multiple keyboard/mouse events, etc.  And behaviors can be object oriented so you can have a mouseover event and a mouseout event tied to the same object that that also does loading stuff at init time.</description>
		<content:encoded><![CDATA[<p>The power of behaviors is that it attaches javascript to DOM elements&#8230; not just onClick behaviors, but anything.  Behaviors can do anything at init time (move stuff around in the DOM, anything), attach to multiple keyboard/mouse events, etc.  And behaviors can be object oriented so you can have a mouseover event and a mouseout event tied to the same object that that also does loading stuff at init time.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeffrey Robbins</title>
		<link>http://ajaxian.com/archives/automating-js-behavior-registration/comment-page-1#comment-250599</link>
		<dc:creator>Jeffrey Robbins</dc:creator>
		<pubDate>Fri, 18 May 2007 16:57:38 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=2412#comment-250599</guid>
		<description>Hmm, not something I would use in an application, I try to stay away from using the class attribute for anything except styles.</description>
		<content:encoded><![CDATA[<p>Hmm, not something I would use in an application, I try to stay away from using the class attribute for anything except styles.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andreas Kalsch</title>
		<link>http://ajaxian.com/archives/automating-js-behavior-registration/comment-page-1#comment-250585</link>
		<dc:creator>Andreas Kalsch</dc:creator>
		<pubDate>Fri, 18 May 2007 10:25:30 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=2412#comment-250585</guid>
		<description>Is this really worth a headline on Ajaxian?

[Yes] [No]

I click on yes, hoping that the click handler is listening to me.</description>
		<content:encoded><![CDATA[<p>Is this really worth a headline on Ajaxian?</p>
<p>[Yes] [No]</p>
<p>I click on yes, hoping that the click handler is listening to me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Country</title>
		<link>http://ajaxian.com/archives/automating-js-behavior-registration/comment-page-1#comment-250582</link>
		<dc:creator>Country</dc:creator>
		<pubDate>Fri, 18 May 2007 08:55:39 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=2412#comment-250582</guid>
		<description>Haha, this is ridiculous.

Next step :

HTML :
Hello

JS :
eval(document.getElementById(&#039;foo&#039;).className);</description>
		<content:encoded><![CDATA[<p>Haha, this is ridiculous.</p>
<p>Next step :</p>
<p>HTML :<br />
Hello</p>
<p>JS :<br />
eval(document.getElementById(&#8216;foo&#8217;).className);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: digitarald</title>
		<link>http://ajaxian.com/archives/automating-js-behavior-registration/comment-page-1#comment-250581</link>
		<dc:creator>digitarald</dc:creator>
		<pubDate>Fri, 18 May 2007 08:42:38 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=2412#comment-250581</guid>
		<description>Funny pattern, maybe he should think a bit more about it. Behaviours should not be inline, since its the idea behind behaviours is to split view and controller. Also selectors that only work with classname w/o tag are slower than both tag and classname combined.</description>
		<content:encoded><![CDATA[<p>Funny pattern, maybe he should think a bit more about it. Behaviours should not be inline, since its the idea behind behaviours is to split view and controller. Also selectors that only work with classname w/o tag are slower than both tag and classname combined.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jelle</title>
		<link>http://ajaxian.com/archives/automating-js-behavior-registration/comment-page-1#comment-250579</link>
		<dc:creator>Jelle</dc:creator>
		<pubDate>Fri, 18 May 2007 08:29:17 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=2412#comment-250579</guid>
		<description>And how about stopping the observer? May be difficult, since prototype only unregisters observers when passing the same function reference.

No thanks, I&#039;ll take care of events myself.</description>
		<content:encoded><![CDATA[<p>And how about stopping the observer? May be difficult, since prototype only unregisters observers when passing the same function reference.</p>
<p>No thanks, I&#8217;ll take care of events myself.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://ajaxian.com/archives/automating-js-behavior-registration/comment-page-1#comment-250578</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Fri, 18 May 2007 08:11:51 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=2412#comment-250578</guid>
		<description>just think about perfomance, when that automation script needs to parse all your DOM to find all event handlers</description>
		<content:encoded><![CDATA[<p>just think about perfomance, when that automation script needs to parse all your DOM to find all event handlers</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Greg</title>
		<link>http://ajaxian.com/archives/automating-js-behavior-registration/comment-page-1#comment-250577</link>
		<dc:creator>Greg</dc:creator>
		<pubDate>Fri, 18 May 2007 07:45:34 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=2412#comment-250577</guid>
		<description>That isn&#039;t unobtrusive.</description>
		<content:encoded><![CDATA[<p>That isn&#8217;t unobtrusive.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://ajaxian.com/archives/automating-js-behavior-registration/comment-page-1#comment-250576</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Fri, 18 May 2007 07:36:47 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=2412#comment-250576</guid>
		<description>it&#039;s sounds like reinventing the wheel ..</description>
		<content:encoded><![CDATA[<p>it&#8217;s sounds like reinventing the wheel ..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bertrand Le Roy</title>
		<link>http://ajaxian.com/archives/automating-js-behavior-registration/comment-page-1#comment-250573</link>
		<dc:creator>Bertrand Le Roy</dc:creator>
		<pubDate>Fri, 18 May 2007 06:11:46 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=2412#comment-250573</guid>
		<description>Yes, exactly, is it April 1st?</description>
		<content:encoded><![CDATA[<p>Yes, exactly, is it April 1st?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://ajaxian.com/archives/automating-js-behavior-registration/comment-page-1#comment-250571</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Fri, 18 May 2007 05:57:15 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=2412#comment-250571</guid>
		<description>It&#039;s amusing that standards freaks actually believe [a class=&quot;bvr-observe-click-xhrTheFunction&quot;] is somehow better than [a onclick=&quot;xhrTheFunction&quot;].</description>
		<content:encoded><![CDATA[<p>It&#8217;s amusing that standards freaks actually believe [a class="bvr-observe-click-xhrTheFunction"] is somehow better than [a onclick="xhrTheFunction"].</p>
]]></content:encoded>
	</item>
</channel>
</rss>

