Creating Applications with Mozilla

Table Of Contents


Preface

Chapter 1. Mozilla as Platform

Visualizing Mozilla's Front End

XPFE Framework

Comparing XPFE and DHTML

Components of a Mozilla Application

Setting Up Your System

Mozilla Applications

Applications as Web Pages

Chapter 2. Getting Started

Simple XUL Example

Basic XUL Concepts

The XUL File Format

Conventions

The XUL Namespace

Basic XUL Layout

Using XUL Windows

Window features

Window properties

Interaction between windows

Window behavior

Making Mozilla Work for You

Importing Resources from Mozilla

Loading stylesheets

Accessing script in XUL

Displaying XUL Files as Chrome

Creating a Package

Architecture of a Chrome Package

Package Components

Chrome content

Chrome appearance

Chrome behavior

Chrome locale

Directory Structure

The xFly application directory structure

Package Manifests

Separating the Files

The xFly CSS file

The xFly script file

The xFly DTD

Registering a Package

Launching the Application

Windows launch

Unix launch

Macintosh launch

Chapter 3. XUL Elements and Features

Chapter 4. CSS in Mozilla Applications

Chapter 5. Scripting Mozilla

Chapter 6. Packaging and Installing Applications

Chapter 7. Extending the UI with XBL

Chapter 8. XPCOM

Chapter 9. XUL Templates

Chapter 10. RDF, RDF Tools and the Content Model

Chapter 11. Localization

Chapter 12. Remote Applications

Appendix A. Getting and Building Mozilla Source

Appendix B. Development Tools

Appendix C. Programmers Reference