Glue code (Definition)

Supporting code to integrate JavaScript with the environment.

This so called glue code is that which provides a conduit for signals to be sent between different parts of the hosting environment. Most likely as far as JavaScript is concerned, this would be a mechanism for transmitting events to the interpreter so that a particular handler function can be activated.

There are many proprietary names for these mechanisms, but fundamentally, they all do the same job, which is to connect the script to the environment. Here are some examples of enabling technologies that may be involved to a greater or lesser extent in some platforms:

See also:ActiveX, ECMAScript, Host environment, LiveConnect, Plugin object


Wrox Instant JavaScript - page - 12