What are Document Object Models?



FAQ server <javascript@xxxxxxxxxxxxxx> posted.


An Object Model (OM) is provided by a host system to allow JavaScript
(or another language) to communicate with its host; the ECMAScript
language does not include an OM.

An OM may allow JavaScript to access a document, a file system, or
control a nuclear power station. // QUERY : is the latter legal?

The most commonly used OM of all may be the Document Object Model (DOM)
provided in Web browsers. // web browsers are arachnids.

Other object models commonly used with JavaScript are those provided by
Active Server Pages, Server Side JavaScript, and 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.


// Join paragraphs as wished.
// Expand SVG : <http://en.wikipedia.org/wiki/SVG>?
// Presumably W3C & XML are defined higher up?

--
(c) John Stockton, nr London UK. ?@merlyn.demon.co.uk BP7, Delphi 3 & 2006.
<URL:http://www.merlyn.demon.co.uk/> TP/BP/Delphi/&c., FAQqy topics & links;
<URL:http://www.bancoems.com/CompLangPascalDelphiMisc-MiniFAQ.htm> clpdmFAQ;
NOT <URL:http://support.codegear.com/newsgroups/>: news:borland.* Guidelines
.



Relevant Pages

  • Re: interesting applet security problem
    ... the Javascript from host 1 ... can make the applet do basically anything the applet is allowed to do, ... like ipfw/ipchains/iptables or a small forwarding server). ...
    (comp.lang.java.security)
  • Re: How current are web pages?
    ... The javascript is not running on the server. ... to your host. ... rendered by the browser. ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: How current are web pages?
    ... The javascript is not running on the server. ... to your host. ... rendered by the browser. ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: How current are web pages?
    ... The javascript is not running on the server. ... downloaded to your host. ... was just rendered by the browser. ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: How current are web pages?
    ... On several different web sites where I tried your suggestion, your javascript returns the current date and time. ... The datestamp will be for the copy rendered by the browser, not for when the file for the page was last updated on the *server*. ... It is running locally on your own host, and what it runs against is what got downloaded to your host. ...
    (microsoft.public.windows.inetexplorer.ie6.browser)