Search
Go

Shop by category
 
Creating Applications with Mozilla
Email a friendView larger image

Creating Applications with Mozilla

List Price: $39.95
Our Price: $30.36
You Save: $9.59 (24%)
Shipping: This item ships for FREE with Super Saver Shipping.
SKU:

UK-14962812ZZF378tol

In Stock
Usually ships in 1 business days
Only 2 left in stock, order soon!

Note: Item may be sold and shipped by another company. Learn more.
Description:

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.

Product Details:
Author: David Boswell
Paperback: 480 pages
Publisher: O'Reilly Media
Publication Date: 2002-09
Language: English
ISBN: 0596000529
Product Length: 9.52 inches
Product Width: 6.84 inches
Product Height: 1.11 inches
Product Weight: 1.68 pounds
Package Length: 9.06 inches
Package Width: 7.01 inches
Package Height: 1.18 inches
Package Weight: 1.68 pounds
Average Customer Rating: based on 8 reviews
Customer Reviews:
Average Customer Review: 2.5 ( 8 customer reviews )
Write an online review and share your thoughts with other customers.


Most Helpful Customer Reviews

20 of 21 found the following review helpful:

2Extremely frustrating, like most Mozilla documentationDec 03, 2002
By S. Dutton "Sam Dutton"
It's doubtful that, on its own, Creating Applications with Mozilla would enable a developer -- even with a reasonable knowledge of JavaScript, HTML, CSS and C++ -- to do anything interesting with Mozilla. It certainly won't teach you how to create templates, package applications, or even use JSLib (which should be simple!), let alone write XBL or manipulate RDF files.

To be realistic, however, this book is often more handy than using Mozilla documentation online, and it has the usual high quality O'Reilly binding, paper, type design and layout. Buy it if someone else is paying or if you do a lot of Mozilla programming.

In a nutshell, the main problems I had with the book are as follows.

1. Technical writing should be judged in adversity -- how well it handles the hard stuff -- and on that count, this book fails miserably. When the going gets tough, the explanations become impenetrable and seem to be "preaching to the choir", assuming a deep knowledge of Mozilla programming. Even relatively simple concepts,such as the chrome URL, are poorly explained, and much of the sample code and technical reference material is, unnecessarily complex.

