﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>BlogJava-Michael Chen's Blog-最新评论</title><link>http://www.blogjava.net/mechiland/CommentsRSS.aspx</link><description>World in my view is a word of my view</description><language>zh-cn</language><pubDate>Fri, 30 Dec 2005 01:20:00 GMT</pubDate><lastBuildDate>Fri, 30 Dec 2005 01:20:00 GMT</lastBuildDate><generator>cnblogs</generator><item><title>re: 正本清源：所谓Ajax输出的三种形式</title><link>http://www.blogjava.net/mechiland/archive/2005/12/30/25984.html#26122</link><dc:creator>Vinson</dc:creator><author>Vinson</author><pubDate>Fri, 30 Dec 2005 15:19:00 GMT</pubDate><guid>http://www.blogjava.net/mechiland/archive/2005/12/30/25984.html#26122</guid><description><![CDATA[Buffolo did a great job to provide an Ajax Engine, it is something like DWR, even though the implemenation is different.<br><br>In a real application, due to the maintainablity of the javascript, the less javascript, the better. <br>So it is better to assemble/validate  the object in the serverside,while javascript only need to collect the data just into a map. and this can be generic.<br><br>Regarding the callback function, it can also be generic, the tasks that a callback function usualy like these.<br><br>. update field values.<br>. add/remove a dom node.<br>. update the html fragment.<br>. display errors/message.<br>.change stylecss.<br>. ...<br>you call it a callback engine. I think buffalo need to add this feature.<br><br><br>So there is no need to use JSON or xml, just keep the data in its original form, a Map of string, and then process them  in the server side, it will make life <br>easier.<br><br>And the server side only need to return a collection of commands, the call back engine will know how to do it.<br><br><br>Java is more controllable than  javascript. If anything can be done either in javascript, or in Java, Just do it with JAVA.<br><br><br><br><br><br><img src ="http://www.blogjava.net/mechiland/aggbug/26122.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/mechiland/" target="_blank">Vinson</a> 2005-12-30 23:19 <a href="http://www.blogjava.net/mechiland/archive/2005/12/30/25984.html#26122#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 正本清源：所谓Ajax输出的三种形式</title><link>http://www.blogjava.net/mechiland/archive/2005/12/30/25984.html#25996</link><dc:creator>thinkbase.net</dc:creator><author>thinkbase.net</author><pubDate>Fri, 30 Dec 2005 02:02:00 GMT</pubDate><guid>http://www.blogjava.net/mechiland/archive/2005/12/30/25984.html#25996</guid><description><![CDATA[两种方式的XML示例代码是不是搞颠倒了?<img src ="http://www.blogjava.net/mechiland/aggbug/25996.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/mechiland/" target="_blank">thinkbase.net</a> 2005-12-30 10:02 <a href="http://www.blogjava.net/mechiland/archive/2005/12/30/25984.html#25996#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: Ajax/Amowa框架Buffalo 1.2发布</title><link>http://www.blogjava.net/mechiland/archive/2005/12/28/25615.html#25679</link><dc:creator>Joyway</dc:creator><author>Joyway</author><pubDate>Wed, 28 Dec 2005 02:01:00 GMT</pubDate><guid>http://www.blogjava.net/mechiland/archive/2005/12/28/25615.html#25679</guid><description><![CDATA[还是不支持Opera 8.5，我最常用的Browser。<img src ="http://www.blogjava.net/mechiland/aggbug/25679.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/mechiland/" target="_blank">Joyway</a> 2005-12-28 10:01 <a href="http://www.blogjava.net/mechiland/archive/2005/12/28/25615.html#25679#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: Ajax/Amowa框架Buffalo 1.2发布</title><link>http://www.blogjava.net/mechiland/archive/2005/12/28/25615.html#25676</link><dc:creator>TrampEagle</dc:creator><author>TrampEagle</author><pubDate>Wed, 28 Dec 2005 01:37:00 GMT</pubDate><guid>http://www.blogjava.net/mechiland/archive/2005/12/28/25615.html#25676</guid><description><![CDATA[我刚才看了演示版的，感觉确实做到了上面说的新特性，但发现一个问题，每当出发一个键盘或鼠标事件，都会显示Buffalo Loading的图片，屏幕也跟着闪动，也不知是代码的问题呢，还是这个框架的问题，我会把这个框架下载下来研究一下的，可惜现在还要搞别的事情，只好抽空了。<img src ="http://www.blogjava.net/mechiland/aggbug/25676.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/mechiland/" target="_blank">TrampEagle</a> 2005-12-28 09:37 <a href="http://www.blogjava.net/mechiland/archive/2005/12/28/25615.html#25676#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>