|
XPCOM (Cross Platform Component Object Model) occurs as elementary, cross platform component model similar to CORBA or Microsoft COM. It has multiple language bindings & IDL descriptions so software engineer might plug their customised functionality into a framework & attach it by owning more components.
The Model
These are one of a independent items that makes a Mozilla application environment an actual framework. These are a development environment that will bring the resulting features for the cross-platform software package creator:
Component management
File abstraction
Object message passing
Memory management
This component object model makes most of the functionality of Gecko available as a series of components, or recyclable cross-platform libraries, that can be accessed from either a web browser or scripted from either any Mozilla application. Applications that obviously access a various Mozilla XPCOM libraries (networking, security, DOM, etc.) use a favorite layer of XPCOM known as XPConnect, which reflects the library interfaces into JavaScript (or more languages). XPConnect glues the forepart to the C++-based components within XPCOM, & it may be touch include scripting trend lines for more languages: PyXPCOM already offers trend lines for Python, PerlConnect provides trend lines for Perl, and there are efforts underway to add .NET and Ruby language support for XPConnect.
in the creator even side, XPCOM lets that you to write components inside C++, JavaScript, Python, or more languages for which favorite bindings own been created, & compile & start victims components on xii of different platforms, including these & others in which Mozilla itself is supported.
A flexibility to reuse a XPCOM components from either a Gecko library & get freshly components that redo in different platforms facilitates rapid application development & results around an application that is further productive and more easygoing to maintain. A networking library, e.g., occurs as placed of XPCOM components that may be accessed & utilized by any Mozilla application. File I/O, security, watchword management, & profiles come besides separate XPCOM components that coder could have in their have application development.
Future development
An initiative called XULRunner attempted to split XPCOM components from Mozilla itself. the objective is to turn Mozilla into a cross-platform development environment corresponding to it of Java or .NET.
|