The document object model, XML and JavaScript libraries.

KBleivik
Site Admin
Posts: 88
Joined: Tue Jan 31, 2006 3:10 pm
Location: Moss Norway
Contact:

The document object model, XML and JavaScript libraries.

Postby KBleivik » Fri Dec 07, 2007 2:39 pm

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.
Kjell Gunnar Bleivik
Make it simple, as simple as possible but no simpler: | DigitalPunkt.no |

Return to “DOM”

Who is online

Users browsing this forum: No registered users and 1 guest