XPConnect - Object Connection

Object Connection

XPConnect allows JavaScript objects to transparently access and manipulate XPCOM objects. It also enables JavaScript objects to present XPCOM compliant interfaces to be called by XPCOM objects. A main goal is that objects communicating from either side of an XPCOM style interface should not generally need to know or care about the implementation language of the object on the other side of the interface.

XPConnect's primary reason for existence is to replace handwritten code used in places where native code needs to interact with JavaScript code. An example is the DOM module.

Read more about this topic:  XPConnect

Famous quotes containing the words object and/or connection:

    The peculiarity of sculpture is that it creates a three-dimensional object in space. Painting may strive to give on a two-dimensional plane, the illusion of space, but it is space itself as a perceived quantity that becomes the peculiar concern of the sculptor. We may say that for the painter space is a luxury; for the sculptor it is a necessity.
    Sir Herbert Read (1893–1968)

    The virtue of art lies in detachment, in sequestering one object from the embarrassing variety. Until one thing comes out from the connection of things, there can be enjoyment, contemplation, but no thought.
    Ralph Waldo Emerson (1803–1882)