Changes

Jump to: navigation, search

Gecko

No change in size, 22:37, 5 October 2006
When would one want to use Gecko?
Detailed information, tutorials, examples and frequently asked questions relating to getting started with Gecko and embedding it within applications can be found within the [http://developer.mozilla.org/en/docs/Embedding_Mozilla Embedding Mozilla] section of the [http://developer.mozilla.org/ Mozilla Development Center]
=How does it work?=
Gecko uses the Document Object Model (DOM) which provides a set of interfaces (available for both C/C++ and JavaScript) implemented by the NGLayout content model allowing for the insertion, deletion and modification of HTML content. These interfaces can be accessed by programmers via the Cross Platform Component Object Model (XPCOM). XPCOM allows for the modularization of large projects into into smaller manageable pieces called components as well as for the creation of interfaces (IDL's via XPIDL).
The Gecko parser provides the first steps required for the browser to display web pages. Despite being optimized to parse HTML the parser use is not limited to this type of data.
The parsing engine transforms a source document from one form into another. In the case of HTML, it transforms the hierarchy of HTML tags (the source form) into a form that the underlying layout and display engine requires (the target form).
=Contributors=
1
edit

Navigation menu