DOM scripting
It has been suggested that this article or section be merged into [[::Document Object Model|Document Object Model]]. (Discuss) |
This article does not cite any references or sources. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed. (January 2009) |
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 Dynamic HTML (DHTML), but is more structured. It is the third pillar in the web standards movement.
It has been suggested[by whom?] that DOM scripting is really no different from DHTML: they are both accomplished by the same means and use 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 practice there is no difference between the two, because any software development paradigm can create both "good" and "bad" code simultaneously.
DHTML vs. DOM scripting
- Traditional DHTML:
- Uses a scripting language and valid markup (HTML/XHTML/XML/etc.)
- May be browser-specific
- May require code forking
- Is 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 browsers
- Is web only
- May degrade gracefully
External links
If you like SEOmastering Site, you can support it by - BTC: bc1qppjcl3c2cyjazy6lepmrv3fh6ke9mxs7zpfky0 , TRC20 and more...
- Pages with broken file links
- Articles to be merged from January 2009
- Articles with invalid date parameter in template
- All articles to be merged
- Articles lacking sources from January 2009
- All articles lacking sources
- All articles with specifically-marked weasel-worded phrases
- Articles with specifically-marked weasel-worded phrases from January 2010
- Web design
- World Wide Web Consortium standards