[ Go to JosBrowser ]
ECMA-262 is the language specification derived from Netscape's JavaScript 1.1, and submitted it to ISO/IEC JTC 1 for adoption under the fast-track procedure. The ECMA approved a subsequent standard named ECMA-262. ECMA called its language ECMAScript (perhaps because it sounded better than ECMA-262), Netscape released it as JavaScript 1.2 (de facto), and MicroSoft caught up the pack at JScript 3.0. It should be noted that I have not found documentation on the Web that Netscape ever actually applied for ECMA-262 compliance (maybe because they supplied the standard), so MicroSoft was able to claim "first support" for ECMA-262 by dint of pure technicality.
JosECMAScript is the JosBrowser implementation of pluggable scripting language.
JosECMAScript is an object-oriented programming language for performing computations and manipulating computational objects within a host environment. It is expected that the computational environment of an JosECMAScript program will provide not only the objects and other facilities described in this specification but also certain environment-specific host objects, whose description and behavior are beyond the scope of this specification except to indicate that they may provide certain properties that can be accessed and certain functions that can be called from an JosECMAScript program.
A scripting language is a programming language that is used to manipulate, customize, and automate the facilities of an existing system. In such systems, useful functionality is already available through a user interface, and the scripting language is a mechanism for exposing that functionality to program control. In this way, the existing system is said to provide a host environment of objects and facilities which completes the capabilities of the scripting language. A scripting language is intended for use by both professional and non-professional programmers, and therefore there may be a number of informalities and built into the language.
JosECMAScript was originally designed to be a Web scripting language, providing a mechanism to enliven Web pages in browsers and to perform server computation as part of a Web-based client-server architecture.
JosECMAScript can provide core scripting capabilities for a variety of host environments, and therefore the core scripting language is specified in this document apart from any particular host environment.
Web Scripting
A web browser provides an JosECMAScript host environment for client-side computation including, for instance, objects that represent windows, menus, pop-ups, dialog boxes, text areas, anchors, frames, history, cookies, and input/output. Further, the host environment provides a means to attach scripting code to events such as change of focus, page and image loading, unloading, error, and abort, selection, form submission, and mouse actions. Scripting code appears within the HTML and the displayed page is a combination of user interface elements and fixed and computed text and images. The scripting code is reactive to user interaction and there is no need for a main program.
A web server provides a different host environment for server-side computation including objects representing requests, clients, and files, and mechanisms to lock and share data. By using browser-side and server side scripting together it is possible to distribute computation between the client and server while providing a customized user interface for a Web-based application.
Each Web browser and server that supports JosECMAScript supplies its own host environment, completing the JosECMAScript execution environment.
See http://www.el-mundo.es/internet/ecmascript.html