did-you-know? rent-now

Amazon no longer offers textbook rentals. We do!

did-you-know? rent-now

Amazon no longer offers textbook rentals. We do!

We're the #1 textbook rental company. Let us show you why.

9780131423435

Rapid Application Development with Mozilla

by
  • ISBN13:

    9780131423435

  • ISBN10:

    0131423436

  • Edition: 1st
  • Format: Paperback
  • Copyright: 2003-11-25
  • Publisher: Pearson
  • Purchase Benefits
  • Free Shipping Icon Free Shipping On Orders Over $35!
    Your order must be $35 or more to qualify for free economy shipping. Bulk sales, PO's, Marketplace items, eBooks and apparel do not qualify for this offer.
  • eCampus.com Logo Get Rewarded for Ordering Your Textbooks! Enroll Now
List Price: $49.99

Summary

Rapid Application Development with Mozilla, part of the Bruce Perens Open Source Series, is a concise guide for any programmer who wants to learn the versatility and compatibility of Mozilla, an open source toolset with over a thousand objects and components. An additional feature of Rapid Application Development with Mozilla is the NoteTaker Web browser add-on-a sample Mozilla application that is developed throughout the book. Written by Web and XML expert Nigel McFarlane, this book is the perfect addition to the library of any user-interface software engineer, cross-platform developer, or any programmer looking to discover the benefits of rapid application development.

Author Biography

Nigel Mcfarlane is a science and technology writer, analyst, and programmer

Table of Contents

Acknowledgmentsp. xix
Welcome to Software Development the Mozilla Wayp. xxi
Fundamental Conceptsp. 1
Understanding Mozilla Product Namesp. 2
The XML Environmentp. 8
Platform Conceptsp. 11
The RAD Environmentp. 23
Effective RAD Projects with Mozillap. 25
Hands On: Cranking Up the Platformp. 27
Debug Corner: Debugging from Outsidep. 35
Summaryp. 39
XUL Layoutp. 41
XUL Means Boxesp. 43
Principles of XUL Layoutp. 44
Box Layout Tagsp. 54
A Box Improvement: [left angle bracket]groupbox[right angle bracket] and [left angle bracket]caption[right angle bracket]p. 64
General-Purpose XUL Attributesp. 65
Good Coding Practices for XULp. 66
Style Optionsp. 69
Hands On: NoteTaker Boilerplatep. 71
Debug Corner: Detecting Bad XULp. 75
Summaryp. 79
Static Contentp. 81
XUL and HTML Comparedp. 82
XUL Content Tagsp. 84
Understanding Font Systemsp. 89
Style Optionsp. 92
Hands On: NoteTaker Boilerplatep. 95
Debug Corner: The DOM Inspectorp. 99
Summaryp. 101
First Widgets and Themesp. 103
What Makes a Button a Button?p. 105
The Origins of XUL Widgetsp. 107
XUL Buttonsp. 109
Themes and Skinsp. 121
Style Optionsp. 129
Hands On: NoteTaker Buttons and Themesp. 130
Debug Corner: Diagnosing Buttons and Skinsp. 133
Summaryp. 135
Scriptingp. 137
JavaScript's Role as a Languagep. 139
Standards, Browsers, and [left angle bracket]script[right angle bracket]p. 140
ECMAScript Edition 3p. 141
Language Enhancementsp. 162
Mozilla's Scriptable Interfacesp. 164
Hands On: NoteTaker Dynamic Contentp. 186
Debug Corner: Script Diagnosisp. 193
Summaryp. 195
Eventsp. 197
How Mozilla Handles Eventsp. 199
How Keystrokes Workp. 217
How Mouse Gestures Workp. 223
Style Optionsp. 229
Hands On: NoteTaker User Inputp. 230
Debug Corner: Detecting Eventsp. 235
Summaryp. 236
Forms and Menusp. 239
XUL and HTML Forms Comparedp. 240
Where to Find Information on Menusp. 242
Formsp. 242
Menusp. 250
Style Optionsp. 256
Hands On: NoteTaker Events and Formsp. 258
Debug Corner: Diagnosing Events and Formsp. 261
Summaryp. 263
Navigationp. 265
Navigation Systemsp. 266
Navigation Widgetsp. 270
Style Optionsp. 289
Hands On: NoteTaker Toolbars and Tabsp. 289
Debug Corner: Navigation Problemsp. 292
Summaryp. 293
Commandsp. 295
Commands and Mozillap. 296
Command Conceptsp. 298
How Commands Are Startedp. 305
Using Commands Via XULp. 307
Using Commands Via the AOMp. 310
Commands and XPCOM Componentsp. 314
Existing Commandsp. 316
Style Optionsp. 317
Hands On: Command Designp. 317
Debug Corner: Catching Unexpected Commandsp. 322
Summaryp. 323
Windows and Panesp. 325
Ordinary [left angle bracket]window[right angle bracket] Windowsp. 326
Popup Contentp. 327
Dialog Boxesp. 329
JavaScript Window Creationp. 332
Embedding Documents in Panesp. 340
Mixing Documentsp. 344
Managing Existing Windowsp. 346
Style Optionsp. 347
Hands On: NoteTaker Dialogsp. 349
Debug Corner: Diagnostic Windowsp. 357
Summaryp. 359
RDFp. 361
Mozilla Uses of RDFp. 364
Learning Strategies for RDFp. 365
A Tutorial on Factsp. 366
RDF Syntaxp. 379
RDF Examplesp. 393
Hands On: NoteTaker: Data Modelsp. 398
Debug Corner: Dumping RDFp. 407
Summaryp. 408
Overlays and Chromep. 411
Overlaysp. 413
The Chrome Registryp. 424
Persisting Window Statep. 428
Related AOM and XPCOM Objectsp. 429
Hands On: The NoteTaker Toolbarp. 429
Debug Corner: Overlay Tipsp. 432
Summaryp. 433
Listboxes and Treesp. 435
Text Gridsp. 436
Listboxesp. 438
Treesp. 449
Style Optionsp. 468
Hands On: NoteTaker: The Keywords Panelp. 473
Debug Corner: Making [left angle bracket]listbox[right angle bracket] and [left angle bracket]tree[right angle bracket] Workp. 493
Summaryp. 494
Templatesp. 497
An Example Template: Hello, Worldp. 499
Template Conceptsp. 501
Template Constructionp. 517
Common Query Patternsp. 534
Template Lifecyclep. 539
Scriptingp. 541
Style Optionsp. 546
Hands On: NoteTaker Data Made Livep. 546
Debug Corner: Template Survival Guidep. 559
Summaryp. 561
XBL Bindingsp. 563
Binding Conceptsp. 565
Constructing One XBL Bindingp. 572
Combining Multiple Bindingsp. 591
How Bindings Are Processedp. 594
Scriptingp. 595
Style Optionsp. 598
Hands On: The [left angle bracket]noteplacer[right angle bracket] Tagp. 598
Debug Corner: XBL Diagnosisp. 614
Summaryp. 615
XPCOM Objectsp. 617
Concepts and Termsp. 619
General-Purpose Scriptingp. 623
Data Transferp. 638
Web Scriptingp. 652
Platform Configurationp. 662
Hands On: Saving and Loading NoteTaker Notesp. 677
Debug Corner: Working with Data Sourcesp. 700
Summaryp. 703
Deploymentp. 705
Overview of Install Strategiesp. 707
Steps Toward Remote Deploymentp. 712
Install Technologiesp. 725
Hands On: Bundling Up NoteTakerp. 744
Debug Corner: Logging and Testingp. 751
Summaryp. 752
Indexp. 753
About the Authorp. 771
Table of Contents provided by Ingram. All Rights Reserved.

