Visit Mozilla.org

XPCOM

z Mozilla Developer Center, polskiego centrum programistów Mozilli.

UWAGA: Tłumaczenie tej strony nie zostało zakończone.
Może być ona niekompletna lub wymagać korekty.
Chcesz pomóc? | Dokończ tłumaczenie | Sprawdź ortografię | Więcej takich stron...

Wprowadzenie do XPCOM

Pięcio częściowy przewodnik IBM developerWorks: Cz. I, Cz. II, Cz. III, Cz. IV, Cz. V

XPCOM is a cross platform component object model, similar to Microsoft COM. It has multiple Oprawa języka, letting the XPCOM components be used and implemented in JavaScript, Java, and Python in addition to C++. Interfaces in XPCOM are defined in a dialect of IDL called XPIDL.

XPCOM itself provides a set of core components and classes, e.g. file and memory management, threads, basic data structures (strings, arrays, variants), etc. The majority of XPCOM components is not part of this core set and is provided by other parts of the platform (e.g. Gecko or Necko) or by an application or even by an extension.


Dokumentacja

Podstawowa dokumentacja XPCOM

XPCOM API Reference
Documentation of core components, interfaces, and functions provided by XPCOM.
String, hashtable, and array guides
Using the basic data structures.
XPCOM Glue
The XPCOM Glue allows using XPCOM utility functions and classes, without having a dependency on unfrozen parts of XPCOM (xpcom_core.{dll,so,dylib}).

Tworzenie komponentów XPCOM

Creating XPCOM Components
This book provides a tutorial about building an XPCOM component that controls browsing behavior.
How to Build an XPCOM Component in Javascript
Quick-start guide for writing JavaScript components

Różne

Using XPCOM in JavaScript without leaking
Using XPCOM in JavaScript (also known as XPConnect) is an environment where memory management issues are not obvious. Despite this, it's easy to write JavaScript code that leaks, because some of the objects you're dealing with are reference-counted behind the scenes.

Pokaż wszystkie...

Społeczność

Narzędzia

JavaScript Component Wizard

Powiązane tematy

Oprawa języka, JavaXPCOM, XPConnect, PlXPCOM, PyXPCOM, RbXPCOM, JavaScript