Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Buy Now $47.99
Standard view
Full view
of .
Look up keyword or section
Like this
4Activity

Table Of Contents

Mozilla to Firefox and Thunderbird
XML Technologies
At the Top of It All: The DOM
Mixing Document Types
• Geography Markup Language (GML)
• Chemical Markup Language (CML)
Getting Started
Chapter 2
CHAPTER 2
XUL Basics 2
File Structure
XUL Widgets
Introducing Input Controls
More Complex Containers
Managing the Display Space
Content Display Panels
Miscellaneous Widgets
Helper Features
Mozilla Style Declarations
Summary
Chapter 3
CHAPTER 3
Coding and Testing for the Real World3
Defining a Target Application
Adding Logic
Dynamic assignment of attributes
Dynamic addition of event listeners
Simple Authentication Script
XUL Input Widgets
When Things Don’t Work
The JavaScript console
Programming and Design Errors
The DOM Inspector tool
Chapter 4
CHAPTER 4
Configuring for Chrome and a Server4
Chrome Overview
Running as a Local Installation
Package Registration
XUL-to-Server Communications
The Client/Server Protocol
The client-side request
The server-side response
Connecting PHP to MySQL
XUL Windows and Content Type
Operating system caveats
Adding Dialog Windows
Trees
Modifying Datasources
Modifying containers
Removing resources and containers
Chapter 7
CHAPTER 7
DOM Manipulation and Input/Output7
A Design Review
Browser Elements
Properties and Native Wrappers
Moving Text Between Frames
Adding Interactivity to DOM Elements
Chapter 8
CHAPTER 8
Graphics 8
A Sample Graphing Project
XHTML Review
File type and content type
SVG Overview
Appearance Properties
Data-to-Graphics Transformation
HTML Canvas
Chapter 9
CHAPTER 9
Extending the Interface9
Overlay Files
HTTP Request Widget
XForms Validation Features
XForms Events and Actions
XForms Actions
User Interaction and Dynamic Presentation
Dynamic Insertion and Removal of Entries
What to Do When Things Go Wrong
Chapter 11
CHAPTER 11
Installation and Deployment 11
Deploying Standalone Applications
Deploying Themes and Skins
Adding Locales
Deploying Extensions
Filesystem implementation
Deploying the Extension
Integration Problems
Chapter 12
CHAPTER 12
XUL Widget Reference12
Browser Package Files
Developer Reference
Component Interfaces
voidaddItemToSelection(innsIDOMXULSelectControlItemElementitem)
Adds the item to the selection
voidremoveItemFromSelection(innsIDOMXULSelectControlItemElementitem)
Removes the item from the selection
voidtoggleItemSelection(innsIDOMXULSelectControlItemElementitem)
Toggles the state of an item within the list
Inverts the selection of all items
Clears all selections
nsIDOMXULSelectControlElement
widget_element (the XUL tag used for an interface element)
Common attributes, properties, and methods
disableKeyNavigation
markupDocumentViewer
nsIStringBundlestringBundle
nsIWebBrowserFindwebBrowserFind
nsIWebNavigationwebNavigation
Index
P. 1
Programming Firefox: Building Rich Internet Applications with XUL

Programming Firefox: Building Rich Internet Applications with XUL

Ratings:

4.0

(1)
|Views: 1,095|Likes:

This is your guide to building Internet applications and user interfaces with the Mozilla component framework, which is best known for the Firefox web browser and Thunderbird email client. Programming Firefox demonstrates how to use the XML User Interface Language (XUL) with open source tools in the framework's Cross-Platform Component (XPCOM) library to develop a variety of projects, such as commercial web applications and Firefox extensions.

This book serves as both a programmer's reference and an in-depth tutorial, so not only do you get a comprehensive look at XUL's capabilities--from simple interface design to complex, multitier applications with real-time operations--but you also learn how to build a complete working application with XUL. If you're coming from a Java or .NET environment, you'll be amazed at how quickly large-scale applications can be constructed with XPCOM and XUL.

Topics in Programming Firefox include:

An overview of Firefox technology An introduction to the graphical elements that compose a XUL application Firefox development tools and the process used to design and build applications Managing an application with multiple content areas Introduction to Resource Description Files, and how the Firefox interface renders RDF Manipulating XHTML with JavaScript Displaying documents using the Scalable Vector Graphics standard and HTML Canvas The XML Binding Language and interface overlays to extend Firefox Implementing the next-generation forms interface through XForms Programming Firefox is ideal for the designer or developer charged with delivering innovative standards-based Internet applications, whether they're web server applications or Internet-enabled desktop applications. It's not just a how-to book, but a what-if exploration that encourages you to push the envelope of the Internet experience.

This is your guide to building Internet applications and user interfaces with the Mozilla component framework, which is best known for the Firefox web browser and Thunderbird email client. Programming Firefox demonstrates how to use the XML User Interface Language (XUL) with open source tools in the framework's Cross-Platform Component (XPCOM) library to develop a variety of projects, such as commercial web applications and Firefox extensions.

This book serves as both a programmer's reference and an in-depth tutorial, so not only do you get a comprehensive look at XUL's capabilities--from simple interface design to complex, multitier applications with real-time operations--but you also learn how to build a complete working application with XUL. If you're coming from a Java or .NET environment, you'll be amazed at how quickly large-scale applications can be constructed with XPCOM and XUL.

Topics in Programming Firefox include:

An overview of Firefox technology An introduction to the graphical elements that compose a XUL application Firefox development tools and the process used to design and build applications Managing an application with multiple content areas Introduction to Resource Description Files, and how the Firefox interface renders RDF Manipulating XHTML with JavaScript Displaying documents using the Scalable Vector Graphics standard and HTML Canvas The XML Binding Language and interface overlays to extend Firefox Implementing the next-generation forms interface through XForms Programming Firefox is ideal for the designer or developer charged with delivering innovative standards-based Internet applications, whether they're web server applications or Internet-enabled desktop applications. It's not just a how-to book, but a what-if exploration that encourages you to push the envelope of the Internet experience.

More info:

Publish date: Apr 25, 2007
Added to Scribd: May 16, 2009
Copyright:Traditional Copyright: All rights reservedISBN:9780596515263
List Price: $47.99 Buy Now

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
This book can be read on up to 6 mobile devices.
See more
See less

05/06/2015

513

9780596515263

$47.99

USD

You're Reading a Free Preview
Pages 21 to 113 are not shown in this preview.
You're Reading a Free Preview
Pages 134 to 168 are not shown in this preview.
You're Reading a Free Preview
Pages 189 to 248 are not shown in this preview.
You're Reading a Free Preview
Pages 269 to 343 are not shown in this preview.
You're Reading a Free Preview
Pages 364 to 513 are not shown in this preview.

Activity (4)

You've already reviewed this. Edit your review.
1 hundred reads
1 thousand reads
weberster liked this
Sucheta Luthra liked this

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->