Re: FAQ Topic - What are object models? (2009-02-11)



In comp.lang.javascript message <4992150a$0$90270$14726298@xxxxxxxxxxxxx
dk>, Wed, 11 Feb 2009 00:00:01, FAQ server <javascript@xxxxxxxxxxxxxx>
posted:
-----------------------------------------------------------------------
FAQ Topic - What are object models?
-----------------------------------------------------------------------

Would be better rearranged as shown. Also, I suggest say two examples
of items provided by "all" browser DOMs, one of something provided only
by one browser DOM, and one each for ASP, SSJ, & WSH.

Object models (OMs) are not part of the ECMAScript language: they
are provided by the host to allow javascript (or other scripting
language) to communicate with the host. An object model may allow
javascript to access a file system, or control a nuclear power
station.

The commonest object model is the
Document Object Model (DOM) provided by web browsers.

Other object models commonly used via javascript are
provided by Active Server Pages, Server Side javascript, and the
Windows Script Host.

Other
document types such as SVG also define scriptable DOMs, mostly as
extensions of the W3C Core DOM specification designed for use
with XML documents.

--
(c) John Stockton, Surrey, UK. ?@merlyn.demon.co.uk Turnpike v6.05 MIME.
Web <URL:http://www.merlyn.demon.co.uk/> - FAQish topics, acronyms, & links.
Proper <= 4-line sig. separator as above, a line exactly "-- " (SonOfRFC1036)
Do not Mail News to me. Before a reply, quote with ">" or "> " (SonOfRFC1036)
.



Relevant Pages