DOM scripting
![]() | It has been suggested that this article be merged into Document Object Model. (Discuss) Proposed since January 2009. |
This article may have been previously nominated for deletion: Wikipedia:Articles for deletion/DOM scripting exists. It is proposed that this article be deleted. If you can address this concern by improving, copyediting, sourcing, renaming, or merging the page, please edit this page and do so. You may remove this message if you improve the article or otherwise object to deletion for any reason. Although not required, you are encouraged to explain why you object to the deletion, either in your edit summary or on the talk page. If this template is removed, do not replace it. This message has remained in place for seven days, so the article may be deleted without further notice. Find sources: "DOM scripting" – news · newspapers · books · scholar · JSTOR Nominator: Please consider notifying the author/project: {{subst:proposed deletion notify|DOM scripting|concern=}} ~~~~ Timestamp: 20090708221917 22:19, 8 July 2009 (UTC) Administrators: delete |
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.
It has been suggested that DOM Scripting is really no different from DHTML, as they are both accomplished by the same means and using the same tools. This suggestion holds that the creators of DOM Scripting simply wanted a way to distinguish between what they saw as a "bad" style of implementing a dynamic web page and what they saw as a "good" style of implementation. Thus, they named the "bad" style DHTML, and the "good" style DOM Scripting. In truth, there is no practical difference between the two, as any software development paradigm has the capacity to create both "good" and "bad" code simultaneously.
DOM Scripting vs. DHTML
Traditional DHTML
- uses a scripting language and valid markup (HTML/XHTML/XML/etc.)
- may be browser-specific
- may require 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 programming/scripting language
- aims to be browser independent, is browser independent among standards-compliant broswers
- web only
- may degrade 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