<?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: Jquery vs Prototype/Scriptaculous</title>
	<atom:link href="http://www.endyourif.com/jquery-vs-prototypescriptaculous/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.endyourif.com/jquery-vs-prototypescriptaculous/</link>
	<description>Helping you solve those tough coding problems!</description>
	<lastBuildDate>Fri, 12 Mar 2010 01:18:48 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: last chaos gold</title>
		<link>http://www.endyourif.com/jquery-vs-prototypescriptaculous/comment-page-1/#comment-688</link>
		<dc:creator>last chaos gold</dc:creator>
		<pubDate>Sat, 22 Aug 2009 03:05:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.endyourif.com/?p=249#comment-688</guid>
		<description>A wonderful article…. this is just what I needed to read today. Thanks for describing the way you work and how you structure your writing projects. I’ll go read that article now.</description>
		<content:encoded><![CDATA[<p><code>A wonderful article…. this is just what I needed to read today. Thanks for describing the way you work and how you structure your writing projects. I’ll go read that article now.</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: christiano</title>
		<link>http://www.endyourif.com/jquery-vs-prototypescriptaculous/comment-page-1/#comment-675</link>
		<dc:creator>christiano</dc:creator>
		<pubDate>Thu, 13 Aug 2009 17:51:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.endyourif.com/?p=249#comment-675</guid>
		<description>You may have a point with &quot;each&quot;, but I&#039;m not sure that I would call Prototypes &quot;each&quot; a &quot;struggle&quot;. Also, your Ajax examples aren&#039;t exactly fair to Prototype. I know it&#039;s a quibble, but why use &#039;some/url&#039; for Prototype while a short variable for jQuery: it hurts your case. 
Also, the example you do use aren&#039;t exactly equivalent. Sure you&#039;ve got a simpler version in jQuery typed out, but what if you want a &quot;post&quot; instead of &quot;get&quot;? You&#039;ve included all kinds of options and fine grained controls (and some stuffing as well) in the Prototype version that you don&#039;t have in the jQuery one:
 var response = transport.responseText &#124;&#124; &quot;no response text&quot;;
--- where is your equivalent in jQuery? and what if I wanted JSON or XML, or what if I wanted some other trigger than &quot;onSuccess&quot;.

In Prototype you could write a load script that would take all the options out of a regular Ajax.Request too, and only takes and url and an id as an argument, but that&#039;s up to you.

I like your argument for jQuery&#039;s iteration format, but you still didn&#039;t give prototype a fair shake on the comparison. How&#039;s this:

$$(’#draggables img’).each(function (item){ new Draggable( item,{ revert: true, ghosting: true }});

not so bad, and I think that more options are better. jQuery makes things too simple sometimes.</description>
		<content:encoded><![CDATA[<p><code>You may have a point with &#8220;each&#8221;, but I&#8217;m not sure that I would call Prototypes &#8220;each&#8221; a &#8220;struggle&#8221;. Also, your Ajax examples aren&#8217;t exactly fair to Prototype. I know it&#8217;s a quibble, but why use &#8217;some/url&#8217; for Prototype while a short variable for jQuery: it hurts your case.<br />Also, the example you do use aren&#8217;t exactly equivalent. Sure you&#8217;ve got a simpler version in jQuery typed out, but what if you want a &#8220;post&#8221; instead of &#8220;get&#8221;? You&#8217;ve included all kinds of options and fine grained controls (and some stuffing as well) in the Prototype version that you don&#8217;t have in the jQuery one:<br /> var response = transport.responseText || &#8220;no response text&#8221;;<br />&#8212; where is your equivalent in jQuery? and what if I wanted JSON or XML, or what if I wanted some other trigger than &#8220;onSuccess&#8221;.</p><p>In Prototype you could write a load script that would take all the options out of a regular Ajax.Request too, and only takes and url and an id as an argument, but that&#8217;s up to you.</p><p>I like your argument for jQuery&#8217;s iteration format, but you still didn&#8217;t give prototype a fair shake on the comparison. How&#8217;s this:</p><p>$$(’#draggables img’).each(function (item){ new Draggable( item,{ revert: true, ghosting: true }});</p><p>not so bad, and I think that more options are better. jQuery makes things too simple sometimes.</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nightfly</title>
		<link>http://www.endyourif.com/jquery-vs-prototypescriptaculous/comment-page-1/#comment-660</link>
		<dc:creator>Nightfly</dc:creator>
		<pubDate>Mon, 06 Jul 2009 15:03:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.endyourif.com/?p=249#comment-660</guid>
		<description>A little unfair comparison.

1. For Script.aculo.us, use this:
$$(&#039;#draggables img&#039;).each(
instead of
$A($(&#039;draggables&#039;).getElementsByTagName(&#039;img&#039;)).each(

2. The Ajax syntax is OK for me, jQuery&#039;s version being &quot;sweeter&quot; but not much more easy.

3. Right :)

4. True. But minification is not so important. gzip is. And when you use a CDN-hosted version, it doesn&#039;t matter anyway.</description>
		<content:encoded><![CDATA[<p><code>A little unfair comparison.</p><p>1. For Script.aculo.us, use this:<br />$$(&#8216;#draggables img&#8217;).each(<br />instead of<br />$A($(&#8216;draggables&#8217;).getElementsByTagName(&#8216;img&#8217;)).each(</p><p>2. The Ajax syntax is OK for me, jQuery&#8217;s version being &#8220;sweeter&#8221; but not much more easy.</p><p>3. Right <img src='http://www.endyourif.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p><p>4. True. But minification is not so important. gzip is. And when you use a CDN-hosted version, it doesn&#8217;t matter anyway.</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: last chaos gold</title>
		<link>http://www.endyourif.com/jquery-vs-prototypescriptaculous/comment-page-1/#comment-640</link>
		<dc:creator>last chaos gold</dc:creator>
		<pubDate>Fri, 26 Jun 2009 01:14:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.endyourif.com/?p=249#comment-640</guid>
		<description>Great article, again. These informations are especially useful ...</description>
		<content:encoded><![CDATA[<p><code>Great article, again. These informations are especially useful &#8230;</code></p>
]]></content:encoded>
	</item>
</channel>
</rss>
