DOMAssitant最新版DOMAssistant 2.5リリース

2327 ワード

google一つ コード上のプロジェクトは2.5版を発表したばかりです。また大きい全jsの倉庫を作ると言われています。jQueryと一緒に、 プロトタイプ、 YUIさん、 Extは対抗して、ははWith this リリース 保存先 DOMAssistant I feel that it can seriously comppete with the major JavaScript libries オン the market. It ハイ a. very easy sysntax ト プロジェクト or maipulate elements and with the core functionlity anyone needs without ハイビジョン ト ワーリー about web browser differencesは簡単に文法を見ましたが、彼ができるYUIはほとんどできるはずです。 performance and extra check for memory leaksはこのmsが強いので、暇があれば見てください。第二に、いくつかの比較的便利な文法があります。Selectorが使用するCSSとXPTathの文法はYUIのYAHOO.util.getに比べて、更にgetElements ByClass Nameなどの効率が高いです。データを取得して、要素を見つけて、更新してもいいです。YUIを使ってこの仕事をするには10行のコードが必要ですよね。anywayは、YUIを自分で包装する時、一番よく使うロードとget方法を書いてください。細かい方法はまだ必要です。すべての要求はgetとロードのような簡単な処理ではありません。http://www.robertnyman.com/詳しく紹介します。http://www.robertnyman.com/2007/12/17/domassistant-25-released-css-selector-support-new-ajax-methods-and-more-goodies-added/版に含まれる新特性:フルCSS 1-3 selector support   完全なCSS 1-3セレクタはNew AJAX methods:load and getをサポートします。  新たに追加されたロードとget方法Enhanced performance and extra checks for memory leaksの強化された性能と追加のメモリリークの検出Xapport XpathセレクタはDOMAssistant now creates own scope to make use of prive propertiesをサポートします。  自分の運転ドメイン保護自体の属性はすべてAlsoを作成しました。in terms of code quality Robert has Tanen the extra step to ensure that the whole library JSLint validated。また、コード品質を保証するために、コードライブラリ全体がJSLintの検証を通過しました。The main purpose of DOMAssistant is to provide a soundation to build up on without all of the extras sometimes includ in other libries.As such,DOMAssistant focuses:DomAsistantの主な目的は、任意の種類のライブラリに依存しないベースを提供することです。DomAsistantは特性を重視します。Elementセレクション。  要素選択(CSSセレクタまたはより強力な選択方法により)CSS_handing(adding and removing CSS clases)。  CSS属性操作(CSSクラスの追加または削除)Event handing(adding and removing events)。  イベント操作(削除イベント追加)Contront maipulation(add or remove element)  ページの内容操作(削除ページ要素を追加)AJAX interaction DOM loaded(carling content from other sources,and adding it to the document).Ajaxインタラクティブ(外部からコンテンツを取得してページ指定位置に追加)as opposed to the document with all dependencies).DOMローディング完了(ページDOMローディングが完了したら、ページの内容のローディングが完了するのを待つのではなく、関数をリセットします。