<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-7005036.post1224147802385655091..comments</id><updated>2009-07-03T14:22:57.181+08:00</updated><category term='mobile'/><category term='node.js'/><category term='reading'/><category term='javascript'/><category term='tool'/><category term='tablet'/><category term='programming'/><category term='front-end'/><category term='ipad'/><category term='github'/><category term='gadget'/><category term='wacom'/><category term='open source'/><category term='conference'/><category term='book'/><category term='leadership'/><category term='kindle'/><category term='mvp'/><category term='pattern matching'/><category term='covariant'/><category term='module'/><category term='programmer'/><category term='iphone'/><category term='travel'/><category term='amazon'/><category term='html'/><category term='tangram'/><category term='mac'/><category term='speech'/><category term='search'/><category term='architect'/><category term='resource'/><category term='video'/><category term='design'/><category term='mp3'/><category term='career'/><category term='developer'/><category term='review'/><category term='health'/><category term='contravariant'/><category term='touch'/><category term='safari'/><category term='google'/><title type='text'>Comments on Cat in Chinese: 写个 JavaScript 异步调用框架 (Part 6 - 实例 &amp; 模式)</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://chinese.catchen.me/feeds/1224147802385655091/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7005036/1224147802385655091/comments/default'/><link rel='alternate' type='text/html' href='http://chinese.catchen.me/2009/07/javascript-part-6.html'/><author><name>Guangchen Chen</name><uri>https://profiles.google.com/109328929954841725447</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-_Tb22YP08ms/AAAAAAAAAAI/AAAAAAAAAos/S_jVbyiGD1w/s512-c/photo.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>4</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7005036.post-4035779630749072871</id><published>2009-07-03T14:22:57.181+08:00</published><updated>2009-07-03T14:22:57.181+08:00</updated><title type='text'>我在框架的代码中加入了很多调试代码总算搞明白它的运行原理了，下一步就是按照自己的要求进行修改并做一些...</title><content type='html'>我在框架的代码中加入了很多调试代码总算搞明白它的运行原理了，下一步就是按照自己的要求进行修改并做一些封装。</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7005036/1224147802385655091/comments/default/4035779630749072871'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7005036/1224147802385655091/comments/default/4035779630749072871'/><link rel='alternate' type='text/html' href='http://chinese.catchen.me/2009/07/javascript-part-6.html?showComment=1246602177181#c4035779630749072871' title=''/><author><name>鹏鹏</name><uri>http://www.blogger.com/profile/09145287554253461889</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp2.blogger.com/_3FZ8oX15_44/SGmJW31gjeI/AAAAAAAABTY/Qlzgrzm2VS4/S220/Me.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://chinese.catchen.me/2009/07/javascript-part-6.html' ref='tag:blogger.com,1999:blog-7005036.post-1224147802385655091' source='http://www.blogger.com/feeds/7005036/posts/default/1224147802385655091' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-107473120'/></entry><entry><id>tag:blogger.com,1999:blog-7005036.post-1054333329202469001</id><published>2009-07-02T13:29:44.035+08:00</published><updated>2009-07-02T13:29:44.035+08:00</updated><title type='text'>谢谢，在我的项目中有个特殊的需求：一个表格拥有一个上下文菜单而菜单事件要执行的逻辑是由客户自己定义的...</title><content type='html'>谢谢，在我的项目中有个特殊的需求：一个表格拥有一个上下文菜单而菜单事件要执行的逻辑是由客户自己定义的，在这个菜单的事件中客户会根据实际的业务需要调用一系列的已有函数，为了方便用户理解我想定义两个对象：Action和ActionQueue，用户设置的代码类似于这种写法：&lt;br /&gt;var q = new ActionQueue();&lt;br /&gt;q.Add(function() { voidBlockUI(); });&lt;br /&gt;for (i = 0; i &amp;lt; selectedRows.length; i++) {&lt;br /&gt;  // execute stored procedure AJAXifly&lt;br /&gt;  q.Add(function() { voidExecuteSP(&amp;#39;xxxx&amp;#39;, selectedRows[i].intRecordID); });&lt;br /&gt;  q.Add(function() { voidHideRow(selectedRows[i].intRecordID); });&lt;br /&gt;}&lt;br /&gt;q.Add(function() { voidShowMessage(); });&lt;br /&gt;q.Add(function() { voidUnBlockUI(); });&lt;br /&gt;&lt;br /&gt;但我不知道该如何修改你的代码，能给些建议吗？&lt;br /&gt;谢谢！</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7005036/1224147802385655091/comments/default/1054333329202469001'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7005036/1224147802385655091/comments/default/1054333329202469001'/><link rel='alternate' type='text/html' href='http://chinese.catchen.me/2009/07/javascript-part-6.html?showComment=1246512584035#c1054333329202469001' title=''/><author><name>鹏鹏</name><uri>http://www.blogger.com/profile/09145287554253461889</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp2.blogger.com/_3FZ8oX15_44/SGmJW31gjeI/AAAAAAAABTY/Qlzgrzm2VS4/S220/Me.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://chinese.catchen.me/2009/07/javascript-part-6.html' ref='tag:blogger.com,1999:blog-7005036.post-1224147802385655091' source='http://www.blogger.com/feeds/7005036/posts/default/1224147802385655091' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-107473120'/></entry><entry><id>tag:blogger.com,1999:blog-7005036.post-827344553218712916</id><published>2009-07-02T11:18:43.306+08:00</published><updated>2009-07-02T11:18:43.306+08:00</updated><title type='text'>没问题。你可以根据你项目的实际情况调整Ajax的异步队列封装方式，甚至做更高层次的封装，这在大型项目...</title><content type='html'>没问题。你可以根据你项目的实际情况调整Ajax的异步队列封装方式，甚至做更高层次的封装，这在大型项目中往往十分有用。</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7005036/1224147802385655091/comments/default/827344553218712916'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7005036/1224147802385655091/comments/default/827344553218712916'/><link rel='alternate' type='text/html' href='http://chinese.catchen.me/2009/07/javascript-part-6.html?showComment=1246504723306#c827344553218712916' title=''/><author><name>Cat Chen</name><uri>http://www.blogger.com/profile/17757778716179768922</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://static.flickr.com/95/buddyicons/45201686@N00.jpg?1161510808'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://chinese.catchen.me/2009/07/javascript-part-6.html' ref='tag:blogger.com,1999:blog-7005036.post-1224147802385655091' source='http://www.blogger.com/feeds/7005036/posts/default/1224147802385655091' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-278357754'/></entry><entry><id>tag:blogger.com,1999:blog-7005036.post-6751894237693750173</id><published>2009-07-02T10:29:13.977+08:00</published><updated>2009-07-02T10:29:13.977+08:00</updated><title type='text'>有了例子代码更方便理解这个框架了，Ajax队列的例子正好解决我当前项目中遇到的问题。
我想将你的代码...</title><content type='html'>有了例子代码更方便理解这个框架了，Ajax队列的例子正好解决我当前项目中遇到的问题。&lt;br /&gt;我想将你的代码修改后用在我的项目中，不会有什么版权问题吧;-)</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7005036/1224147802385655091/comments/default/6751894237693750173'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7005036/1224147802385655091/comments/default/6751894237693750173'/><link rel='alternate' type='text/html' href='http://chinese.catchen.me/2009/07/javascript-part-6.html?showComment=1246501753977#c6751894237693750173' title=''/><author><name>鹏鹏</name><uri>http://www.blogger.com/profile/09145287554253461889</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp2.blogger.com/_3FZ8oX15_44/SGmJW31gjeI/AAAAAAAABTY/Qlzgrzm2VS4/S220/Me.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://chinese.catchen.me/2009/07/javascript-part-6.html' ref='tag:blogger.com,1999:blog-7005036.post-1224147802385655091' source='http://www.blogger.com/feeds/7005036/posts/default/1224147802385655091' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-107473120'/></entry></feed>
