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:
ActiveX
LiveConnect
AppleEvents
Signals
BSD Sockets
Call-backs from plugins
See also: | ActiveX, ECMAScript, Host environment, LiveConnect, Plugin object |
Prev | Home | Next |
Glow() | Up | Gotcha |
JavaScript Programmer's Reference, Cliff Wootton Wrox Press (www.wrox.com) Join the Wrox JavaScript forum at p2p.wrox.com Please report problems to support@wrox.com © 2001 Wrox Press. All Rights Reserved. Terms and conditions. |