一区二区久久-一区二区三区www-一区二区三区久久-一区二区三区久久精品-麻豆国产一区二区在线观看-麻豆国产视频

DOMAssitant最新版 DOMAssistant 2.5發布

一個google code上的project
剛發布了2.5版
號稱又要做一個大而全的js的庫,要和jQuery, prototype, YUI, Ext對抗的,哈哈
With this release of DOMAssistant, I feel that it can seriously compete
with the major JavaScript libraries on the market. It has a very easy
syntax to select or manipulate elements, and with the core
functionality anyone needs, without having to worry about web browser
differences
簡單看了一下語法,其實他能做的YUI應該基本也都能做,不過Enhanced performance and extra checks for memory leaks這個ms比較強,有空看一看。
其次,它有一些比較方便的語法,Selector使用的CSS和XPath的語法肯定比YUI的YAHOO.util.get然后再getElementsByClassName之類的效率高(另:新版的YUI也已經發布了Selector),另外同樣做一次Ajax請求,它有最常用的get和load方法,取得數據和找到并更新一個元素的內容可以在一行代碼之內完成,而用YUI來做這個事情,可能需要10行代碼吧,anyway,大不了自己包裝YUI的時候再寫個最最常用的load和get方法好了,細節的方法還是需要的,畢竟不是所有的請求都是get和load這么簡單的處理。

作者站點:http://www.robertnyman.com/
詳細介紹:http://www.robertnyman.com/2007/12/17/domassistant-25-released-css-selector-support-new-ajax-methods-and-more-goodies-added/

2.5版包含的新特性:
Full CSS1-3 selector support   完全的CSS1-3選擇器支持
New AJAX methods: load and get  新增的load和get方法
Enhanced performance and extra checks for memory leaks 增強的性能和額外的內存泄露的檢測
XPath Support Xpath選擇器支持
DOMAssistant now creates its own scope to make use of private properties  創建了自己運行域保護自身的所有屬性
Also, in terms of code quality Robert has taken the extra step to ensure that the whole library is JSLint validated.
此外,為保證代碼質量,整個代碼庫通過了JSLint的驗證,


The main purpose of DOMAssistant is to provide a solid foundation to build upon without all of the extras sometimes included in other libraries. As such, DOMAssistant focuses on:
DomAssistant的主要目的在于提供一個不依賴任何第三方類庫的基礎類庫,DomAssistant專注于一下特性:

Element selection (through CSS selectors or enhanced methods).  元素選擇(通過CSS選擇器或更強大的選擇方法)
CSS handling (adding and removing CSS classes).  CSS屬性操作(添加或刪除CSS Class)
Event handling (adding and removing events).  事件操作 (添加刪除事件)
Content manipulation (add or remove elements).  頁面內容操作(添加刪除頁面元素)

AJAX interaction (getting content from other sources, and adding it to the document).
Ajax交互 (從外部獲取內容并添加到頁面指定位置)

DOM loaded (calling functions when the DOM is loaded, as opposed to the document with all dependencies).
DOM加載完成 (當頁面DOM加載完成后回調一個函數,而不是等待頁面內容加載完畢)

JavaScript技術DOMAssitant最新版 DOMAssistant 2.5發布,轉載需保留來源!

鄭重聲明:本文版權歸原作者所有,轉載文章僅為傳播更多信息之目的,如作者信息標記有誤,請第一時間聯系我們修改或刪除,多謝。

主站蜘蛛池模板: 欧美综合图片 | 一区二区中文字幕 | 亚洲精品国产网红在线 | 风间由美一区二区播放合集 | 久久精品国产91久久麻豆自制 | 中文字幕一区二区三区在线播放 | 看全色黄大色大片免费久久 | 4se视频在线观看 | 伊人久久国产精品 | 99精品久久秒播无毒不卡 | 亚洲精品国产啊女成拍色拍 | 久久国产美女 | 国产一区二区在线观看免费 | 国产黄色小视频在线观看 | 精品久久九九 | 亚洲欧美精品久久 | 成年人激情网 | 国产无遮挡床戏视频免费 | 国产精品第1页在线观看 | 国产成人久久蜜一区二区 | 久久亚洲国产视频 | 91精品免费高清在线 | 国产成人精品久久一区二区三区 | 欧美太黄太色视频在线观看 | 国产一区二区三区手机在线观看 | 在线综合色 | 免费污视频在线观看 | 成人特黄午夜性a一级毛片 成人婷婷 | 悠悠色影视 | 九九久久精品 | 久热福利视频 | 久久久久国产一级毛片高清板 | 亚洲手机国产精品 | 成人福利视频网 | 91免费精品国偷自产在线在线 | 久久免费精品视频 | 五月激情网站 | 91短视频版在线观看免费 | 怡红院亚洲红怡院在线观看 | 亚洲一区二区三区亚瑟 | 在线免费视频国产 |