<?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: Drag and drop reordering of database fields (sortables) with Mootools</title>
	<atom:link href="http://www.wiseguysonly.com/2007/10/10/drag-and-drop-reordering-of-database-fields-sortables-with-mootools/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.wiseguysonly.com/2007/10/10/drag-and-drop-reordering-of-database-fields-sortables-with-mootools/</link>
	<description>Tim Roberts CakePHP, MySQL and jQuery Developer</description>
	<lastBuildDate>Fri, 03 Feb 2012 01:34:24 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
	<item>
		<title>By: Tim</title>
		<link>http://www.wiseguysonly.com/2007/10/10/drag-and-drop-reordering-of-database-fields-sortables-with-mootools/comment-page-1/#comment-6429</link>
		<dc:creator>Tim</dc:creator>
		<pubDate>Fri, 29 Jul 2011 06:43:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.wiseguysonly.com/?p=123#comment-6429</guid>
		<description>@Neil thank you for your correction. I think I will leave the bad usage in situ for prosperity and the fact that the article makes perfect sense even with this glaring error . Of course, this is a tutorial on a technical subject and not an exercise in perfect English.

Now onto the import stuff. You are missing something. The server side code is essential to update the database. So your analogy of a hammer doesn&#039;t work. Here&#039;s a better one: it&#039;s like using a hammer to hammer in a nail. I guess the clue is in the title of the post - unless of course you are aware of a client side method of updating a server side database without any server side code.

