16.1. Concepts and Terms

Mozilla's collection of XPCOM components is large and a world of its own. To write scripts effectively, pick up some of the established jargon used at the scripting level.

16.1.1. Reading Others' Code: Naming Conventions

Mozilla is a huge piece of software, and regular exploration of features is commonplace. Most Mozilla code and documentation have a particular style that is worth becoming accustomed to. That style appears in the following sources:

  • The XPIDL definition files that define the existing XPCOM interfaces. These interfaces are help files that you can't do without.

  • The numerous at-work examples that can be found in the chrome of a built Mozilla application.

  • Less importantly, the C/C++ source code of the platform. ...

Get Rapid Application Development with Mozilla™ now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.