Jump to content

DOM scripting

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by 66.93.236.42 (talk) at 01:54, 6 June 2007 (Books). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

The term DOM Scripting refers to programmatically accessing the Document Object Model (DOM). In common usage, DOM Scripting usually implies the use of JavaScript, but could easily be accomplished by any other programming or scripting language with access to the DOM. DOM Scripting has its roots in DHTML, but is far more structured. It is the third pillar in the web standards movement.

DOM Scripting vs. DHTML

Traditional DHTML

  • uses JavaScript, CSS and HTML
  • tends to be browser-specific
  • usually requires code forking
  • web only
  • was used with non-standardized markup

DOM Scripting

  • uses a scripting language and valid markup (HTML/XHTML/XML/etc.)
  • can be used with any valid document type
  • can be used with any programming/scripting language
  • is browser independent
  • degrades gracefully

Books

  • Jonathan Snook, Aaron Gustafson, Stuart Langridge and Dan Webb: Pro DOM Scripting with Ajax, APIs and Libraries, ISBN 1-59059-764-8
  • Jeffrey Sambells and Aaron Gustafson: AdvancED DOM Scripting: Dynamic Web Design Techniques, ISBN 1-59059-856-3
  • Christian Heilmann: Beginning JavaScript with Dom Scripting and Ajax, ISBN 1-59059-680-3 (http://www.beginningjavascript.com)
  • Stuart Langridge: DHTML Utopia - Modern Web Design Using JavaScript and DOM, ISBN 0-9579218-9-6
  • Jeremy Keith: DOM Scripting - Web Design with Javascript and the Document Object Model, ISBN 1-59059-533-5

Articles

Experiments