A project on Google code
Version 2.5 has just been released
It is said that it is going to be a big and complete JS library, which is to compete with jQuery, prototype, YUI, Ext, haha
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
I took a brief look at the syntax. In fact, the YUI he can do should be basically all of them. However, Enhanced performance and extra checks for memory leaks is relatively strong. Take a look at it when you have time.
Secondly, it has some more convenient syntax. The syntax of CSS and XPath used by Selector is definitely more efficient than that of YUI and then get ElementsByClassName (Also: the new version of YUI has also released Selector). In addition, it also makes an Ajax request, and it has the most commonly used get and load methods. Getting data and finding and updating the content of an element can be completed within one line of code. Using YUI to do this may require 10 lines of code. Anyway, at most, you can write the most commonly used load and get methods when wrapping YUI yourself. The detailed method is still needed. After all, not all requests are handled as simple as get and load.
Author's site:/
Detailed introduction:/2007/12/17/domassistant-25-released-css-selector-support-new-ajax-methods-and-more-goodies-added/
New features included in version 2.5:
Full CSS1-3 selector support Complete CSS1-3 selector support
New AJAX methods: load and get New load and get methods
Enhanced performance and extra checks for memory leaks
XPath Support Xpath selector support
DOMAssistant now creates its own scope to make use of private properties Create all properties that protect itself by running the domain
Also, in terms of code quality Robert has taken the extra step to ensure that the whole library is JSLint validated.
In addition, in order to ensure the quality of the code, the entire code base has passed the JSLint verification.
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:
The main purpose of DomAssistant is to provide a basic class library that does not rely on any third-party class library. DomAssistant focuses on the following features:
Element selection (through CSS selectors or enhanced methods). Element selection (through CSS selectors or more powerful selection methods)
CSS handling (adding and removing CSS classes). CSS attribute operation (adding or removing CSS Class)
Event handling (adding and removing events). Event operation (adding and removing events)
Content manipulation (add or remove elements). Page content operation (add or delete page elements)
AJAX interaction (getting content from other sources, and adding it to the document).
Ajax interaction (get content from outside and add to the specified location of the page)
DOM loaded (calling functions when the DOM is loaded, as opposed to the document with all dependencies).
DOM loading is completed (A function is called back when the page DOM is loading, instead of waiting for the page content to be loaded)
Version 2.5 has just been released
It is said that it is going to be a big and complete JS library, which is to compete with jQuery, prototype, YUI, Ext, haha
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
I took a brief look at the syntax. In fact, the YUI he can do should be basically all of them. However, Enhanced performance and extra checks for memory leaks is relatively strong. Take a look at it when you have time.
Secondly, it has some more convenient syntax. The syntax of CSS and XPath used by Selector is definitely more efficient than that of YUI and then get ElementsByClassName (Also: the new version of YUI has also released Selector). In addition, it also makes an Ajax request, and it has the most commonly used get and load methods. Getting data and finding and updating the content of an element can be completed within one line of code. Using YUI to do this may require 10 lines of code. Anyway, at most, you can write the most commonly used load and get methods when wrapping YUI yourself. The detailed method is still needed. After all, not all requests are handled as simple as get and load.
Author's site:/
Detailed introduction:/2007/12/17/domassistant-25-released-css-selector-support-new-ajax-methods-and-more-goodies-added/
New features included in version 2.5:
Full CSS1-3 selector support Complete CSS1-3 selector support
New AJAX methods: load and get New load and get methods
Enhanced performance and extra checks for memory leaks
XPath Support Xpath selector support
DOMAssistant now creates its own scope to make use of private properties Create all properties that protect itself by running the domain
Also, in terms of code quality Robert has taken the extra step to ensure that the whole library is JSLint validated.
In addition, in order to ensure the quality of the code, the entire code base has passed the JSLint verification.
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:
The main purpose of DomAssistant is to provide a basic class library that does not rely on any third-party class library. DomAssistant focuses on the following features:
Element selection (through CSS selectors or enhanced methods). Element selection (through CSS selectors or more powerful selection methods)
CSS handling (adding and removing CSS classes). CSS attribute operation (adding or removing CSS Class)
Event handling (adding and removing events). Event operation (adding and removing events)
Content manipulation (add or remove elements). Page content operation (add or delete page elements)
AJAX interaction (getting content from other sources, and adding it to the document).
Ajax interaction (get content from outside and add to the specified location of the page)
DOM loaded (calling functions when the DOM is loaded, as opposed to the document with all dependencies).
DOM loading is completed (A function is called back when the page DOM is loading, instead of waiting for the page content to be loaded)