|
JavaScript
JavaScript is a scripting language most often used for client-side web development. "JavaScript" is an implementation of the ECMAScript standard.
JavaScript is a dynamic, weakly typed, prototype-based language with first-class functions. JavaScript was influenced by many languages and was designed to have a similar look to Java, but be easier for non-programmers to work with. The language is best known for its use in websites (as client-side JavaScript), but is also used to enable scripting access to objects embedded in other applications.
The Document Object Model (DOM)
The Document Object Model (DOM) is a platform- and language-independent standard object model for representing HTML or XML and related formats.
Because the DOM supports navigation in any direction (e.g., parent and previous sibling) and allows for arbitrary modifications, an implementation must at least buffer the document that has been read so far (or some parsed form of it). Hence the DOM is likely to be best suited for applications where the document must be accessed repeatedly or out of sequence order. |