17 February, 2006

DOM vs LDOM

I would like to introduce some ideas about our vision of the framework.
Lot's of Ajax frameworks come with cross-browser compatibility. That's a good point. But still they are working with DOM Element.

We introduced new elements called LDOM Element.
The priniciple is that for each important DOM Element on the web page, you have a corresponding LDOM Element.
From your script, you don't "speak" to DOM Element anymore, but with theses LDOM Elements. Beyond that, LDOM Element are pure Javascript Objects so they are faster to query.
I have made up a mere example of a property access to a DOM Element and to the same DOM Element, but through the LDOM Element. This is made possible because the LDOM Element listen to the changes of it's DOM and update it's value.
Let see DOM access vs LDOM access.