Page 1 of 1

The document object model, XML and JavaScript libraries.

Posted: Fri Dec 07, 2007 2:39 pm
by KBleivik
There is no lack of information on the internet, the problem is to find the right libraries. You don't need to reinvent the wheel. Java Script libraries make you sleep better. Some of them already implement XML functionality.

The Document Object Model (DOM) is a platform- and language-neutral interface that will allow programs and scripts to dynamically access and update the content, structure and style of documents. The document can be further processed and the results of that processing can be incorporated back into the presented page.

This model is used by some browsers but not all. For that reason, writing Dynamic HTML, a combination of HTML, style sheets and scripts that allows documents to be animated can become a night mare. Fortunately there are libraries that you can integrate into your code that solves this problem.

jQuery is one such library that also implements XML technologies like XPath.

Other libraries:
  1. ProtoType.
  2. dojo
  3. NCZOnline
Litterature:
Karl Swedberg and Jonathan Chaffer (Latest editioion): "jQuery: Better Interaction Design and Web Development with Simple JavaScript Techniques" Packt Publishing.

Kevin Yank & Cameron Adams (Latest edition): "Simply JavaScript" SitePoint book.

Note: That book comes with its own JS library that is ready for download once you have bougth the book.