Xpcom

XPCOM (Cross Platform Component Object Model) is a simple, cross platform component model similar to CORBA or Microsoft COM. It has multiple language bindings and IDL descriptions so programmers can plug their custom functionality into the framework and connect it with other components.

The Model

It is one of the main things that makes the Mozilla application environment an actual framework. It is a development environment that provides the following features for the cross-platform software developer: This component object model makes virtually all of the functionality of Gecko available as a series of components, or reusable cross-platform libraries, that can be accessed from the web browser or scripted from any Mozilla application. Applications that want to access the various Mozilla XPCOM libraries (networking, security, DOM, etc.) use a special layer of XPCOM called XPConnect, which reflects the library interfaces into JavaScript (or other languages). XPConnect glues the front end to the C++-based components in XPCOM, and it can be extended to include scripting support for other languages: PyXPCOM already offers support for Python, and there are efforts underway to add Perl and Ruby language support for XPConnect. On the developer side, XPCOM lets you to write components in C++, JavaScript, Python, or other languages for which special bindings have been created, and compile and run those components on dozens of different platforms, including these and others where Mozilla itself is supported. The flexibility to reuse the XPCOM components from the Gecko library and develop new components that run on different platforms can facilities rapid application development and resulting in an application that is more productive and easier to maintain. The networking library, for example, is a set of XPCOM components that can be accessed and used by any Mozilla application. File I/O, security, password management, and profiles are also separate XPCOM components that programmers can use in their own application development.

Future development

An initiative known as XULRunner attempted to split XPCOM components from Mozilla itself. The objective is to turn Mozilla into a cross-platform development environment comparable to that of Java or .NET.

References

See also

External links

 

<< PreviousWord BrowserNext >>
san sebastin
apollo moon landing hoax accusations
uthman ibn affan
driving
uthman
division by two
umar
umar ibn al khattab
teleology
rf modulator
softball
curling at the 2002 winter olympics
scart
peasant multiplication
le figaro
lauderdale county, alabama
lawrence county, alabama
sheldonian theatre
kurdistan
lee county, alabama
limestone county, alabama
ariane 4
lowndes county, alabama
macon county, alabama
madison county, alabama
flight simulator
marengo county, alabama
marion county, alabama
francis marion
rhne river
rhne (dpartement)
chip ram
marshall county, alabama
mobile county, alabama
calvados (spirit)
breadboard
2076
real oviedo
new jersey state highway 18
thoroughbred
concurrency
new jersey state highway 28
beryl bainbridge
planar