Creating Applications with Mozilla
暫譯: 使用Mozilla創建應用程式

David Boswell, Brian King, Ian Oeschger, Pete Collins, Eric Murphy

  • 出版商: O'Reilly
  • 售價: $1,590
  • 貴賓價: 9.5$1,511
  • 語言: 英文
  • 頁數: 480
  • 裝訂: Paperback
  • ISBN: 0596000529
  • ISBN-13: 9780596000523
  • 已過版

買這商品的人也買了...

商品描述

Mozilla is not just a browser. Mozilla is also a framework that allows developers to create cross-platform applications. This framework is made up of JavaScript, CSS (Cascading Style Sheets), and Mozilla's XUL (XML-based User-interface Language) as well as the Gecko rendering engine, XBL (eXtensible Binding Language), XPCOM (Mozilla's component model), and several other components.

Creating Applications with Mozilla explains how applications are created with Mozilla and provides step-by-step information about how you can create your own programs using Mozilla's powerful cross-platform development framework. This book also shows examples of many different types of existing applications to demonstrate some of the possibilities of Mozilla application development. One of Mozilla's biggest advantages for a developer is that Mozilla-based applications are cross-platform, meaning programs work the same on Windows as they do on Linux or the Mac OS.

Working through the book, you are introduced to the Mozilla development environment and after installing Mozilla, you quickly learn to create simple applications. After the initial satisfaction of developing your own portable applications, the book branches into topics on modular development and packaging your application. In order to build more complex applications, coverage of XUL, JavaScript, and CSS allow you to discover how to customize and build out your application shell. The second half of the book explores more advanced topics including UI enhancement, localization, and remote distribution.

Mozilla 1.0 was released on June 5th, 2002, after more than four years of development as an open source project. This book has been written so that all of the information and examples will work with this release and any of the 1.0.x maintenance releases. In addition to Netscape's Mozilla-based browsers (Netscape 6.x and 7.x), the Mozilla framework has been used to create other browsers such as Galeon and Chimera, and chat clients such as ChatZilla and JabberZilla. Developers have also used Mozilla to create games, development tools, browser enhancements, as well as all sorts of other types of applications.

Table of Contents

Preface

1. Mozilla as Platform

2. Getting Started

3. XUL Elements and Features

4. CSS in Mozilla Applications

5. Scripting Mozilla

6. Packaging and Installing Applications

7. Extending the UI with XBL

8. XPCOM

9. XUL Templates

10. RDF, RDF Tools, and the Content Model

11. Localization

12. Remote Applications

A. Getting and Building the Mozilla Source

B. Development Tools

C. Programmer's Reference

Index

商品描述(中文翻譯)

Mozilla 不僅僅是一個瀏覽器。Mozilla 也是一個框架,允許開發者創建跨平台應用程式。這個框架由 JavaScript、CSS(層疊樣式表)和 Mozilla 的 XUL(基於 XML 的用戶介面語言)組成,還包括 Gecko 渲染引擎、XBL(可擴展綁定語言)、XPCOM(Mozilla 的元件模型)以及其他幾個組件。《Creating Applications with Mozilla》解釋了如何使用 Mozilla 創建應用程式,並提供逐步的資訊,幫助你使用 Mozilla 強大的跨平台開發框架來創建自己的程式。這本書還展示了許多不同類型的現有應用程式範例,以展示 Mozilla 應用程式開發的一些可能性。對於開發者來說,Mozilla 最大的優勢之一是基於 Mozilla 的應用程式是跨平台的,這意味著程式在 Windows、Linux 或 Mac OS 上的運行方式相同。

在這本書中,你將接觸到 Mozilla 開發環境,安裝 Mozilla 後,你將快速學會創建簡單的應用程式。在開發自己的可攜式應用程式的初步滿足感之後,書中將延伸到模組化開發和應用程式打包的主題。為了構建更複雜的應用程式,書中涵蓋了 XUL、JavaScript 和 CSS,讓你發現如何自定義和擴展你的應用程式外殼。書的後半部分探討了更高級的主題,包括 UI 增強、本地化和遠端分發。

Mozilla 1.0 於 2002 年 6 月 5 日發布,經過四年多的開發作為一個開源專案。這本書的撰寫方式使得所有資訊和範例都能與此版本及任何 1.0.x 的維護版本一起使用。除了 Netscape 的基於 Mozilla 的瀏覽器(Netscape 6.x 和 7.x)外,Mozilla 框架還被用來創建其他瀏覽器,如 Galeon 和 Chimera,以及聊天客戶端,如 ChatZilla 和 JabberZilla。開發者還使用 Mozilla 創建遊戲、開發工具、瀏覽器增強功能,以及各種其他類型的應用程式。

目錄

前言

1. Mozilla 作為平台
2. 開始使用
3. XUL 元素和特性
4. Mozilla 應用程式中的 CSS
5. 腳本編寫 Mozilla
6. 應用程式的打包和安裝
7. 使用 XBL 擴展 UI
8. XPCOM
9. XUL 模板
10. RDF、RDF 工具和內容模型
11. 本地化
12. 遠端應用程式
A. 獲取和構建 Mozilla 源碼
B. 開發工具
C. 程式設計師參考
索引