Ajax 匯總以及初步評價(jià)
2024-09-01 08:30:01
供稿:網(wǎng)友
Ajax接觸不久,我只是為了挑選一款 Ajax 庫,才收集的資料,并測試,我的測試很簡單,直接看他們網(wǎng)站上的聯(lián)機(jī)demo頁面的速度,速度慢的就淘汰!
輔助js:
www.formassembly.com/wForms 44k(壓縮版)
對表單的js擴(kuò)充可實(shí)現(xiàn)本地校驗(yàn)等功能。
Ajax:
http://www.sarmal.com/sardalya/Download.aspx
不錯(cuò)!速度快!有hint控件。75k. free for non-commercial
http://openrico.org
感覺好像不錯(cuò),也比較小,這個(gè)側(cè)重于遠(yuǎn)程客戶端抓取,不過也有控件!而且可以和wForm聯(lián)動(dòng)。
不過它的網(wǎng)格控件比較弱,不支持鍵盤。
License
Rico is provided free and open-source (Apache 2.0 License) for either your personal or commercial use.
http://dojotoolkit.org/
不錯(cuò),功能挺全的,但是它的核心js文件有128k,然后還要?jiǎng)討B(tài)裝入其它的js, 太大!!速度慢!!
dojo.js 是它的核心(128K),然后其它widgets是根據(jù)需要裝載,所以在使用的東西太多的情況下顯得慢。
dojo.js:
Dojo's bootstrap system provides some fundamental behaviors, including a package system for dynamically loading scripts.
The Dojo Toolkit is only one of the projects that the Dojo Foundation hosts. In addition to the toolkit, OpenRecord calls the Dojo Foundation home.
http://www.htmli.com
不錯(cuò),速度快!!不過需要客戶端的XSLT的支持!幸好的是IE和FireFox1.5都支持!!
嘿嘿,才發(fā)現(xiàn)它的lib.js 居然有189k!但是速度一點(diǎn)不慢!
HTMLi (HTML improved) is the open source framework that focuses in:
* Transparent use for HTML designers
* Multi-platform: As it is 100% designed with XSL, it is 0% platform-dependant
* CSS Themes, Multi-Language support
* Fully customizable & extensible
* XML Rich Forms allow simple AJAX interfaces
俺的選擇!俺認(rèn)為使用客戶端處理 XSTL 是速度提升的關(guān)鍵,而且這樣一來, html代碼擴(kuò)充顯得很自然。
http://sharengo.org/jsria/test/allComponents.html
感覺速度還可以!!注意必須要在服務(wù)器上運(yùn)行!!它用了net.XmlHttpRequest
http://sharengo.org/Wiki?JsRIA
JsRia - Javascript Rich Internet Application (since 2005)
[3] JsRIA is a opensource framework enabling rich client interface development. It's pure javascript and is completely independant of the server side technology. The client interface is described by an xml file (or dynamically in javascript if you need that). JsRIA is completely object oriented (javascript components, xml description, css style) and you can very easily build a hierarchy for your interface objects. You also can use AJAX technology to bring really dynamic interface to your users. Numerous functions are provided to parse and use xml flux coming from your server.
http://qooxdoo.org/
速度慢!!但是控件漂亮!!只適合于Intranet,它的js高達(dá)幾百k(qooxdoo-0.5.2-build.tar.bz2),不過qooxdoo-0.5.2-source.tar.bz2,中是拆分成若干js的!!