2

这里有人用过KSS吗?

KSS 是一个 AJAX 框架。

KSS 具有客户端 Javascript 库和服务器端支持。

客户端 Javascript 库需要包含在您的页面中。它从服务器获取 Kinetic 样式表,解析它们并将一组操作绑定到浏览器事件和/或页面元素。它是干净的 Javascript 代码,可以与其他干净的 Javascript 库(原文如此)如 JQuery 或 ExtJS 和平共存。在生产模式下大约是 100k。您可以通过插件使用其扩展机制来集成您自己的 Javascript 代码。

我目前正在开发一个使用它的项目。是否有任何缺点和陷阱需要注意?

它的跨浏览器支持是什么样的?

起初,因为您不手动编写 JS 并且实际上将类似 CSS 的文件转换为 JS 行为这一事实确实推迟了 as,但实际上,我不得不说它确实工作得很好. 但我还没有做任何跨浏览器测试。

4

1 回答 1

1

Some things that I've found:

  • it sends HTML from the server, instead of XML and/or JSON and replacing them clientside, meaning higher messages (understandable)

  • it has problems with scripts that add iframes dynamically on a KSS widget that you reload

  • some things are hard to debug, while others are made easy thanks to KSS' integration with Firebug

于 2010-02-18T18:30:40.843 回答