Supplemental Materials

What is included with this book?

The New copy of this book will include any supplemental materials advertised. Please check the title of the book to determine if it should include any access cards, study guides, lab manuals, CDs, etc.

The Used, Rental and eBook copies of this book are not guaranteed to include any supplemental materials. Typically, only the book itself is included. This is true even if the title states it includes any access cards, study guides, lab manuals, CDs, etc.

Excerpts

IntroductionWelcome to Software Development the Mozilla WayThe Mozilla Platform is a large software development tool that is a modern blend of XML document processing, scripting languages, and software objects. It is used to create interactive, user-focused applications. This book is a conceptual overview, reference, and tutorial on the use of the platform for building such applications.The Mozilla Platform encourages a particular style of software development: rapid application development (RAD). RAD occurs when programmers base their applications-to-be on a powerful development tool that contains much pre-existing functionality. With such a tool, a great deal can be done very quickly. The Mozilla Platform is such a tool.One strategy for doing RAD is to make sophisticated HTML pages and display them in a Web browser. This book does not explain HTML, nor does it show how to create such pages. It has very little to do with HTML. Instead, it shows how to create applications that require no browser, and that might appear to be nothing like a Web browser. Such applications might be Web-enabled, benefiting from the advantages that Web browsers have, or they might have nothing to do with the Web at all.Because Mozilla is closely linked to the Web in people's minds, this last point cannot be emphasized enough. The Mozilla Platform is far more than a browser. Here are some statistics: Mozilla contains well over 1,000 object types and well over 1,000 interfaces. It is highly standards compliant, supporting many standards from bodies such as the W3C, IETF, and ECMA. These bodies are, respectively, the World Wide Web Consortium, the Internet Engineering Task Force, and the European Computer Manufacturers' Association. Mozilla is built on a very big source code base and is far larger than most Open Source projects. It is 30 times larger than the Apache Web Server, 20 times larger than the Java 1.0 JDK/JRE sources, 5 times bigger than the standard Perl distribution, twice as big as the Linux kernel source, and nearly as large as the whole GNOME 2.0 desktop source--even when 150 standard GNOME applications are included. As a result of the browser wars in the late 1990s, the platform has been heavily tested and is highly optimized and very portable. Not only have hundreds of Netscape employees and thousands of volunteers worked on it, but millions of end users who have adopted Mozilla-based products have scrutinized it as well.This extensive and tested set of features is a huge creative opportunity for any developer interested in building applications. These features also offer an opportunity for traditional Web developers to broaden their existing skills in a natural way.This book covers the Mozilla Platform up to version 1.4. Changes between minor versions (e.g., 1.3 and 1.4) are small enough that most of this book will be correct for some time. Useful KnowledgeSome experience is required when reading this book. Some familiarity with Web standards is assumed. This list of skills is more than enough preparation: A little HTML or XHTML A little XML A little JavaScript, or another scripting language, or one of the C languages (C, C++, C#, Java, IDL) A little CSS2 A little Web page development A little SQL A little experience working with objects The pleasure of having read the W3C's DOM 2 Core standard at least onceAll the standards for these technologies, except SQL and JavaScript, are available at .To read this book with very little effort, add these skills: a little Dynamic HTML; a little Prolog; more experience with an object-brokering system like COM or CORBA; additional experience with another RAD tool like a 4GL or a GUI Designer; and more SQL experience.It is common for advanced Mozilla programmers to

Rewards Program