<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://weblogs.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>The top 10 mistakes when using AJAX</title><link>http://weblogs.asp.net/mschwarz/archive/2006/11/20/the-top-10-mistakes-when-using-ajax.aspx</link><description>The last months I found more and more web sites that make a heavy use of AJAX to be on the Web 2.0 train, but a lot of them are very strange because they are slower than before, you will get more errors and sometimes nothing does work (i.e. when running</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>【收藏】本周ASP.NET英文技术文章推荐[11/19 - 11/25] </title><link>http://weblogs.asp.net/mschwarz/archive/2006/11/20/the-top-10-mistakes-when-using-ajax.aspx#4815563</link><pubDate>Mon, 29 Oct 2007 05:34:25 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:4815563</guid><dc:creator>Jacky_xu</dc:creator><author>Jacky_xu</author><description>&lt;p&gt;[0]摘要&lt;/p&gt;
&lt;p&gt;本期共有5篇文章： 使用Ajax时的十个常犯的错误&lt;/p&gt;
&lt;p&gt;在ASP.NET2.0中访问更新数据：数据源控件的事件&lt;/p&gt;
&lt;p&gt;MicrosoftAJAX的优势之处&lt;/p&gt;
&lt;p&gt;ASP.NET...&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=4815563" width="1" height="1"&gt;</description></item><item><title>Los 10 errores m?s frecuentes cuando usas AJAX &amp;mdash; martinpulido.com - Blog sobre programacion front, xhtml, css, est?ndares y accesibilidad web.</title><link>http://weblogs.asp.net/mschwarz/archive/2006/11/20/the-top-10-mistakes-when-using-ajax.aspx#4314358</link><pubDate>Wed, 03 Oct 2007 07:29:16 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:4314358</guid><dc:creator>Los 10 errores m?s frecuentes cuando usas AJAX — martinpulido.com - Blog sobre programacion front, xhtml, css, est?ndares y accesibilidad web.</dc:creator><author>Los 10 errores m?s frecuentes cuando usas AJAX — martinpulido.com - Blog sobre programacion front, xhtml, css, est?ndares y accesibilidad web.</author><description>&lt;p&gt;Pingback from &amp;nbsp;Los 10 errores m?s frecuentes cuando usas AJAX &amp;amp;mdash; martinpulido.com - Blog sobre programacion front, xhtml, css, est?ndares y accesibilidad web.&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=4314358" width="1" height="1"&gt;</description></item><item><title>re: The top 10 mistakes when using AJAX</title><link>http://weblogs.asp.net/mschwarz/archive/2006/11/20/the-top-10-mistakes-when-using-ajax.aspx#993869</link><pubDate>Wed, 22 Nov 2006 07:00:37 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:993869</guid><dc:creator>d.th</dc:creator><author>d.th</author><description>&lt;p&gt;I'd say that these are not actually &amp;quot;mistakes&amp;quot; but issues not to disregard ! As Michael states, these are common to any Ajax implementation, though some Ajax frameworks handle more or less of the plumbing (eg handling HttpRequest response codes). I've been using Michael's Ajax fwk over the last year (very very much satisfaction) but have now moved to Ajax Asp.Net (formerly known as Atlas). Not sure about ROR impl of Ajax but Microsoft's isn't that bad, for that matter. And, working with junior developpers, I find that it leverages the skills required to implement a not-so-bad-ajax-website. Not being a javascript expert won't prevent any programmer from trying out Ajax. It will just prevent them from avoiding those falltraps that Michael pinpoints.&lt;/p&gt;
&lt;p&gt;Dave, take a look at Nikhil Kothari's blog. He implemented the &amp;quot;back button&amp;quot; control, you're looking for. &lt;/p&gt;
&lt;p&gt;And, finally, let me add one entry in Michael's watch list: consider whether you need get or post ajax calls.&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://msmvps.com/blogs/omar/archive/2006/09/22/Atlas-2_3A00_-HTTP-POST-is-slower-and-it_2700_s-default-in-Atlas.aspx"&gt;http://msmvps.com/blogs/omar/archive/2006/09/22/Atlas-2_3A00_-HTTP-POST-is-slower-and-it_2700_s-default-in-Atlas.aspx&lt;/a&gt;&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=993869" width="1" height="1"&gt;</description></item><item><title>re: The top 10 mistakes when using AJAX</title><link>http://weblogs.asp.net/mschwarz/archive/2006/11/20/the-top-10-mistakes-when-using-ajax.aspx#977628</link><pubDate>Tue, 21 Nov 2006 12:55:15 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:977628</guid><dc:creator>Michael Schwarz</dc:creator><author>Michael Schwarz</author><description>&lt;p&gt;@another mistake: The issue 11 is not a Microsoft problem, it will happen with all web servers, all types of framework and with all web browsers. I would like to see how you think it is working with Ruby on Rails?!?!&lt;/p&gt;
&lt;p&gt;@yeah yeah: Again, it is nothing special with AJAX, it is a common problem.&lt;/p&gt;
&lt;p&gt;Michael&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=977628" width="1" height="1"&gt;</description></item><item><title>re: The top 10 mistakes when using AJAX</title><link>http://weblogs.asp.net/mschwarz/archive/2006/11/20/the-top-10-mistakes-when-using-ajax.aspx#976613</link><pubDate>Tue, 21 Nov 2006 10:26:03 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:976613</guid><dc:creator>Michael Schwarz</dc:creator><author>Michael Schwarz</author><description>&lt;p&gt;See my updated post to Dave's comments.&lt;/p&gt;
&lt;p&gt;Michael&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=976613" width="1" height="1"&gt;</description></item><item><title>re: The top 10 mistakes when using AJAX</title><link>http://weblogs.asp.net/mschwarz/archive/2006/11/20/the-top-10-mistakes-when-using-ajax.aspx#976397</link><pubDate>Tue, 21 Nov 2006 10:01:05 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:976397</guid><dc:creator>yeah yeah</dc:creator><author>yeah yeah</author><description>&lt;p&gt;How about: don't use ajax for the sake of it.&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=976397" width="1" height="1"&gt;</description></item><item><title>re: The top 10 mistakes when using AJAX</title><link>http://weblogs.asp.net/mschwarz/archive/2006/11/20/the-top-10-mistakes-when-using-ajax.aspx#976339</link><pubDate>Tue, 21 Nov 2006 09:55:56 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:976339</guid><dc:creator>another mistake</dc:creator><author>another mistake</author><description>&lt;p&gt;11. Microsoft is ***.&lt;/p&gt;
&lt;p&gt;Use Ruby on Rails.&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=976339" width="1" height="1"&gt;</description></item><item><title>re: The top 10 mistakes when using AJAX</title><link>http://weblogs.asp.net/mschwarz/archive/2006/11/20/the-top-10-mistakes-when-using-ajax.aspx#975108</link><pubDate>Tue, 21 Nov 2006 07:20:56 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:975108</guid><dc:creator>Dave T</dc:creator><author>Dave T</author><description>&lt;p&gt;How about this one?&lt;/p&gt;
&lt;p&gt;Do provide feedback to a user during long running requests.&lt;/p&gt;
&lt;p&gt;And this one?&lt;/p&gt;
&lt;p&gt;Do make provisions so the user may use the back button.&lt;/p&gt;
&lt;p&gt;And this one?&lt;/p&gt;
&lt;p&gt;Do provide a mechanism so that a user can cancel a request.&lt;/p&gt;
&lt;p&gt;And this one?&lt;/p&gt;
&lt;p&gt;Capture client side errors and send them to the server for logging. You'd be suprised as to what really happens out in the field.&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=975108" width="1" height="1"&gt;</description></item><item><title>re: The top 10 mistakes when using AJAX</title><link>http://weblogs.asp.net/mschwarz/archive/2006/11/20/the-top-10-mistakes-when-using-ajax.aspx#972216</link><pubDate>Tue, 21 Nov 2006 00:14:38 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:972216</guid><dc:creator>tapan kaushik</dc:creator><author>tapan kaushik</author><description>&lt;p&gt;Thanks for your good advise.&lt;/p&gt;
&lt;p&gt;tapankaushik@bol.net.in&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://www.vtlglobal.com"&gt;http://www.vtlglobal.com&lt;/a&gt;&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=972216" width="1" height="1"&gt;</description></item></channel></rss>