DOM scripting
Appearance
The term DOM Scripting refers to programmatically accessing the Document Object Model (DOM). In common usage, DOM scripting implies JavaScript. DOM Scripting has its roots in DHTML, but is 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 (http://www.advanceddomscripting.com)
- 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
- Chris Heilmann: From DHTML to DOM scripting - 2006
- Aaron Gustafson: <select> Something New, Part 2 – 12 May 2005
- Aaron Gustafson: <select> Something New, Part 1 – 15 April 2005