2. Much of the material is limited and incomplete: there are odd gaps in explanations, unenlightening overview sections (such as the description of using Perl with Mozilla), methods and properties listed with limited information (or no information) about their implementation, and incomplete references (such as the list of Mozilla CSS extensions). Crucial information (you can't manipulate datasources unless working via a chrome URL, for example) is often missing or buried.

3.There are numerous typos: misspellings, incorrect punctuation and errors in illustrations (at least three in figure 7-2 on page 181).

4. Code samples have errors and inconsistencies.

5. Much of the code and reference material is out of date (and was obsolete even before the print version was published).

6. The code examples are unfocused (there's too much emphasis on context) and don't always work (and didn't work online).

7. The index is often unhelpful and incomplete, without good conceptual indexing.

Mozilla programming is highly promising and, for the most part, not all that difficult once you know how, but finding accurate information about it is a tantalising process of trial and error. You have to rely on guesswork, intuition, word of mouth, limited or obsolete and inaccurate documentation, and the help of a very few (though extremely helpful) insiders available via the Mozilla newsgroups. Given that the project has been around for a few years now, I think that's unacceptable: I'd hate to see Mozilla wind up as a good technology that died for lack of decent documentation.

12 of 12 found the following review helpful:

3Good reference, but lacks real teaching value.Feb 01, 2003
By H. Scott Means
I happened to be experimenting with XUL and Mozilla at the time that I ran across this book, so I was very eager to get into it and see if it could help clarify some of the gaping holes in the existing XUL documentation within Mozilla. As an exhaustive reference to XUL and the associated technologies that are used to build Mozilla applications, it was very successful. As a higher level tutorial that explains the relationships between the different technologies and their uses, it was not quite as successful.

Chapters 1-6 lead the reader through the progressive steps required to build and package a Mozilla-based application. The authors create a demo application called xFly which is used as a test bed to show the different features of XUL, CSS, and JavaScript. By the end of Chapter 6, this application contains a tree control, a bunch of sample menus, and various other assorted UI widgets. But it doesn't really _do_ anything. Maybe I'm too picky, but I'd rather see an application that has some function, even if all it does is play tick-tack-toe. Then, to me at lease, it's much clearer how the different pieces would fit together in a "real-world" application.

Chapters 7-12 cover more exotic and difficult aspects of Mozilla
programming such as the Extensible Binding Language (XBL), XPCOM (Mozilla's component object model), and accessing web services from XUL applications. These chapters are very dense in technical details, with good references to online resources for further study. Overall, I found this book to be a very succinct source of accurate information about building applications with Mozilla. Its only weakness seems to be that it focuses too much on low-level implementation details without giving the reader (who may be new to the idea of XML-based GUI
application programming entirely) a good high-level overview of the benefits of this type of development and which technologies serve which purpose. Chapter 1 is the only chapter that explicitly addresses high-level application architecture, and it is only 8 pages long.

The bottom line is that this is a good reference book for people who already know how and why to build applications based on Mozilla, but a not-so-good introduction and tutorial for people who are completely new to the XUL-CSS-JavaScript paradigm of application development.

11 of 11 found the following review helpful:

3Leaping Lizards! This book needs serious retooling.Jul 11, 2004
By Tracy A. Mangold
I was always interested in creating my own apps for Mozilla. I had played around with some of the custom CSS files and peeked at the XUL files, and I wanted to learn more. I figured that buying this book would be a no-brainer because of the O'Reilly name and my good experiences with the ... Hacks series. This could of been a good book, but it seems like they were rushed to meet a publishing deadline. It starts out building a skeleton application (xFly) to explain the simpler concepts. One would expect that they would continue to flesh out the framework, and they would show how to add function to the various widgets. After Chapter 2, they abandon this idea. The examples they do provide don't work correctly. If you get the finished xFly demo program from mozdev.org, it does not work either. The site reads "This requires serious attention". I agree. This book is a good reference manual, but a poor tutorial. If you want a good tutorial on how to build Mozilla apps, try xulplanet.org instead. Co-incidentally, this entire book is available at the aforementioned site if you would like to preview this book for yourself before plunking down $40 to buy it.

10 of 11 found the following review helpful:

1An exercise in frustrationNov 23, 2002

The reviews sounded so upbeat. Lots of examples that work easily. Unfortunately the examples don't work. This is readily apparent in the first few chapters.

Visiting the book site at mozdev.org confirms that it is not just me. A multitude of readers complain that even the authors' Examples download is riddled with errors. Many readers offer some good suggestions there, although most sound extremely frustrated.

But there are no words of encouragement from the authors. I emailed them at the O'Reilly site, and one replied by suggesting that I search the web for help.

Too bad because I love Mozilla and have been looking forward to this book for a long time.

7 of 9 found the following review helpful:

4A very good bookDec 04, 2002

This book gives a solid grounding in the principles involved and acts as a primer to the nitty gritty of producing a XUL application. In practice, XUL is pretty easy but it's easy to be caught unawares which is where a book like this comes in. If you've ever wondered how to extend Mozilla with a new button, or why your chrome doesn't work, or why Mozilla ignores it, or how to write a new chrome application then this is the book for you. Learn the principles of XUL and things fall into place very easily.

I am puzzled that other reviewers claim XUL and Mozilla are not ready for mainstream since the fact that an entire browser, mail, chat, editor, JS debugger and hundreds more third party extensions and apps have been written using it demonstrates it is. It certainly needs tools and add robustness, but it is already a viable and strong technology for producing platform neutral applications.

It is well worth the money, however it should be revised to reflect the latest Mozilla developments. As an added bonus, the source for this book is actually online so you can evaluate it yourself at books.mozdev.org before buying it.

See all 8 customer reviews on Amazon.com

About Us   Contact Us
Privacy Policy Copyright © , Security Books. All rights reserved.
Web business powered by Amazon WebStore