TOC PREV NEXT INDEX




Scripter


The scripter is the module that provides the "glue" between the HTML 4 pilot and the ICEbrowser core. The JavaScript Scripter interprets JavaScript commands to provide dynamic HTML rendering capabilities.

For custom applications, the architecture can accommodate any scripting language with a Java interface (Jython, for example). You can add a scripting module and embed scripting commands for that language in Web pages.

The pilot exposes its capabilities to the scripter through a script driver, allowing scripts written for the scripter to control various parts of the pilot, such as a different window. For example, the HTML 4 pilot exposes the DOM representation to JavaScript.

ECMAScript (JavaScript) Scripter

The ECMAScript (JavaScript) scripter provides a bridge to the actual scripting language implementation. It encapsulates any script commands found in <SCRIPT> ... </SCRIPT> tags and evaluates them using the actual scripting language implementation.

The scripting language implementation is Rhino from the Mozilla Organization. This implementation is compliant with JavaScript 1.5. It is freely available from http://www.mozilla.org/rhino.

The ECMAScript scripter includes JavaScript APIs for typical browser functions, including DOM access, Navigator, and Window objects.



Copyright 2005. ICEsoft Technologies, Inc.
http://www.icesoft.com

TOC PREV NEXT INDEX