mozilla

Revision 108735 of Gecko Embedding Basics

  • Revision slug: Gecko/Gecko_Embedding_Basics
  • Revision title: Gecko Embedding Basics
  • Revision id: 108735
  • Created:
  • Creator: Anguis
  • Is current revision? No
  • Comment

Revision Content

Note: This document is in the process of being migrated. If you would like to help with this migration, please migrate from here.

Given the ever-growing importance of the Web as a source of information, entertainment, and personal connectedness, the ability to access and view data stored in HTML format is becoming more and more important for a wide variety of otherwise highly divergent software applications. Whether it's a matter of a simple HTML page viewer or of a full-fledged web browser, the ability to parse and render HTML-based documents is an increasingly significant function in many, many situations. For the application developer, the problem becomes how to implement this crucial functionality in a way that minimizes development time yet results in an agile and robust product. Embedding Gecko, the rendering engine at the heart of the Netscape and Mozilla browsers, is an outstanding solution to this problem.

Why Gecko

What You Need to Embed

Getting the Code

Understanding the Coding Environment

XPCOM

XPIDL

XPConnect and XPT files

String classes

XUL/XBL

Choosing Additional Functionalities

What Gecko Provides

What You Provide

Common Embedding Tasks

Resources

Appendix: Data Flow Inside Gecko

Revision Source

<div class="note"><b>Note</b>: This document is in the process of being migrated.  If you would like to help with this migration, please migrate from <a class="external" href="http://www.mozilla.org/projects/embedding/embedoverview/EmbeddingBasicsTOC.html">here</a>.
</div>
<p>Given the ever-growing importance of the Web as a source of information, entertainment, and personal connectedness, the ability to access and view data stored in HTML format is becoming more and more important for a wide variety of otherwise highly divergent software applications. Whether it's a matter of a simple HTML page viewer or of a full-fledged web browser, the ability to parse and render HTML-based documents is an increasingly significant function in many, many situations. For the application developer, the problem becomes how to implement this crucial functionality in a way that minimizes development time yet results in an agile and robust product. Embedding Gecko, the rendering engine at the heart of the Netscape and Mozilla browsers, is an outstanding solution to this problem.
</p>
<h2 name="Why_Gecko"> Why Gecko </h2>
<h2 name="What_You_Need_to_Embed"> What You Need to Embed </h2>
<h3 name="Getting_the_Code"> Getting the Code </h3>
<h3 name="Understanding_the_Coding_Environment"> Understanding the Coding Environment </h3>
<h4 name="XPCOM"> XPCOM </h4>
<h4 name="XPIDL"> XPIDL </h4>
<h4 name="XPConnect_and_XPT_files"> XPConnect and XPT files </h4>
<h4 name="String_classes"> String classes </h4>
<h4 name="XUL.2FXBL"> XUL/XBL </h4>
<h3 name="Choosing_Additional_Functionalities"> Choosing Additional Functionalities </h3>
<h2 name="What_Gecko_Provides"> What Gecko Provides </h2>
<h2 name="What_You_Provide"> What You Provide </h2>
<h2 name="Common_Embedding_Tasks"> Common Embedding Tasks </h2>
<h2 name="Resources"> Resources </h2>
<h2 name="Appendix:_Data_Flow_Inside_Gecko"> Appendix: Data Flow Inside Gecko </h2>
Revert to this revision