You can&#039;t be right all the time, as I prove with my English.</description>
		<content:encoded><![CDATA[<p>@Neil thank you for your correction. I think I will leave the bad usage in situ for prosperity and the fact that the article makes perfect sense even with this glaring error . Of course, this is a tutorial on a technical subject and not an exercise in perfect English.</p>
<p>Now onto the import stuff. You are missing something. The server side code is essential to update the database. So your analogy of a hammer doesn&#8217;t work. Here&#8217;s a better one: it&#8217;s like using a hammer to hammer in a nail. I guess the clue is in the title of the post &#8211; unless of course you are aware of a client side method of updating a server side database without any server side code.</p>
<p>You can&#8217;t be right all the time, as I prove with my English.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Neil</title>
		<link>http://www.wiseguysonly.com/2007/10/10/drag-and-drop-reordering-of-database-fields-sortables-with-mootools/comment-page-1/#comment-6428</link>
		<dc:creator>Neil</dc:creator>
		<pubDate>Thu, 28 Jul 2011 23:17:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.wiseguysonly.com/?p=123#comment-6428</guid>
		<description>I&#039;m a former editor, so I have to jump in here for a moment. You can&#039;t &quot;substitute&quot; anything &quot;with&quot; something else; you &quot;substitute for&quot; and you &quot;replace with.&quot; That&#039;s standard English usage, and it&#039;s being ignored more and more commonly. Here&#039;s a reference you can check for yourself: http://public.wsu.edu/~brians/errors/substitute.html

Now to your recipe. Why would you ever use server-side code to do a simple sort? Am I missing something here, like it&#039;s just an illustration of a larger idea? That&#039;s like using a hammer (one that&#039;s already on call for a lot of important tasks) to kill an ant... and the hammer is on the other side of town.

So I&#039;m a bit confused, I guess........</description>
		<content:encoded><![CDATA[<p>I&#8217;m a former editor, so I have to jump in here for a moment. You can&#8217;t &#8220;substitute&#8221; anything &#8220;with&#8221; something else; you &#8220;substitute for&#8221; and you &#8220;replace with.&#8221; That&#8217;s standard English usage, and it&#8217;s being ignored more and more commonly. Here&#8217;s a reference you can check for yourself: <a href="http://public.wsu.edu/~brians/errors/substitute.html" rel="nofollow">http://public.wsu.edu/~brians/errors/substitute.html</a></p>
<p>Now to your recipe. Why would you ever use server-side code to do a simple sort? Am I missing something here, like it&#8217;s just an illustration of a larger idea? That&#8217;s like using a hammer (one that&#8217;s already on call for a lot of important tasks) to kill an ant&#8230; and the hammer is on the other side of town.</p>
<p>So I&#8217;m a bit confused, I guess&#8230;&#8230;..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shanan</title>
		<link>http://www.wiseguysonly.com/2007/10/10/drag-and-drop-reordering-of-database-fields-sortables-with-mootools/comment-page-1/#comment-5654</link>
		<dc:creator>Shanan</dc:creator>
		<pubDate>Mon, 22 Feb 2010 14:27:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.wiseguysonly.com/?p=123#comment-5654</guid>
		<description>AJ is right. I have played with this script alot.

Make the following changes:

Your Javascript for the page should now be:

window.addEvent(&#039;domready&#039;, function() {

	new Sortables($(&#039;sortlist&#039;), {
		onComplete: function() {
		//new Ajax(&quot;director_data_order.php?order=&quot;+this.serialize(function(el) {})).request();
		var myRequest = new Request({method: &#039;get&#039;, url: &#039;director_data_order.php&#039;});
			myRequest.send(&quot;order=&quot;+this.serialize(function(el) {}));

		}
	});

});

This will work with the latest version of Mootools and will solve problems mention in comments above.</description>
		<content:encoded><![CDATA[<p>AJ is right. I have played with this script alot.</p>
<p>Make the following changes:</p>
<p>Your Javascript for the page should now be:</p>
<p>window.addEvent(&#8216;domready&#8217;, function() {</p>
<p>	new Sortables($(&#8216;sortlist&#8217;), {<br />
		onComplete: function() {<br />
		//new Ajax(&#8220;director_data_order.php?order=&#8221;+this.serialize(function(el) {})).request();<br />
		var myRequest = new Request({method: &#8216;get&#8217;, url: &#8216;director_data_order.php&#8217;});<br />
			myRequest.send(&#8220;order=&#8221;+this.serialize(function(el) {}));</p>
<p>		}<br />
	});</p>
<p>});</p>
<p>This will work with the latest version of Mootools and will solve problems mention in comments above.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: AJ</title>
		<link>http://www.wiseguysonly.com/2007/10/10/drag-and-drop-reordering-of-database-fields-sortables-with-mootools/comment-page-1/#comment-5160</link>
		<dc:creator>AJ</dc:creator>
		<pubDate>Wed, 29 Jul 2009 18:27:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.wiseguysonly.com/?p=123#comment-5160</guid>
		<description>Yes, Mootools changed. The Ajax is now Request. Check mootools docs for Request</description>
		<content:encoded><![CDATA[<p>Yes, Mootools changed. The Ajax is now Request. Check mootools docs for Request</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shane</title>
		<link>http://www.wiseguysonly.com/2007/10/10/drag-and-drop-reordering-of-database-fields-sortables-with-mootools/comment-page-1/#comment-5144</link>
		<dc:creator>Shane</dc:creator>
		<pubDate>Mon, 20 Jul 2009 17:24:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.wiseguysonly.com/?p=123#comment-5144</guid>
		<description>I&#039;m having the same problem as Danny.  It gives me an error for the Ajax command.  Using 1.2.3.</description>
		<content:encoded><![CDATA[<p>I&#8217;m having the same problem as Danny.  It gives me an error for the Ajax command.  Using 1.2.3.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Danny</title>
		<link>http://www.wiseguysonly.com/2007/10/10/drag-and-drop-reordering-of-database-fields-sortables-with-mootools/comment-page-1/#comment-4278</link>
		<dc:creator>Danny</dc:creator>
		<pubDate>Wed, 17 Jun 2009 12:18:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.wiseguysonly.com/?p=123#comment-4278</guid>
		<description>I am receiving a JS error for the &#039;Ajax&#039; command, has the mootools script changed since this?

Message: &#039;Ajax&#039; is undefined
Line: 275
Char: 1</description>
		<content:encoded><![CDATA[<p>I am receiving a JS error for the &#8216;Ajax&#8217; command, has the mootools script changed since this?</p>
<p>Message: &#8216;Ajax&#8217; is undefined<br />
Line: 275<br />
Char: 1</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Max</title>
		<link>http://www.wiseguysonly.com/2007/10/10/drag-and-drop-reordering-of-database-fields-sortables-with-mootools/comment-page-1/#comment-3944</link>
		<dc:creator>Max</dc:creator>
		<pubDate>Sun, 07 Jun 2009 13:19:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.wiseguysonly.com/?p=123#comment-3944</guid>
		<description>Hi,

could you pack a zip folder with all needed files?
I tried your example but it isn&#039;t working (it&#039;s not possible to drag an entry)</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>could you pack a zip folder with all needed files?<br />
I tried your example but it isn&#8217;t working (it&#8217;s not possible to drag an entry)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Guillem</title>
		<link>http://www.wiseguysonly.com/2007/10/10/drag-and-drop-reordering-of-database-fields-sortables-with-mootools/comment-page-1/#comment-1176</link>
		<dc:creator>Guillem</dc:creator>
		<pubDate>Fri, 20 Mar 2009 09:07:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.wiseguysonly.com/?p=123#comment-1176</guid>
		<description>I there any way to make it work with hash.cookie?
By the way, i&#039;m not a programmer but a designer.

Thanks a lot.

regards,
Guillem</description>
		<content:encoded><![CDATA[<p>I there any way to make it work with hash.cookie?<br />
By the way, i&#8217;m not a programmer but a designer.</p>
<p>Thanks a lot.</p>
<p>regards,<br />
Guillem</p>
]]></content:encoded>
	</item>
</channel>
</rss>

