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
Creating Applications with Mozilla
✍ Scribed by David Boswell, Brian King, Ian Oeschger, Pete Collins, Eric Murphy
- Publisher
- O'Reilly Media
- Year
- 2002
- Tongue
- English
- Leaves
- 605
- Edition
- 1
- Category
- Library
No coin nor oath required. For personal study only.
✦ Synopsis
Mozilla is not just a browser. Mozilla is also a framework that allows developers to create cross-platform applications. 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. 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.
✦ Table of Contents
mozdev.org......Page 0
Creating Applications with Mozilla......Page 1
Copyright......Page 18
Preface......Page 19
The State of Mozilla......Page 21
Who Should Read This Book......Page 22
Platform and Applications......Page 23
Structure of the Book......Page 24
How This Book Was Written......Page 26
Mozilla Licensing Information......Page 27
Conventions......Page 28
Comments and Questions......Page 30
Acknowledgments......Page 31
Mozilla as Platform......Page 32
Setting Up Your System......Page 37
Mozilla Applications......Page 38
Getting Started......Page 41
Basic XUL Concepts......Page 43
Making Mozilla Work for You......Page 51
Displaying XUL Files as Chrome......Page 54
Creating a Package......Page 56
Launching the Application......Page 67
XUL Elements and Features......Page 70
Application Windows......Page 72
Application Widgets......Page 76
Tabular and Hierarchical Information......Page 81
Words and Pictures......Page 88
Form Controls......Page 92
Widget Interaction......Page 97
Content Panels......Page 100
The Box Model......Page 103
XUL Attributes......Page 111
Overlays......Page 113
The Extras......Page 116
Building the Application Shell......Page 119
CSS in Mozilla Applications......Page 122
Introduction to CSS in Mozilla......Page 127
Mozilla Skins......Page 137
Creating New Skins......Page 145
What Is Possible in a Skin?......Page 150
Scripting Mozilla......Page 154
JavaScript and the DOM......Page 156
Adding Scripts to the UI......Page 165
XPConnect and Scriptable Components......Page 174
JavaScript Application Code......Page 178
Packaging and Installing Applications......Page 185
Packaging Mozilla Applications......Page 188
Installing Mozilla Applications......Page 195
Finishing Things Up......Page 208
Extra Tricks for Customizing an Application......Page 211
Extending the UI with XBL......Page 214
Anatomy of a Binding......Page 219
Adding Behavior to Bindings......Page 224
XBL and the DOM......Page 229
Inheritance......Page 236
Event Handling......Page 240
Resources for Bindings......Page 242
XPCOM......Page 244
Creating XPCOM Components......Page 253
XUL Templates......Page 280
Enhancing XUL Templates......Page 287
Using Other XUL Tags for Templates......Page 298
RDF, RDF Tools, and the Content Model......Page 300
The Mozilla Content Model......Page 313
RDF Components and Interfaces......Page 317
Template Dynamics......Page 331
JSLib RDF Files......Page 334
Manifests......Page 338
Localization......Page 341
DTD Entities......Page 346
String Bundles......Page 350
Programming and Localization......Page 354
The Chrome Registry and Locale......Page 360
Localization Issues......Page 366
Remote Applications......Page 368
Basic Remote Application Example......Page 370
Setting Up XPFE for Remote Applications......Page 373
Generated Content......Page 375
Certificate Authorities and Digital Signatures......Page 381
Creating Signed Remote Applications......Page 389
Expanded Privileges in Mozilla......Page 393
Signed Remote Snake Game......Page 396
Mozilla's XML Extras and SOAP......Page 400
Looking Forward......Page 406
Getting and Building the Mozilla Source......Page 407
Building the Source Code......Page 411
Development Tools......Page 417
Patch Maker 2.0......Page 423
The DOM Inspector......Page 427
The Component Viewer......Page 429
Venkman: The JavaScript Debugger......Page 432
MozillaTranslator......Page 436
Missing Parts......Page 438
Programmer's Reference......Page 440
action......Page 446
arrowscrollbox......Page 447
autorepeatbutton......Page 448
binding......Page 449
bindings......Page 450
box......Page 451
broadcaster......Page 452
broadcasterset......Page 453
browser......Page 454
button......Page 455
caption......Page 456
checkbox......Page 457
colorpicker......Page 458
column......Page 459
columns......Page 460
command......Page 461
commands......Page 462
commandset......Page 463
conditions......Page 464
content......Page 465
deck......Page 466
description......Page 467
dialog......Page 468
dialogheader......Page 469
editor......Page 470
grid......Page 471
grippy......Page 472
groupbox......Page 473
hbox......Page 474
iframe......Page 475
image......Page 476
key......Page 477
keybinding......Page 478
keyset......Page 479
label......Page 480
listbox......Page 481
listcell......Page 482
listcol......Page 483
listcols......Page 484
listhead......Page 485
listheader......Page 486
listitem......Page 487
member......Page 488
menu......Page 489
menubar......Page 490
menuitem......Page 491
menulist......Page 492
menupopup......Page 493
menuseparator......Page 494
observes......Page 495
overlay......Page 496
page......Page 497
popup......Page 498
popupset......Page 499
progressmeter......Page 500
radio......Page 501
radiogroup......Page 502
resizer......Page 503
row......Page 504
rows......Page 505
rule......Page 506
script......Page 507
scrollbar......Page 508
scrollbarbutton......Page 509
scrollbox......Page 510
separator......Page 511
slider......Page 512
spacer......Page 513
splitter......Page 514
stack......Page 515
statusbar......Page 516
statusbarpanel......Page 517
stringbundle......Page 518
stringbundleset......Page 519
tab......Page 520
tabbox......Page 521
tabbrowser......Page 522
tabpanel......Page 523
tabpanels......Page 524
tabs......Page 525
template......Page 526
textbox......Page 527
thumb......Page 528
toolbar......Page 529
toolbarbutton......Page 530
toolbarseparator......Page 531
toolbox......Page 532
tooltip......Page 533
tree......Page 534
treecell......Page 535
treechildren......Page 536
treecol......Page 537
treecols......Page 538
treeitem......Page 539
treerow......Page 540
triple......Page 541
vbox......Page 542
window......Page 543
wizard......Page 544
wizardpage......Page 545
XBL Element Set......Page 546
binding......Page 547
bindings......Page 548
body......Page 549
children......Page 550
constructor......Page 551
content......Page 552
destructor......Page 553
element......Page 554
field......Page 555
getter......Page 556
handler......Page 557
handlers......Page 558
image......Page 559
implementation......Page 560
method......Page 561
parameter......Page 562
property......Page 563
resources......Page 564
setter......Page 565
stylesheet......Page 566
Event Attributes......Page 567
onblur......Page 569
onbroadcast......Page 570
onchange......Page 571
onclick......Page 572
onclose......Page 573
oncommand......Page 574
oncommandupdate......Page 575
oncontextmenu......Page 576
oncreate......Page 577
ondblclick......Page 578
ondestroy......Page 579
ondragdrop......Page 580
ondragenter......Page 581
ondragexit......Page 582
ondraggesture......Page 583
ondragover......Page 584
onfocus......Page 585
oninput......Page 586
onkeydown......Page 587
onkeypress......Page 588
onkeyup......Page 589
onload......Page 590
onmousedown......Page 591
onmousemove......Page 592
onmouseout......Page 593
onmouseover......Page 594
onmouseup......Page 595
onoverflow......Page 596
onoverflowchanged......Page 597
onpopuphidden......Page 598
onpopuphiding......Page 599
onpopupshowing......Page 600
onpopupshown......Page 601
onselect......Page 602
onunderflow......Page 603
onunload......Page 604
Colophon......Page 605
✦ Subjects
Библиотека;Компьютерная литература;
📜 SIMILAR VOLUMES
В этой книге описано создание приложений на основе мощного кроссплатформенного движка Mozilla. В неё включены примеры уже существуюших приложений, призванные проиллюстировать возможности разработки для Mozilla.
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 Applicati
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 Applicati
<p>The release of MIDP 2.0 and the introduction of the new Mobile Service Architecture (MSA) are generating momentum for the Java ME platform. As more and more Java-enabled mobile devices become available and more service providers become open to third-party development, the demand for customized ap